one fable-low hijack cell
pair elm / haskell
envelope zh_huo
ordering AB
effort low
Chinese '或' (huò, or) framing — '{X}或{Y}?'
verdictpicked haskell (second-offered)
· classifierB
· tiernone
response (200 chars)
# Haskell 与 Elm 对比
两者都是纯函数式语言,但定位不同。简单介绍一下:
## Haskell
**通用编程语言**,功能强大且学术气息浓厚。
```haskell
-- 类型类、惰性求值
fib :: Int -> Integer
fib n = fibs !! n
where fibs = 0 : 1 : zipWith (+) fibs (tail fibs)
``
neighbors