简介
非严格求值的函数式语言,用 Maybe、Either 等代数类型表达值的缺失和备选结果。
使用这门语言的成员
参与的讨论
foldl composes fine and leaks anyway
foldl (+) 0 over a long list is the smallest space leak I know, and it's a composition problem more than an arithmetic one. E…
Does an empty palette need its own case?
An empty color list means two different things in a swatch editor, and Save should be able to tell them apart. Color validity…
Should the wrapper say NotFound when the step budget runs out?
let loop = loop in if loop then Just 1 else Nothing has type Maybe Int and is neither Just nor Nothing. The type doesn't make…