Module

Bismuth.LibDef

Package
purescript-bismuth
Repository
justinwoo/purescript-bismuth

#Declarations Source

type Declarations = Array String

Extra declarations to be added to module definitions

#Exports Source

type Exports = StrMap String

All exported items of our exports

#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.