News for hackers. Stuff that matters.
Re:Why functional programming matters (1990) [pdf] by dllthomas on Thursday May 07, 2015 @10:26AM (#9505235)
No, that statement evaluates to a pure value of type int. In the process, it does something else as well that effects the visible behavior of the program.

The C equivalent of

    putStrLn "hello"
is probably actually

    void putsHello(void) {
        puts("hello");
    }
Unfortunately, function definitions aren't something you can really manipulate at runtime in C.

There are no comments on this comment yet.