servant/servant-docs/src/Servant/Docs
Nickolay Kudasov 80f235b986 Add default ToSample implementation for Generics
- introduce an internal `GToSample` class
- introduce internal functions `defaultSample` and `defaultSamples`
- add default signature for `toSamples` to use Generics
- set default `toSamples` implementation to `defaultSamples`
- remove the `MINIMAL` pragma to avoid warnings for empty instances
2015-09-19 01:15:18 +03:00
..
Internal.hs Add default ToSample implementation for Generics 2015-09-19 01:15:18 +03:00