packages feed

tilia-0.2.0.0: corpora/vendored/cpp/separator/commas-of-optional-items-in-a-branch-holding-a-conditional-out'.hs

{-# LANGUAGE CPP #-}

module Kiln.Shelves where

-- Items only some configurations have, in a branch that holds nothing but
-- a conditional of its own, come out with a comma each: after them where
-- they come first, and before them where they come last.
shelves :: [String]
shelves =
    [
#if defined(TOP_SHELF)
      "top",
#endif
#ifdef WIDE
#if WIDTH > 60
      "wide",
#endif
#endif
      "bottom"
    ]

posts :: [String]
posts =
    [ "corner"
#ifndef PORTABLE
#ifdef WIDE
#if WIDTH > 60
    , "middle"
#endif
#endif
    , "end"
#endif
    ]