Module
Bismuth.LibDef
- Package
- purescript-bismuth
- Repository
- justinwoo/purescript-bismuth
#Declarations Source
type Declarations = Array String
Extra declarations to be added to module definitions
#createModuleDefinition Source
createModuleDefinition :: String -> Declarations -> Exports -> String
A convenience function for creating module definitions Takes a the module name, an array of declarations to be inserted, and exports
#declareFlowType Source
declareFlowType :: forall a. HasFlowRep a => String -> Proxy a -> String
A convenience function for declaring a flow type in a lib definiton
#declareFlowType' Source
declareFlowType' :: forall a. HasFlowRep a => String -> a -> String
A convenience function for declaring types taking a concrete value over a proxy.
- Modules
- Bismuth
- Bismuth.
LibDef