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

Haskell camelCase

Name: Anonymous 2010-04-14 14:28

Haskell has support for function_names_with_underscores. Why the fuck do people use PIG DISGUSTING camelCase?

Name: Anonymous 2010-04-16 15:14

>>47
Actually, there are two syntax errors, but they are on lines 4 and 12. Here is the same program without syntax errors and in the recommended style
make-fn fact with args x
   body
      make-fn fact-iter with args n i
         body
            if equals i 0 then
               return n nruter
               neth
               else
                  call fact-iter (times n i) (subtract i 1) llac
               esle
            fi
         ydob
      i n reti-tcaf nf-ekam

    call fact-iter x 0 llac
   ydob
x sgra htiw tcaf nf-ekam

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