News for hackers. Stuff that matters.
Re:Why functional programming matters (1990) [pdf] by codygman on Wednesday May 13, 2015 @03:17AM (#9537317)
> Purity: dead. All new languages have side-effects. The widely used FP languages like Haskell, Ocaml and F# have side-effects.

You don't consider Haskell to be pure? A big win of using monads for side effects was to keep purity right?

Re:Why functional programming matters (1990) [pdf] by tome on Wednesday May 13, 2015 @04:03AM (#9537445)
Before using the word "pure" it should be mandatory to define the sense in which you are using it. There are at least two senses, and people talk at cross purposes and get awfully antagonistic.

Sense (1): The return value of f can only depend on x, and not y (or anything else)

    x   = ...
    y   = ...
    ret = f x
Sense (2): A program written in the language can't interact with the outside world.