Add ~aeson~ template for Haskell

Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
Magic_RB 2023-09-16 19:32:24 +02:00
parent 2c047660fa
commit 0e24d304dd
2 changed files with 4 additions and 0 deletions

View file

@ -222,4 +222,6 @@
(s fname) " " (p "pattern") " = " (p "undefined"))
; guarded fn
(<- (p "x") " <- " (p "undefined"))
(aeson "instance A.ToJSON " (p "" type) " where" n
"instance A.FromJSON " type " where" q)
#+END_SRC

View file

@ -172,3 +172,5 @@ haskell-mode
(s fname) " " (p "pattern") " = " (p "undefined"))
; guarded fn
(<- (p "x") " <- " (p "undefined"))
(aeson "instance A.ToJSON " (p "" type) " where" n
"instance A.FromJSON " type " where" q)