mfp changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 3.11.2 released | Inscription for OCaml Meeting 2010 is opened http://wiki.cocan.org/events/europe/ocamlmeetingparis2010
InfamousCow has joined #ocaml
InfamousCow has quit [Quit: leaving]
slash_ has quit [Quit: leaving]
bjorkintosh has quit [Quit: Leaving]
<travisbrady> orbitz: haven't heard anything re: ocaml, but there is a haskell one http://hackage.haskell.org/package/mongoDB-0.1 you might look to for ideas
yakischloba has quit [Quit: Leaving.]
tmaedaZ is now known as tmaeda
Alpounet has quit [Quit: ``Do what you think you can't do.'']
boscop has quit [Read error: Connection reset by peer]
Alpounet has joined #ocaml
bjorkintosh has joined #ocaml
ikaros has quit [Quit: Leave the magic to Houdini]
tmaeda is now known as tmaedaZ
maskd has quit [Quit: left]
Drk-Sd has quit [Quit: dodo]
dark has quit [Ping timeout: 276 seconds]
dark has joined #ocaml
travisbrady has quit [Quit: travisbrady]
travisbrady has joined #ocaml
dark has quit [Ping timeout: 260 seconds]
thrasibule has joined #ocaml
dark has joined #ocaml
travisbrady has quit [Read error: Operation timed out]
valross has quit [Remote host closed the connection]
travisbrady has joined #ocaml
brendan has quit [Quit: leaving]
brendan has joined #ocaml
mjonsson has quit [Quit: Leaving]
caligula__ has joined #ocaml
caligula_ has quit [Ping timeout: 276 seconds]
bzzbzz has quit [Quit: leaving]
mal`` has quit [Quit: Coyote finally caught me]
mal`` has joined #ocaml
mal`` has quit [Remote host closed the connection]
mal`` has joined #ocaml
Amorphous has quit [Read error: Operation timed out]
threeve has quit [Quit: ZNC - http://znc.sourceforge.net]
Amorphous has joined #ocaml
thrasibule has quit [Ping timeout: 248 seconds]
KwangYul_ has joined #ocaml
KwangYul_ has left #ocaml []
ulfdoz has joined #ocaml
joewilliams is now known as joewilliams_away
smimou has quit [Ping timeout: 246 seconds]
smimou has joined #ocaml
travisbrady has quit [Quit: travisbrady]
ski_ has joined #ocaml
ulfdoz has quit [Read error: Operation timed out]
Yoric has joined #ocaml
avsm has joined #ocaml
avsm has quit [Client Quit]
avsm has joined #ocaml
Modius has quit [Quit: I'm big in Japan]
avsm has quit [Quit: Leaving.]
Yoric has quit [Quit: Yoric]
_zack has joined #ocaml
Associat0r has quit [Quit: Associat0r]
naufraghi has joined #ocaml
lokydor has joined #ocaml
Gooffy has joined #ocaml
tmaedaZ is now known as tmaeda
tmaeda is now known as tmaedaZ
avsm has joined #ocaml
_zack has quit [Quit: Leaving.]
maskd has joined #ocaml
<Gertm> I get this error message when trying to use the input function on an in_obj_channel, Exception: Invalid_argument "input". What does it mean? I'm using the exact arguments specified in the documentation
<flux> no idea, but perhaps you can give us a test case we could try
rwmjones has left #ocaml []
rwmjones has joined #ocaml
slash_ has joined #ocaml
pimmhogeling has joined #ocaml
<Gertm> good idea
<Gertm> http://www.pastebin.org/90569 feel free to give me suggestions on coding style in general aswell
<flux> let str = String.create size in
<flux> string length is immutable, so you need to have a string of proper length before giving it to it
<flux> Invalid_argument exceptions always refer to 'logic errors' such as this
<flux> in general the style seems fine
<flux> you don't need ;; at the end of the opens in the beginning, btw
<flux> also, get_size_of_mail_nr is misindented :
<flux> :)
derdon has joined #ocaml
ikaros has joined #ocaml
pimmhogeling has quit [Ping timeout: 256 seconds]
mfp has quit [Remote host closed the connection]
mfp has joined #ocaml
Drk-Sd has joined #ocaml
<Gertm> ah yes, it is indeed
seafood has joined #ocaml
<Gertm> thanks for the help flux
<flux> gertm, btw, the test case could've been much reduced, by replacing all the rest of the functions with let _ = read_ioc (Netchannels.input_string "Hello") 1
<Gertm> another thing learned! But I wanted feedback on the general style of my ocaml coding :) Still learning the right 'way' of doing stuff
Guest16853 has left #ocaml []
Drk-Sd has quit [Quit: {'EXIT', Drk-Sd, "bye"}]
<dark> i would rather say 'right' way
<dark> Gertm, ;; is only needed if it's not clear by the context that your expression has ended
<dark> Gertm, this is considered bad style btw; if all enclose top-level expressions with a let _ = <expression>, they will have the same practical effect but then you can drop the ;; safely
seafood has quit [Ping timeout: 264 seconds]
boscop has joined #ocaml
Drk-Sd has joined #ocaml
Yoric has joined #ocaml
tmaedaZ is now known as tmaeda
<Gertm> dark: adding ;; where not needed is considered bad style?
<Gertm> I didn't quite understand your last sentence
tmaeda is now known as tmaedaZ
<dark> yes. but, writing a program so that the ;; is necessary is bad style
_zack has joined #ocaml
<dark> in general
<dark> you can use it if you prefer, but if your program will not run without the ;;, I find it ugly at least ._.
maskd has quit [Ping timeout: 240 seconds]
<Gertm> ah, that way
<Gertm> yeah, I try to avoid the ;; as much as possible, hadn't noticed I left it in.
_zack has quit [Quit: Leaving.]
bzzbzz has joined #ocaml
lokydor has quit [Ping timeout: 252 seconds]
Tianon has quit [Ping timeout: 256 seconds]
Tianon has joined #ocaml
Tianon has quit [Changing host]
Tianon has joined #ocaml
maskd has joined #ocaml
orbitz has quit [Read error: Connection reset by peer]
orbitz has joined #ocaml
pimmhogeling has joined #ocaml
pimmhogeling has quit [Ping timeout: 256 seconds]
TaXules has joined #ocaml
mutew has joined #ocaml
Drk-Sd has quit [Quit: {'EXIT', Drk-Sd, "bye"}]
Modius has joined #ocaml
avsm has left #ocaml []
munga has joined #ocaml
sshc has quit [Read error: Connection reset by peer]
sshc has joined #ocaml
execve has joined #ocaml
sYdRo has joined #ocaml
<sYdRo> is there any italian that help me ? :(
_unK has joined #ocaml
mutew has quit [Ping timeout: 252 seconds]
Gooffy has quit [Quit: Leaving.]
ski_ has quit [Quit: Lost terminal]
ikaros has quit [Quit: Leave the magic to Houdini]
sysop_fb has joined #ocaml
sYdRo has left #ocaml []
joewilliams_away is now known as joewilliams
avsm has joined #ocaml
tmaedaZ is now known as tmaeda
pimmhogeling has joined #ocaml
dark has quit [Quit: Leaving]
dark has joined #ocaml
travisbrady has joined #ocaml
yakischloba has joined #ocaml
ski_ has joined #ocaml
fraggle__ has joined #ocaml
fraggle__ has quit [Client Quit]
fraggle_ has joined #ocaml
fraggle_ has quit [Remote host closed the connection]
fraggle__ has joined #ocaml
yakischloba has quit [Quit: Leaving.]
avsm has quit [Quit: Leaving.]
fraggle__ has quit [Client Quit]
fraggle_ has joined #ocaml
arturh has quit [Quit: Leaving]
sysop_fb has quit []
naufraghi has left #ocaml []
yakischloba has joined #ocaml
srcerer has quit [Read error: Connection reset by peer]
Yoric has quit [Quit: Yoric]
Alpounet has quit [Quit: ``Do what you think you can't do.'']
munga has quit [Ping timeout: 245 seconds]
srcerer has joined #ocaml
srcerer has quit [Read error: Connection reset by peer]
dark has quit [Ping timeout: 246 seconds]
execve has quit [Ping timeout: 260 seconds]
srcerer has joined #ocaml
srcerer has quit [Read error: Connection reset by peer]
pad has joined #ocaml
pimmhogeling has quit [Ping timeout: 272 seconds]
Submarine has joined #ocaml
ikaros has joined #ocaml
pimmhogeling has joined #ocaml
itewsh has joined #ocaml
smimou has quit [Quit: bli]
<Camarade_Tux> gildor: do you build debian packages outside of X? (asking because ocamlnet-gtk2 needs X and that's *deeply* annoying me)
srcerer has joined #ocaml
ikaros has quit [Quit: Leave the magic to Houdini]
Alpounet has joined #ocaml
Associat0r has joined #ocaml
<gildor> Camarade_Tux: we don't run an X server in our buildd
<gildor> Camarade_Tux: if it is what you ask
<Camarade_Tux> gildor: you answered my question
<Camarade_Tux> I worded my sentence badly: ocamlnet-gtk2's configure needs X to be running
Anarchos has joined #ocaml
joewilliams is now known as joewilliams_away
yakischloba has quit [Quit: Leaving.]
<Camarade_Tux> gildor: btw: on the forge, what do you use for git support? (I have a few small projects I'd like to put on my own git)
seafood has joined #ocaml
Alpounet has quit [Remote host closed the connection]
pimmhogeling has quit [Ping timeout: 272 seconds]
munga has joined #ocaml
yakischloba has joined #ocaml
joewilliams_away is now known as joewilliams
seafood has quit [Quit: seafood]
seafood has joined #ocaml
<gildor> Camarade_Tux: for now git repository is created by hand, and you can browse git through gitweb
<gildor> Camarade_Tux: when we will move to FusionForge there will be a minimal support directly in the forge
tmaeda is now known as tmaedaZ
smimou has joined #ocaml
smimou has quit [Changing host]
smimou has joined #ocaml
Drk-Sd has joined #ocaml
itewsh has quit [Ping timeout: 240 seconds]
itewsh has joined #ocaml
execve has joined #ocaml
execve has quit [Client Quit]
_zack has joined #ocaml
_zack has quit [Quit: Leaving.]
itewsh has quit [Quit: There are only 10 kinds of people: those who understand binary and those who don't]
Anarchos has quit [Quit: Vision[0.9.7-H-090423]: i've been blurred!]
_unK has quit [Remote host closed the connection]
thrasibule has joined #ocaml
derdon has quit [Quit: derdon]
Narrenschiff has joined #ocaml