14 lines
233 B
Haskell
Raw Permalink Normal View History

2005-04-24 08:51:33 +00:00
{-# OPTIONS -fglasgow-exts #-}
-- ^ needed to derive Typeable
module API where
import Data.Dynamic
data Interface = Interface { field :: String }
deriving (Show)
rsrc :: Interface
rsrc = Interface { field = "default value" }