Template Haskell: simple way to "declare" type and instance

8 Dec
2017
8 Dec
'17
12:38 p.m.
Hello, All! Is any way similar to templates (like in Crystal language, Rust, etc) to create `data X = ...`, `instance Show ...`, etc in TH? I found this tutorial https://wiki.haskell.org/A_practical_Template_Haskell_Tutorial but all looks complicated. Or something like Lisp macros, may be some modern library? Like quasy-quotations but for `data` and `instance` declarations (I don't know is it possible even) ? === Best regards, Paul
2730
Age (days ago)
2730
Last active (days ago)
0 comments
1 participants
participants (1)
-
Baa