mbishop changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | Grab OCaml 3.10.2 from http://caml.inria.fr/ocaml/release.html (featuring new camlp4 and more!)
Axioplase has joined #ocaml
r0bby has quit [Read error: 104 (Connection reset by peer)]
r0bby has joined #ocaml
jdrake has joined #ocaml
<orbitz> are monads used much at all in ocaml isnce we can have side effects? Brian's post seemed to suggest some libraries are moving towards them
Axioplase has quit ["leaving"]
nuncanada has quit ["Leaving"]
sporkmonger has quit []
authentic has joined #ocaml
jdrake has quit [Read error: 104 (Connection reset by peer)]
jdrake has joined #ocaml
<flux> I've actually switches to use a CPS approach in a certain project in place of using native threads
<flux> cps can be viewed as a monad
<flux> (well, once you have bind and return)
jdrake has quit [Read error: 110 (Connection timed out)]
rodge has left #ocaml []
<palomer> there is a CPS monad
<palomer> and you can get the IO monad if you have CPS IO
<palomer> I find monads to be a pain
<palomer> much of the time
<palomer> if you have monad A and you want to combine it with monad B
<palomer> it becomes an art
<palomer> very frustrating
ygrek has joined #ocaml
Tetsuo has joined #ocaml
hkBst has joined #ocaml
middayc has joined #ocaml
ygrek has quit [Remote closed the connection]
ChristopheT has joined #ocaml
Linktim has joined #ocaml
OChameau has quit ["Leaving"]
Linktim has quit [Remote closed the connection]
ChristopheT has left #ocaml []
Linktim has joined #ocaml
yziquel has quit [Remote closed the connection]
Yoric[DT] has joined #ocaml
seafood_ has joined #ocaml
ygrek has joined #ocaml
middayc has quit []
seafood_ has quit []
smimou has quit ["bli"]
LordMetroid has joined #ocaml
filp has joined #ocaml
jlouis has quit [Remote closed the connection]
smimou has joined #ocaml
al-maisan has joined #ocaml
Yoric[DT] has quit ["Ex-Chat"]
al-maisan has quit ["Leaving."]
l_a_m has joined #ocaml
<ikatz> what's the preffered way of using yacc/lex from a file (instead of stdin)?
<ikatz> or maybe what i'm asking is how to open a file as a channel in ocaml
<ikatz> hah... brain cramp (it's open_in "filename")
<qwr> yeah ;)
pango has quit [Remote closed the connection]
pango has joined #ocaml
melkart has joined #ocaml
<ikatz> what's the easiest way to read xml data with ocaml?
<ikatz> this is just xml data, not doing xml-rpc
<orbitz> is thre an xml lib in Core?
<ikatz> can i find that out from the interpreter?
<orbitz> topfind?
<orbitz> i'm not sure
<orbitz> Core is the jane st stdlib btw, so you need to dl it
Linktim_ has joined #ocaml
<tsuyoshi> the easiest way I've found is expat
<ikatz> hmm it looks like expat isn't installed on the machine i'm on (i don't have root)
<ikatz> i will see if i can get the files converted to csv
Linktim has quit [Read error: 110 (Connection timed out)]
Snark has joined #ocaml
sporkmonger has joined #ocaml
melkart has quit [Remote closed the connection]
Amorphous has joined #ocaml
AxleLonghorn has joined #ocaml
AxleLonghorn has quit [Client Quit]
LordMetroid has quit ["Leaving"]
ygrek has quit [Remote closed the connection]
ygrek has joined #ocaml
smimou has quit ["bli"]
sporkmonger has quit []
blendin has joined #ocaml
vbmithr has joined #ocaml
blendin has quit []
blendin has joined #ocaml
ChristopheT has joined #ocaml
blendin has quit [Client Quit]
thermoplyae has joined #ocaml
ChristopheT has left #ocaml []
al-maisan has joined #ocaml
Yoric[DT] has joined #ocaml
olleolleolle has joined #ocaml
olleolleolle has left #ocaml []
thelema has joined #ocaml
al-maisan has quit ["Leaving."]
smimou has joined #ocaml
vbmithr has quit [Read error: 60 (Operation timed out)]
thelema is now known as thelema|away
Linktim- has joined #ocaml
Linktim_ has quit [Read error: 110 (Connection timed out)]
<flux> ikatz, I've used xml-light with great success
<flux> it's simple: it converts the xml to a sum type
<flux> and vice versa
<ikatz> flux: is that any sort of standard ocaml package?
<flux> no
<ikatz> i'll check it regardless, but i found another source for the data i originally wanted to convert from xml
<ikatz> thanks though :)
<flux> I wonder how big of a problem is installing ocamlfind packages as non-root..
<orbitz> what is a sum type?
<flux> type a = A | B of int
<ikatz> well if it all fits into a single file, it would be easy to add to my code
<flux> it might
<ikatz> cool
<hcarty> findlib does support installing to $HOME with the right configuration. The findlib manual has the details.
<hcarty> And GODI does this by default if you install under your user's home directory
* palomer is waiting for GODI to be available for debian
<hcarty> palomer: It probably won't be
<hcarty> It isn't a library, it's a tool for managing an OCaml installation without relying on your system's package manager
<hcarty> It would be nice if the dependency and automatic rebuilding parts were abstracted out in to a CPAN-like tool for OCaml
<flux> godi_console supports command line arguments..
<flux> or what kind of cpanness you mean?
<flux> albeit godi_console has its warts (what's with the underscore in the name?-) ), but it's atleast something..
<hcarty> flux: What godi supports, but without having to use godi's OCaml installation
<flux> hm, I suppose that wouldn't be a big change..
<hcarty> I really like godi overall, and aside from some strange redrawing issues I've had with godi_console I am happy with it as well
<flux> it does already support optional dependencies to either system or internal libraries
<flux> (it does, right? with the conf-packages?)
<hcarty> flux: Yes, at least for PCRE and a few others
<hcarty> I don't know if it has the same for OCaml packages though
<flux> I recently tried to find a repository for godi_console, but failed.. but I didn't try very hard ;)
<flux> I sooo would like to have a search in the interactive session
<hcarty> I think one of Zheng Li's patches allows for that?
<palomer> hcarty, I don't see why GODI wouldn't make it in debian
<hcarty> palomer: I don't think it would make much sense
<flux> well, cpan is available in debian too
<hcarty> GODI is for managing packages built from source
<palomer> the haskell equivalent of godi is available for debian
<palomer> cpan is available for debian
<flux> has anyone taken a look how big a task is it to make a godi package?
<palomer> hcarty, what I mean is to say that you can download godi through apt
<hcarty> Fair point. But godi would still have to be abstracted somewhat before it would exist harmoniously that way
<flux> can such packages be installed easily even if they aren't part of the standard distribution?
<hcarty> Just because GODI can rebuild OCaml itself
<palomer> anyways, I'm off to yoga, cheers!
<hcarty> Have fun :-)
Anarchos has joined #ocaml
<flux> hm, didn't godi patch the ocaml compiler (linker iirc) for some reason..
<hcarty> Could be. I'm not sure.
<hcarty> I personally would really like it to be easier to make packages for GODI. The instructions on the web site seem amazingly complex.
<flux> also, if you _do_ have a system-wide godi installation, is it still simple for a user to install additional godi packages to his home directory?
<hcarty> I'm not sure. That's why I think it would be more useful to abstract GODI a bit, since a proper META files gives you all of the (OCaml) dependency information you need
<hcarty> With the addition of a few required make targets, I think a very simple and effective system could be built
<hcarty> I started on the layout for such a system, but I sadly don't have time to spend on it
Linktim- has quit [Read error: 110 (Connection timed out)]
ygrek has quit [Remote closed the connection]
filp has quit [Read error: 110 (Connection timed out)]
filp has joined #ocaml
Snark has quit ["Ex-Chat"]
Yoric[DT] has quit ["Ex-Chat"]
Linktim- has joined #ocaml
kig has joined #ocaml
smimou has quit ["bli"]
Smerdyakov has joined #ocaml
jlouis has joined #ocaml
<orbitz> hey Smerdyakov
<orbitz> hi jlouis
<jlouis> hi orbitz
LordMetroid has joined #ocaml
Linktim- has quit [Remote closed the connection]
vbmithr has joined #ocaml
Tetsuo has quit ["Leaving"]
thelema|away is now known as thelema
jdrake has joined #ocaml
hkBst has quit ["Konversation terminated!"]
<mbishop> Man, they are really going at it on the mailing list
<Anarchos> mbishop what about ?
<mbishop> OCaml, of course :P
<Anarchos> i am still trying to understand why i can't build unix.cmxs
smimou has joined #ocaml
jdrake has quit [Read error: 110 (Connection timed out)]
jdrake has joined #ocaml
vbmithr has quit ["gone"]
jdrake has quit [Read error: 110 (Connection timed out)]
LordMetroid has quit ["Leaving"]
Anarchos has quit ["Vision[0.8.5-0418]: i've been blurred!"]
middayc has joined #ocaml