packages feed

tilia-0.2.0.0: corpora/vendored/cpp/declaration/class-where-behind-a-conditional-out'.hs

{-# LANGUAGE CPP #-}

module Shelf.Label where

class Shelved a
#ifdef WITH_LABELS
    where
    label :: a -> String
#endif

class Named a
#ifdef WITH_LABELS
    where
    label :: a -> String
#else
    where
    name :: a -> String
#endif