Commit graph

9 commits

Author SHA1 Message Date
Daniel Fabian
a8914380dc feat: add Ord and deriving instance for it.
For many data structures having an ordering is necessary. This one adds the `Ord` type class and a deriving handler for it. The ordering is based on order of constructors followed by lexicographical ordering within a constructor.
2021-04-03 21:27:26 -07:00
Daniel Fabian
fee3390dd1 feat: add Hashable deriving
add support for the `Hashable` deriving by combining structural
hashes over fields
2021-03-30 13:36:52 -07:00
Leonardo de Moura
65ffb15dff feat: add mkSizeOfHandler 2021-01-20 17:18:51 -08:00
Sebastian Ullrich
1f563695bb feat: From/ToJson derive handlers 2020-12-26 19:38:24 +01:00
Leonardo de Moura
d22c5cb1b0 feat: add deriving Repr 2020-12-18 14:19:43 -08:00
Leonardo de Moura
87b6385bea feat: add deriving DecidableEq 2020-12-17 17:30:23 -08:00
Leonardo de Moura
bad714f5e9 feat: add deriving BEq 2020-12-13 16:13:27 -08:00
Leonardo de Moura
ebd8680de8 feat: add Deriving/Inhabited.lean 2020-12-12 18:52:24 -08:00
Leonardo de Moura
fb175ccab7 feat: add Deriving.lean 2020-12-12 16:08:50 -08:00