mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-22 08:04:20 +01:00
Add ~aeson~ template for Haskell
Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
parent
2c047660fa
commit
0e24d304dd
|
@ -222,4 +222,6 @@
|
||||||
(s fname) " " (p "pattern") " = " (p "undefined"))
|
(s fname) " " (p "pattern") " = " (p "undefined"))
|
||||||
; guarded fn
|
; guarded fn
|
||||||
(<- (p "x") " <- " (p "undefined"))
|
(<- (p "x") " <- " (p "undefined"))
|
||||||
|
(aeson "instance A.ToJSON " (p "" type) " where" n
|
||||||
|
"instance A.FromJSON " type " where" q)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
|
@ -172,3 +172,5 @@ haskell-mode
|
||||||
(s fname) " " (p "pattern") " = " (p "undefined"))
|
(s fname) " " (p "pattern") " = " (p "undefined"))
|
||||||
; guarded fn
|
; guarded fn
|
||||||
(<- (p "x") " <- " (p "undefined"))
|
(<- (p "x") " <- " (p "undefined"))
|
||||||
|
(aeson "instance A.ToJSON " (p "" type) " where" n
|
||||||
|
"instance A.FromJSON " type " where" q)
|
||||||
|
|
Loading…
Reference in a new issue