[Haskell-cafe] About understanding FunBind in haskell-src-exts.

Magicloud Magiclouds magicloud.magiclouds at gmail.com
Sat Dec 29 10:23:47 UTC 2018


Recently I am playing with haskell-src-exts to help understanding
Haskell syntax more. Then I got this question.

As top level declarations (the type Decl), TypeSig, PatBind are quite
straight forward, they mean one item in the source. But `FunBind l
[Match l]
`, I could not see it maps to "one item" in the source.

Apparently, the list of Match can hold a few non-related functions
with different names. Then why a FunBind to hold them together?


More information about the Haskell-Cafe mailing list