
29 Dec
2018
29 Dec
'18
5:23 a.m.
Hi, 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? -- 竹密岂妨流水过 山高哪阻野云飞