purescript-bridge-0.12.0.0: Generate PureScript data types from Haskell data types

Safe HaskellNone
LanguageHaskell2010

Language.PureScript.Bridge.Printer

Synopsis

Documentation

data Module (lang :: Language) Source #

Constructors

PSModule 

Instances

Show (Module lang) Source # 

Methods

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

show :: Module lang -> String #

showList :: [Module lang] -> ShowS #

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

Given a Purescript type, generate `derive instance` lines for typeclass instances it claims to have.

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