vect changed the topic of #ocaml to: OCaml 3.07 ! -- Archive of Caml Weekly News: http://pauillac.inria.fr/~aschmitt/cwn, ICFP'03 http://www.icfpcontest.org/, A tutorial: http://merjis.com/richj/computers/ocaml/tutorial/, A free book: http://cristal.inria.fr/~remy/cours/appsem, Mailing List (best ml ever for any computer language): http://caml.inria.fr/bin/wilma/caml-list
clog has joined #ocaml
Kinners has joined #ocaml
Xolution has joined #ocaml
Kinners has left #ocaml []
clog has joined #ocaml
<carm> mellum: haha that will do it. good to know it was ocamls fault. if so, bug report it.
<carm> wasn't I mean
Kinners has joined #ocaml
lus|wazze has quit ["If we don't believe in freedom of expression for people we despise, we don't believe in it at all -- Noam Chomsky"]
Kinners has quit [Read error: 113 (No route to host)]
smkl has quit [tolkien.freenode.net irc.freenode.net]
teratorn has quit [tolkien.freenode.net irc.freenode.net]
teratorn has joined #ocaml
smkl has joined #ocaml
buggs is now known as buggs|afk
Xolution has quit ["The riot be the rhyme of the unheard."]
Herrchen has quit [Read error: 110 (Connection timed out)]
ez4 has quit []
jdmarshall has joined #ocaml
Herrchen has joined #ocaml
jdmarshall has quit ["ChatZilla 0.8.31 [Mozilla rv:1.4/20030624]"]
wuuru has joined #ocaml
<wax> wuuru: :)
<wuuru> wax: :-)
srv has joined #ocaml
karryall has joined #ocaml
two-face has joined #ocaml
srv has quit ["leaving"]
karryall has quit [Remote closed the connection]
durnew has quit ["reboot"]
karryall has joined #ocaml
karryall has quit [Remote closed the connection]
karryall has joined #ocaml
Kinners has joined #ocaml
mimosa has joined #ocaml
Defcon7 has quit [Read error: 60 (Operation timed out)]
Kinners has left #ocaml []
Defcon7 has joined #ocaml
phubuh has quit [Remote closed the connection]
gim has joined #ocaml
<Demitar> Ok, what am I missing? Doesn't this function only have optional arguments left?
<Demitar> This expression has type
<Demitar> ?cmdname:string ->
<Demitar> ?environment:Shell_sys.environment ->
<Demitar> ?descriptors:Unix.file_descr list -> Shell_sys.command
<Demitar> but is here used with type Shell_sys.command
owll has joined #ocaml
owll has quit [Read error: 54 (Connection reset by peer)]
<karryall> Demitar: that's why it's a good idea to put a non-labelled argument last (eg unit)
wuuru has quit [Read error: 54 (Connection reset by peer)]
<Demitar> karryall, but how can it happend? And since this isn't my code (a library) that's not a solution.
<karryall> what's the complete type of the function ?
<Demitar> val cmd :
<Demitar> ?cmdname:string ->
<Demitar> ?environment:Shell_sys.environment ->
<Demitar> ?descriptors:Unix.file_descr list ->
<Demitar> ?assignments:Shell.assignment list ->
<Demitar> name:string -> args:string list -> Shell_sys.command
<karryall> and how do you call it ?
<Demitar> Shell.cmd ~assignments:[Shell.stderr >& Shell.stdout] ~args:["-z6"; "update"; "-A"] ~name:"cvs"
<Demitar> (And then I pass it to another function in a list.)
<karryall> that's because _all_ arguments have labels
<karryall> default args are only defaulted when there's a non-labelled argument
<Demitar> Ah, it was complaining about me not using labels earlier, I'll fix that then.
<karryall> there is a compiler switch that modifies the behaviour of labels
<karryall> can't remeber what it does exactly though
* Demitar looks in the manual.
<karryall> usually you get a warning when compiling such a function
<karryall> This optional argument cannot be erased or smthg like that
<Demitar> Well, thanks for the help. -nolabels made it work eventually.
<two-face> hello all
<karryall> salut two-face
<two-face> salut karryall
<two-face> karryall: tu as lu le message de jacques au sujet des classes
<karryall> euh non
<karryall> ah si, sur caml-list il y a quelques temps ?
<two-face> oui
<karryall> oui je l'ai lu mais j'en sais pas plus
<karryall> ça a l'air intéressant
<two-face> je me demande si c'est l'equivalent de l'instanciation statique en C++
<karryall> hum, c'est-a-dire ? (je ne parles pas trés bien le C++)
<two-face> bah, une instanciation sans new
<two-face> dans la pile au lieu du tas
<two-face> quoique, pour ocaml, est-ce que ca a un sens? :)
<karryall> ben pas vraiment ;)
<two-face> same player play again :)
<karryall> je sais pas si ca aura des repercussions sur lablgtk
<two-face> hmm
vect has quit [Read error: 60 (Operation timed out)]
vect has joined #ocaml
systems has joined #ocaml
systems has left #ocaml []
vect has quit [Read error: 110 (Connection timed out)]
vect has joined #ocaml
karryall has quit ["reboot"]
dax has quit [Read error: 110 (Connection timed out)]
Hipo has joined #ocaml
lus|wazze has joined #ocaml
dax has joined #ocaml
mattam_ has joined #ocaml
mattam has quit [Read error: 110 (Connection timed out)]
two-face has quit ["Fermeture du client"]
kain__ has joined #ocaml
_Defcon7 has joined #ocaml
Defcon7 has quit [Read error: 113 (No route to host)]
_Defcon7 is now known as Defcon7
malc has joined #ocaml
arty has joined #ocaml
<arty> hey #ocaml, the SWIG release candidate is out (http://www.signal6.com/swig-1.3.20.tar.gz)
mattam_ is now known as mattam
phubuh has joined #ocaml
__buggs has joined #ocaml
buggs|afk has quit [Read error: 60 (Operation timed out)]
malc has quit [Read error: 110 (Connection timed out)]
karryall has joined #ocaml
__buggs is now known as buggs
arty has quit ["foo"]
phubuh has quit [Remote closed the connection]
skub has joined #ocaml
mimosa has quit ["I like core dumps"]