packages feed

plugins-1.0: testsuite/pdynload/should_fail0/api/API.hs

{-# 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" }