Import hs-plugins cvs
This commit is contained in:
14
examples/make/simple/Tiny.hs
Normal file
14
examples/make/simple/Tiny.hs
Normal file
@ -0,0 +1,14 @@
|
||||
module Tiny ( resource, resource_dyn ) where
|
||||
|
||||
import API
|
||||
import Data.Dynamic
|
||||
|
||||
resource = tiny {
|
||||
|
||||
field = "hello strange world"
|
||||
|
||||
}
|
||||
|
||||
resource_dyn :: Dynamic
|
||||
resource_dyn = toDyn resource
|
||||
|
Reference in New Issue
Block a user