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

omf airlang

Name: Anonymous 2009-06-30 20:33

Well now. I am perusing an Erlang tutorial, and being used to Haskell (I am an academic) its erratic and disturbing use of scope is quite fascinating. It also worries me that, like Python, it makes only one (semantic) distinction between lists and tuples: You do not have to know the length of the former when trying to pattern match against it. Ironically, because the language is dynamically typed, I may still write a function as follows:

bafflement({Car, Cdr}) ->
    two;
bafflement({Cadr, Eval, Apply}) ->
    three;
bafflement({Car, Cdr, Eval, Apply}) ->
    four;
bafflement(Etc) ->
    a_lot.

By the by, comrades, I pronounce it like "air lang." Do you say "ur lang?"

Name: Anonymous 2009-07-01 23:27

>>15
"early" as in /ˈɜɹli/.
not /ˈə̹ɹli/ or /ˈɛɹli/.

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