Update examples

This commit is contained in:
Don Stewart
2005-09-03 04:45:14 +00:00
parent 5321754614
commit dff0363224
421 changed files with 19 additions and 9 deletions

View File

@ -0,0 +1,10 @@
{-# OPTIONS -fglasgow-exts #-}
module API where
data Null = Null { a, b :: Int }
deriving Show
plugin :: Null
plugin = Null { a = 42 , b = 1 }

View File

@ -0,0 +1,18 @@
Package {
name = "api",
auto = False,
import_dirs = [ "${PREFIX}" ],
library_dirs = [ "${PREFIX}" ],
hs_libraries = [ "HSapi" ],
include_dirs = [],
c_includes = [],
source_dirs = [],
extra_libraries = [],
package_deps = [],
extra_ghc_opts = [],
extra_cc_opts = [],
extra_ld_opts = []
}