ami*_*dfv 5 lisp scheme haskell enumeration racket
Scheme/Racket的枚举表示法是否等同于Haskell中的[a..b]表示法? 在Haskell中,[1..5]评估为列表[1,2,3,4,5].
Eli*_*lay 10
(for/list ([i (in-range 1 6)]) i)
(sequence->list (in-range 1 6))
(require srfi/1) (iota 5 1)
归档时间:
14 年,8 月 前
查看次数:
1723 次
最近记录: