generics-eot¶
generics-eot
is a library for datatype generic programming that tries to be
very simple to understand and use. It’s heavily inspired by the awesome
generics-sop
package (http://hackage.haskell.org/package/generics-sop).
Links:¶
github: | https://github.com/soenkehahn/generics-eot |
hackage: | http://hackage.haskell.org/package/generics-eot |
stackage: | https://www.stackage.org/package/generics-eot |
readthedocs: | https://generics-eot.readthedocs.io/ |
Tutorial:¶
generics-eot
tutorial- 1st Example: Meta Information Without Types: Field Names
- The
Generic
instance: Don’t forget!!! Eot
: Isomorphic representations- 2nd Example: Deconstructing Values: Serialization
- 3rd Example: Constructing Values: Deserialization
- 4th Example: Meta Information with types: generating SQL schemas
- DefaultSignatures