-
Add decoders for fields, so that we don't have to hardcode generation logic in the macro code
- This is interesting because it would be nice to be able to add some sort of validation to custom type…
-
When I first started rtype, I was tempted to just steal Haskell's Hindley-Milner type annotations and just start using them, but I saw several problems with that:
1. Haskell types are all curry all…
-
This might belong in another library (although I think the typeclasses and base impls might belong in relude core), but it would be cool to have a consistent answer to encoding and decoding JSON for a…
-
Hi! Would it make sense to add a cats integration module, and provide derived instances for Show, Eq and Hash?
I could provide a PR if it makes sense.
-
### Prerequisites
* [x] Put an X between the brackets on this line if you have done all of the following:
* Checked that your issue isn't already [filed](https://github.com/leanprover/lean4/is…
-
This is a task list ticket of work to be done (Or not, depending on whether it's deemed important).
Extractors:
Allows you extract key information from the structure.
- [x] Defns (And subclas…
-
-
Say I am looking for an "applicative functor type", and I don't know its name. Now, they typically have a `map2`, an `andMap` or an `apply` function, so I can search for the name. But I really want to…
-
Version: 2.14.0.0
Stack LTS: 19.5
Take the following typeclass:
```
class Pointless a b where
lol :: a -> b -> ()
lol = const $ const ()
```
This could be derived as follows:
…
-
The type Int has two default typeclasses:
- the `Lattice` instance is provided by `IntIsBitString`,
- the `Order` instance is provided by `IntAlgebra`,
but these two instances are not compatible.
Th…