Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
General switches for the code generation, such as generating profunctor-lenses or not
Synopsis
- data Settings = Settings {}
- data ForeignOptions = ForeignOptions {}
- defaultSettings :: Settings
- purs_0_11_settings :: Settings
- type Switch = Endo Settings
- getSettings :: Switch -> Settings
- defaultSwitch :: Switch
- noLenses :: Switch
- genLenses :: Switch
- useGen :: Switch
- useGenRep :: Switch
- genForeign :: ForeignOptions -> Switch
- noForeign :: Switch
Documentation
General settings for code generation
Settings | |
|
data ForeignOptions Source #
Instances
Eq ForeignOptions Source # | |
Defined in Language.PureScript.Bridge.CodeGenSwitches (==) :: ForeignOptions -> ForeignOptions -> Bool # (/=) :: ForeignOptions -> ForeignOptions -> Bool # | |
Show ForeignOptions Source # | |
Defined in Language.PureScript.Bridge.CodeGenSwitches showsPrec :: Int -> ForeignOptions -> ShowS # show :: ForeignOptions -> String # showList :: [ForeignOptions] -> ShowS # |
defaultSettings :: Settings Source #
Settings to generate Lenses
purs_0_11_settings :: Settings Source #
settings for purescript 0.11.x
getSettings :: Switch -> Settings Source #
Translate switches into settings
defaultSwitch :: Switch Source #
Default switches include code generation for lenses
genForeign :: ForeignOptions -> Switch Source #