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

Functional C

Name: Anonymous 2011-12-12 12:06

is it possible to write C in a functional manner?

Name: Anonymous 2011-12-13 6:44

>>16

It actually works though. The ?: syntax lets you create conditions that evaluate as expressions, and the (expression1, expression2, ..., expression_n) syntax is equivalent to lisp's: (begin expression1 expression2 ... expression_n), where each expression is evaluated one after the other and the value of the last expression_n is returned.

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