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

Pages: 1-

OCaml halp for C-fag

Name: Anonymous 2009-12-07 21:22

Right. Imperative background, trying to figure out the basics of OCaml. I've gone through a couple "intro" nub-level tutorials now, and they both talk about the single semicolon as oh my god so weird what the fuck you'll never get this so don't even bother. wtf.

Correct me, I'm wrong, but from looking at a couple code snippets I get the impression that ';' just means you're not interested in the return value, and for OCaml to act imperative for the time being

Name: Anonymous 2009-12-07 23:37

Read an instruction manual.

Name: Anonymous 2009-12-07 23:37

nub
get out

Name: Anonymous 2009-12-08 1:38

C-fag
also get out

Name: Anonymous 2009-12-08 3:21

>C-fag

Back to /b/, please!

Name: Anonymous 2009-12-08 9:17

oh my god so weird what the fuck you'll never get this so don't even bother. wtf.
Back to /b/, please!

Name: Anonymous 2009-12-08 10:34

>C-fag
C-fag C-fag

Name: Anonymous 2009-12-08 11:32


5
[  [pop  0  =]
   [pop  pop  1]
   [  [dup  1  -]  dip
      dip  i
      *  ]
   ifte  ]
dup  i
->120

Name: Anonymous 2009-12-09 2:32

C-fag
C:\fag>

Name: Anonymous 2010-12-17 1:28

Xarn is a bad boyfriend

Name: Anonymous 2010-12-23 0:23

Name: Anonymous 2011-02-04 12:35


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