Zulip Chat Archive
Stream: lean4
Topic: Defining own Repr for an user-defined type
Mika (Aug 05 2022 at 15:56):
How do you define your own custom Repr for an user-defined type instead of just deriving it?
Henrik Böving (Aug 05 2022 at 16:27):
docs4#Repr is just a type class you can implement it however you wish
Mika (Aug 05 2022 at 16:37):
Where does this documentation come from? Until now I only used the sources from https://github.com/leanprover/lean4
Henrik Böving (Aug 05 2022 at 16:39):
It is generated by https://github.com/leanprover/doc-gen4
Mika (Aug 05 2022 at 16:41):
Okidoki, thanks :)
Last updated: Dec 20 2023 at 11:08 UTC