由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
_FunctionalProgramming版 - What is purity.
相关主题
什么是函数式语言主要几个球队风格和编程语言的对比 (转载)
你用什麼FP?[合集] 主要几个球队风格和编程语言的对比 (转载)
最有潛力的 FP国内学计算机的伤不起啊!!!伤不起!!!!!! (转载)
就FP而言lisp是不是已经很完美了,不说纯不纯主要几个球队风格和编程语言的对比 (转载)
Clojure主要几个球队风格和编程语言的对比
学程序设计语言是一种状态主要几个球队风格和编程语言的对比 (转载)
Twitter最应该裁的人是那个主张用scala的所谓的tech leadHow to Parsing function in Haskell?
面试准备用haskell,scala 或者lisp想学函数语言和高层次抽象的同学看过来
相关话题的讨论汇总
话题: purity话题: what话题: haskell话题: lisp话题: setq
1 (共1页)
b***e
发帖数: 1419
1
I heard people talking about purity all the time, but I wonder whether the
true concern of purity in a formal sense. For instance, can anyone tell
exactly whey is Haskell is said to be purer than Lisp?
E*****m
发帖数: 25615
2
One word: setq
b***e
发帖数: 1419
3
But Haskell has writeVar as well, which is not so far from setq.
r***u
发帖数: 241
4
Did you mean writeIORef?

【在 b***e 的大作中提到】
: But Haskell has writeVar as well, which is not so far from setq.
b***e
发帖数: 1419
5
Yes.
E*****m
发帖数: 25615
6
I thought Monads isolate these impure features?

【在 b***e 的大作中提到】
: But Haskell has writeVar as well, which is not so far from setq.
r*******n
发帖数: 3020
7
u mean pure features belong to haskel, and impure features don't, although
ones have to use them;
so haskel is pure.

【在 E*****m 的大作中提到】
: I thought Monads isolate these impure features?
E*****m
发帖数: 25615
8
No, I was just asking a question which I don't know the answer.
I don't know enough about Haskell.

【在 r*******n 的大作中提到】
: u mean pure features belong to haskel, and impure features don't, although
: ones have to use them;
: so haskel is pure.

1 (共1页)
相关主题
想学函数语言和高层次抽象的同学看过来Clojure
有哪些公司用Lisp开发程序学程序设计语言是一种状态
How to Parsing function in haskell?Twitter最应该裁的人是那个主张用scala的所谓的tech lead
各种语言程序猿被鄙视级别排序 (转载)面试准备用haskell,scala 或者lisp
什么是函数式语言主要几个球队风格和编程语言的对比 (转载)
你用什麼FP?[合集] 主要几个球队风格和编程语言的对比 (转载)
最有潛力的 FP国内学计算机的伤不起啊!!!伤不起!!!!!! (转载)
就FP而言lisp是不是已经很完美了,不说纯不纯主要几个球队风格和编程语言的对比 (转载)
相关话题的讨论汇总
话题: purity话题: what话题: haskell话题: lisp话题: setq