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 20:00

>>48
You forgot that TROLLGOL compiler doesn't do TCO automatically yet. This version will be much faster on the latest version:
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
                  #<ifdef __supported_tailcall>
                      tailcall fact-iter (times n i) (subtract i 1) liatllac
                  #<else>
                      call fact-iter (times n i) (subtract i 1) llac
                  #</fedfi>
               esle
            fi
         ydob
      i n reti-tcaf nf-ekam

    #<ifdef __supported_tailcall>
        call fact-iter x 0 llac
    #<else>
        tailcall fact-iter x 0 liatllac
    #</fedfi>
   ydob
x sgra htiw tcaf nf-ekam

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