Open itsfarseen opened 4 years ago
Oof, that's rough. Things get a little better if you avoid the list type, but that's not practical.
# cat issue-307.hs
doFuncDefine
:: Type1
-> String
-> [SpanW (String, Type1)]
-> Span
-> [Func]
-> Either Error (t Func -- Funcs Table with this function added in
,t Symbol -- Local Symbol Table
,t Stmt -> t Func -- Return function
)
# brittany issue-307.hs
doFuncDefine
:: Type1
-> String
-> [SpanW (String, Type1)]
-> Span
-> [Func]
-> Either Error (t Func -- Funcs Table with this function added in
, t Symbol -- Local Symbol Table
, t Stmt -> t Func) -- Return function
Paste this into: https://hexagoxel.de/brittany/
Outputs: