Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module shows how to use Template Haskell to generate optics (lenses, prisms, and isos) for the rules in your grammar. You will want to look at the source code, as the Haddocks will show the generated types but it will not show the Template Haskell used to generate them.
Documentation
r'CityLine'6'Newline'Opt :: forall t a. Lens' (CityLine t a) (Newline'Opt t a) Source #
r'SpaceSuffix'1'Suffix :: forall t a. Lens' (SpaceSuffix t a) (Suffix t a) Source #
r'SpaceSuffix'0'Space :: forall t a. Lens' (SpaceSuffix t a) (Space t a) Source #
r'DirectionSpace'1'Space :: forall t a. Lens' (DirectionSpace t a) (Space t a) Source #
r'DirectionSpace'0'Direction :: forall t a. Lens' (DirectionSpace t a) (Direction t a) Source #
r'StreetLine'5'Separator :: forall t a. Lens' (StreetLine t a) (Separator t a) Source #
r'StreetLine'4'SpaceSuffix'Opt :: forall t a. Lens' (StreetLine t a) (SpaceSuffix'Opt t a) Source #
r'StreetLine'3'StreetName :: forall t a. Lens' (StreetLine t a) (StreetName t a) Source #
r'StreetLine'2'DirectionSpace'Opt :: forall t a. Lens' (StreetLine t a) (DirectionSpace'Opt t a) Source #
r'StreetLine'1'Space :: forall t a. Lens' (StreetLine t a) (Space t a) Source #
r'StreetLine'0'Number :: forall t a. Lens' (StreetLine t a) (Number t a) Source #
r'CommaSpace'1'Space :: forall t a. Lens' (CommaSpace t a) (Space t a) Source #
r'CommaSpace'0'Comma :: forall t a. Lens' (CommaSpace t a) (Comma t a) Source #
_Separator'CommaSpace :: forall t a. Prism' (Separator t a) (CommaSpace t a) Source #
r'PreSpacedWord'1'PostalWord :: forall t a. Lens' (PreSpacedWord t a) (PostalWord t a) Source #
r'PreSpacedWord'0'Space :: forall t a. Lens' (PreSpacedWord t a) (Space t a) Source #
r'PostalWord'1'Letters :: forall t a. Lens' (PostalWord t a) (Letters t a) Source #
r'PostalWord'0'Letter :: forall t a. Lens' (PostalWord t a) (Letter t a) Source #
r'Words'1'PreSpacedWord'Star :: forall t a. Lens' (Words t a) (PreSpacedWord'Star t a) Source #
r'Words'0'PostalWord :: forall t a. Lens' (Words t a) (PostalWord t a) Source #
r'Address'1'StreetLine :: forall t a. Lens' (Address t a) (StreetLine t a) Source #