packages feed

tilia-0.2.0.0: corpora/vendored/cpp/directive/labels-named-like-directives-out'.hs

{-# LANGUAGE CPP #-}
{-# LANGUAGE OverloadedLabels #-}

-- | Labels named like directives, which cpp leaves alone where they do not
-- open their line.
module Record.Fields (columns, defined) where

#if MIN_VERSION_base(4,10,0)
import GHC.OverloadedLabels (IsLabel (..))
#endif

columns :: [Column]
columns =
    [ #line
    , #if
    , #else
    ]

defined :: Column -> Bool
defined =
    hasValue
        #define