purescript-bridge-0.15.0.0: Generate PureScript data types from Haskell data types
Safe HaskellSafe-Inferred
LanguageHaskell2010

Language.PureScript.Bridge.Printer

Synopsis

Documentation

data Module (lang :: Language) Source #

Constructors

PSModule 

Instances

Instances details
Show (Module lang) Source # 
Instance details

Defined in Language.PureScript.Bridge.Printer

Methods

showsPrec :: Int -> Module lang -> ShowS #

show :: Module lang -> String #

showList :: [Module lang] -> ShowS #

data ImportLine Source #

Constructors

ImportLine 

Instances

Instances details
Show ImportLine Source # 
Instance details

Defined in Language.PureScript.Bridge.Printer

instances :: Settings -> SumType 'PureScript -> [Text] Source #

Given a Purescript type, generate instances for typeclass instances it claims to have.

unlessM :: Monad m => m Bool -> m () -> m () Source #