mbishop changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | Grab Ocaml 3.10.0 from http://caml.inria.fr/ocaml/release.html (featuring new camlp4 and more!)
jlouis_ has joined #ocaml
jlouis has quit [Read error: 110 (Connection timed out)]
eradman has quit [Remote closed the connection]
jlouis has joined #ocaml
jlouis has quit [Client Quit]
jlouis_ has quit [Read error: 110 (Connection timed out)]
jlouis has joined #ocaml
piggybox__ is now known as piggybox
db4n has joined #ocaml
yminsky has joined #ocaml
yminsky has quit []
<db4n> What's the OCaml equivalent of "show" in Haskell?
<db4n> How do you print an arbitrary complicated object?
_noteventime_ has quit ["Someone reprogrammed the connection in C++ :-O"]
<bluestorm_> db4n: you cannot
<bluestorm_> ocaml doesn't have ad-hoc polymorphism
<bluestorm_> GCaml, an OCaml variant, does
Ober_ has joined #ocaml
Ober has quit [Remote closed the connection]
Ober_ is now known as Ober
slipstream has quit [Read error: 110 (Connection timed out)]
slipstream has joined #ocaml
<db4n> bluestorm_: Thanks.
pantsd has quit [Read error: 110 (Connection timed out)]
seafoodX has joined #ocaml
yminsky has joined #ocaml
db4n has left #ocaml []
bluestorm_ has quit ["Konversation terminated!"]
slipstream has quit [Read error: 110 (Connection timed out)]
shawn has quit [Read error: 110 (Connection timed out)]
shawn has joined #ocaml
pantsd has joined #ocaml
yminsky has quit []
Smerdyakov has joined #ocaml
slipstream has joined #ocaml
many-legged has quit [Remote closed the connection]
shawn has quit [Connection timed out]
shawn has joined #ocaml
Smerdyakov has quit ["Leaving"]
qwwqe has quit ["Leaving"]
qwwqe has joined #ocaml
david_koontz has quit ["Leaving"]
thesoko has quit [Remote closed the connection]
thesoko has joined #ocaml
piggybox_ has joined #ocaml
ulfdoz has quit [anthony.freenode.net irc.freenode.net]
oracle1 has quit [anthony.freenode.net irc.freenode.net]
fean has quit [anthony.freenode.net irc.freenode.net]
Hadaka has quit [anthony.freenode.net irc.freenode.net]
rubenz has joined #ocaml
piggybox has quit [Read error: 110 (Connection timed out)]
<rubenz> Is there a function composition operator in OCaml like (.) in Haskell?
joshcryer has quit [Read error: 104 (Connection reset by peer)]
joshcryer has joined #ocaml
seafoodX has quit [Remote closed the connection]
seafoodX has joined #ocaml
pants1 has joined #ocaml
pantsd has quit [Read error: 110 (Connection timed out)]
oracle1 has joined #ocaml
fean has joined #ocaml
ulfdoz has joined #ocaml
Hadaka has joined #ocaml
piggybox has joined #ocaml
ulfdoz has quit [anthony.freenode.net irc.freenode.net]
oracle1 has quit [anthony.freenode.net irc.freenode.net]
fean has quit [anthony.freenode.net irc.freenode.net]
Hadaka has quit [anthony.freenode.net irc.freenode.net]
oracle1 has joined #ocaml
fean has joined #ocaml
ulfdoz has joined #ocaml
Hadaka has joined #ocaml
screwt8 has quit [Remote closed the connection]
piggybox_ has quit [Connection timed out]
bluestorm has joined #ocaml
ulfdoz has quit [anthony.freenode.net irc.freenode.net]
oracle1 has quit [anthony.freenode.net irc.freenode.net]
fean has quit [anthony.freenode.net irc.freenode.net]
Hadaka has quit [anthony.freenode.net irc.freenode.net]
screwt8 has joined #ocaml
oracle1 has joined #ocaml
fean has joined #ocaml
ulfdoz has joined #ocaml
Hadaka has joined #ocaml
love-pingoo has joined #ocaml
<flux> no, but you can do let (@.) a b c = a (b c)
robyonrails has joined #ocaml
krumms has joined #ocaml
<krumms> hi all - is it possible to nest modules such that I have (for example) Foo.Bar and Foo.Baz in the files Foo/Bar.ml and Foo/Baz.ml?
shawn has quit ["This computer has gone to sleep"]
<flux> no
<flux> well, not without intermediate modules such as FooBaz and FooBar which would be brought into module Foo with a module Foo = FooBar -statement
<bluestorm> hm
<bluestorm> wouldn't ocaml bar.cmo baz.cmo -pack -o foo.cmo do the job ?
<bluestorm> krumms: the directory structure won't get automatically replicated in modules
<bluestorm> but you can nest them
<bluestorm> i think -pack can be used to replicate the directory hierarchy
love-pingoo has quit ["Connection reset by pear"]
<flux> hm, that's right, some packages do that, I've never used it
oplalo has joined #ocaml
joshcryer has quit [Read error: 104 (Connection reset by peer)]
rubenz has quit ["using sirc version 2.211+KSIRC/1.3.12"]
joshcryer has joined #ocaml
oplalo has left #ocaml []
oplalo has joined #ocaml
jlouis_ has joined #ocaml
jlouis has quit [Read error: 110 (Connection timed out)]
<krumms> bluestorm: yeah, that's great. Thanks!
<bluestorm> you're welcome
<krumms> is ocaml still under active development?
pants1 has quit [Read error: 110 (Connection timed out)]
pants1 has joined #ocaml
bluestorm has quit ["Konversation terminated!"]
shawn has joined #ocaml
<flux> yes, not long ago ocaml 3.10.0 was released
kig has quit ["moving"]
Smerdyakov has joined #ocaml
slipstream-- has joined #ocaml
oplalo has left #ocaml []
slipstream has quit [Read error: 110 (Connection timed out)]
screwt8 has quit [Remote closed the connection]
screwt8 has joined #ocaml
Smerdyakov has quit ["Leaving"]
seafoodX_ has joined #ocaml
seafoodX has quit [Read error: 104 (Connection reset by peer)]
Gibbor_Sick has joined #ocaml
eradman has joined #ocaml
leo037 has joined #ocaml
Gibbor_Sick has left #ocaml []
shawn has quit ["This computer has gone to sleep"]
ygrek has joined #ocaml
TFK has joined #ocaml
<TFK> Howdy folks. Is there a magic function that takes a value of an enumerated type, say "type months = January | ... | December ;;" and return an integer, and vice versa, like C's enum?
thesoko has quit [Remote closed the connection]
<flux> infact, there IS a magic function that can do just that, but you better avoid it
thesoko has joined #ocaml
<flux> I think some camlp4 extension that can generated such functions
<flux> but I just do let int_of_month = function January -> 1 | February -> 2 .. etc
<TFK> one-time generation or special syntax that gets compiled away?
<flux> what?
<flux> camlp4 is involved in the compilation process
<TFK> n/m, thank you :-)
<flux> magic is a potential source of bugs
<flux> this url appears to answer your question: http://www.nabble.com/C-like-macros-in-OCaml-t3985074.html
* TFK nods
screwt8 has quit [Read error: 104 (Connection reset by peer)]
Nheryvra has joined #ocaml
lde has quit [Read error: 110 (Connection timed out)]
cjeris has joined #ocaml
rillig has joined #ocaml
kniv7s has joined #ocaml
Nheryvra has quit []
kowey has joined #ocaml
pants1 has quit [Read error: 110 (Connection timed out)]
pango has quit [Remote closed the connection]
TFK has quit [Read error: 110 (Connection timed out)]
deatheye has quit ["さようなら"]
pants1 has joined #ocaml
robyonrails has quit [Connection timed out]
pango has joined #ocaml
thesoko has quit [Remote closed the connection]
thesoko has joined #ocaml
shawn has joined #ocaml
lde has joined #ocaml
joshcryer has quit [Read error: 110 (Connection timed out)]
leo037 has quit ["Leaving"]
seafoodX_ has quit []
david_koontz has joined #ocaml
rumpl has joined #ocaml
Submarine has joined #ocaml
EliasAmaral has quit [Remote closed the connection]
Submarine has quit ["in Soviet Russia, Céline Dion owns you"]
kowey has quit []
<mbishop> Who are the Caml Riders?
magnus__ has joined #ocaml
<jlouis_> mbishop: hehe
<jlouis_> mbishop: http://www.lri.fr/~filliatr/icfp-2006/ was last years team
<mbishop> can't say I recognize any of those names heh
<jlouis_> mbishop: We are laying pretty low at the moment. Still working on getting a simulator
<mbishop> well good luck :P
<jlouis_> mbishop: well, we have the build-phase with a non-optimized version and are going for build now
<jlouis_> ehm
<jlouis_> we have the 1st phase and are working on the 2nd from RNA -> Image
<mbishop> BTW I think #oasis is like, the main channel for the icfp stuff this year
<jlouis_> mbishop: heh ;)
ygrek has quit [Remote closed the connection]
qwwqe has quit ["Leaving"]
cjeris has quit [Read error: 104 (Connection reset by peer)]
rumpl has quit ["Ex-Chat"]
shawn has quit ["This computer has gone to sleep"]
rillig has quit ["exit(EXIT_SUCCESS)"]
mbishop has quit [Read error: 113 (No route to host)]
leo037 has joined #ocaml
martin_ has joined #ocaml
martin_ is now known as mbishop
screwt8 has joined #ocaml
rumpl has joined #ocaml
rumpl has quit ["Ex-Chat"]
smimou has quit ["bli"]
gaja has quit ["leaving"]
gaja has joined #ocaml
kniv7s has quit [Read error: 110 (Connection timed out)]
Submarine has joined #ocaml