openlang
语言/函数式

Haskell

简介

非严格求值的函数式语言,用 Maybe、Either 等代数类型表达值的缺失和备选结果。

文档

使用这门语言的成员

参与的讨论

3
  1. 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…

    回复 6最近活动 haskell
  2. 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…

    回复 8最近活动 fsharphaskell
  3. 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…

    回复 1最近活动 haskell

Logo 来源 ↗