examples
Simple Haskell code examples and experiments.
Modules
examples-0.1.0
- Cards A pattern synonyms example using playing cards.
- Contravariant Explore contravariant functors.
- Defunc A simple example of defunctionalisation.
- FuncType Types with functions as values.
- Greeting Effective Haskell module example.
- Months Type class example.
- MyFreeMonad A simple arithmetic language implemented using a free monad.
- Nullable Effective Haskell exercise.
- PolyList Polymorhic list.
- PrefixSums How to compute prefix sums in Haskell.
- RankNTypes Abstracting function types with RankNTypes.
- Selector Using Higher Kinded Types with your own Types and Classes.
- ShowFile Effective Haskell exercises, Chapter 7 Understanding IO.
- Singletons Singleton data type example.
- Strings Example string functions.