Uladzimir Stsepchanka
Uladzimir Stsepchanka
Works only for the following representations: * Single nullary constructor By default encodes constructor name * Sum with nullary or unary constructors Encoding is similar to 'UntaggedValue' encoding from 'aeson'
There is an API for deriving ToRecord/FromRecord instances, but none for ToField/FromField. I looked through opened and closed issues and was unable to find any discussion regarding this. Are there...
Sketched up the solution. It implies changes to core parser type, but tried to keep changes to API as minimal as possible. Atm it lacks necessary changes to parser docs...
On older GHCs (e.g. 8.8.4) shortcuts with '!' does not work ``` $ ghci GHCi, version 8.8.4: https://www.haskell.org/ghc/ :? for help Prelude> :r! unknown command ':r!' use :? for help....
Removes garbage '^H' symbols from output Before: ``` Progress 0/7 foo > build (lib) Progress 0/7 bar > build (lib) Progress 0/7 baz > build (lib) ``` After ``` foo...
Instead of deriving instances for all datatype variables iterate over constructors generating instances based on how variables are used. Does the right thing in cases like * Phantom type variables...