<Smerdyakov>
drworm, that depends on the context. I use 'when' when it saves duplication of code.
cjohnson has quit ["Drawn beyond the lines of reason"]
kinners has quit ["leaving"]
yeoh has joined #ocaml
yeoh has left #ocaml []
jdmarshall has joined #ocaml
buggs|afk has joined #ocaml
buggs^z has quit [Connection timed out]
musasabi has joined #ocaml
<musasabi>
Does ocaml support variable length argument lists?
<Smerdyakov>
There are default argument values and labeled arguments.
<musasabi>
yes I know... But for a variable length list just pass a list?
<Smerdyakov>
That would be one way to get a similar effect.
jdmarshall has quit ["ChatZilla 0.9.52B [Mozilla rv:1.6/20040113]"]
bk_ has joined #ocaml
musasabi has left #ocaml []
lam has quit ["leaving"]
<pattern>
"In the tenth century...the Grand Vizier of Persia, Abdul Kassem Ismael, in order not to part with his collection of 117,000 volumes when travelling, had them carried by a caravan of four hundred camels trained to walk in alphabetical order."
kinners has joined #ocaml
lam has joined #ocaml
lam has quit [Read error: 60 (Operation timed out)]
lam has joined #ocaml
lam has quit [Client Quit]
<Maddas>
pattern: haha
<pattern>
:)
<Maddas>
Sounds much more interesting than just using a computer
lam has joined #ocaml
gim has joined #ocaml
wazze has joined #ocaml
systems has joined #ocaml
systems has left #ocaml []
kinners has quit ["leaving"]
phj has joined #ocaml
<phj>
How to create a thread in ocaml 3.07 ?
<mattam>
Thread.create ? has it changed ?
<phj>
mattam: error msg :"Unbound value threads"
<phj>
Should load anything before I use threads?
<mattam>
you've got to tell ocaml you use threads somehow
<mattam>
ocamlc -thread for ex. iirc
<phj>
I use sharpload "threads/threads.cma" in toplevel of ocaml.
<mattam>
hmm, i didn't ever use threads in the toplevel, i'm sorry i've got no idea about this issue.
<phj>
mattam: I tested it with command: ocamlc -thread unix.cma threads.cma some_file.ml
<phj>
it function.
<phj>
Isn't there thread support in toplevel?
<mattam>
probably not, i really don't know.
<phj>
I used ocamlmktop -thread -custom -o threadtop unix.cma threads.cma -cclib -lthreads to generate a new toplevel which "support" threads.but it didn't function.
The-Fixer has quit [Read error: 60 (Operation timed out)]