Safe Haskell | None |
---|---|
Language | Haskell2010 |
Pretty-printing functions for Encoder.elm
module.
Also contains encoders for common types which go to the ElmStreet.elm
module.
Synopsis
- prettyShowEncoder :: ElmDefinition -> Text
- encodeMaybe :: Text
- encodeEither :: Text
- encodePair :: Text
- encodeTriple :: Text
Documentation
Standard missing encoders
encodeMaybe :: Text Source #
JSON
encoder Elm help function for Maybe
s.
encodeEither :: Text Source #
JSON
encoder Elm help function for Either
s.
encodePair :: Text Source #
JSON
encoder Elm help function for 2-tuples.
encodeTriple :: Text Source #
JSON
encoder Elm help function for 3-tuples.