Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C is a functional language

Name: Anonymous 2018-11-11 13:47

Name: Anonymous 2018-11-11 13:48

just implement a compiler in preprocessor macros

Name: Anonymous 2018-11-11 13:49

#include <void.h>

ok.

Name: Anonymous 2018-11-11 14:57

Name: Anonymous 2018-11-11 16:22

Back to /g/

Name: Anonymous 2018-11-11 16:25

No closures -> not functional.

Name: Anonymous 2018-11-11 17:10

>>6
C++ is a functional language

Name: Anonymous 2018-11-11 17:39

>>7
Does it have closures?

Name: Anonymous 2018-11-11 18:18

>>8
Yes. Officially since C++11, and C++ had objects all along which are equivalent to closures.

Name: Anonymous 2018-11-12 6:31

Name: Anonymous 2018-11-12 7:00

Why are C programmers always obnoxious? C++ programmers are annoying but ignorable.

Name: Anonymous 2018-11-12 7:04

>>10
C preprocessor is functional, in effect. But it requires doing arcane tricks to force it to work:
Notice the test for each number required a separate line of code.
http://void.wikidot.com/isdefined-h

Name: Anonymous 2018-11-15 5:05

Name: Anonymous 2018-11-16 2:42

By the power of the Y combinator I send >>1 to the land of Java!

Name: Anonymous 2018-11-16 8:05

>>14
Y combinator does not type check under any sound type system.

Name: Anonymous 2018-11-18 1:45

how do you do lazy evaluation with this?

Name: Anonymous 2018-11-18 14:23

>>16
lol

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List