Alpounet changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | 3.11.1 out now! Get yours from http://caml.inria.fr/ocaml/release.html
clog has joined #ocaml
suricator has joined #ocaml
valross has quit ["Ex-Chat"]
minddog has quit [Read error: 113 (No route to host)]
suricator has quit []
suricator has joined #ocaml
Pimm has joined #ocaml
ikaros has joined #ocaml
suricator has quit []
Submarine has quit ["Leaving"]
munga_ has quit [Read error: 113 (No route to host)]
Pimm has quit [Read error: 110 (Connection timed out)]
sgnb` has joined #ocaml
sgnb has quit [farmer.freenode.net irc.freenode.net]
Submarine has joined #ocaml
<Submarine> hi there
<Alpounet> hi
* Submarine is looking for interns and grad students.
albacker has joined #ocaml
* Alpounet is an undergrad
tmaeda is now known as tmaedaZ
Pimm has joined #ocaml
ttamttam has quit ["Leaving."]
_andre has joined #ocaml
Snark has joined #ocaml
zarvok has joined #ocaml
_unK has joined #ocaml
Submarine has quit ["Leaving"]
Dodek_ has joined #ocaml
<Dodek_> hey
<Dodek_> i have a problem with ocaml compilation
<Dodek_> ocamlc -o anagramy.byte anagramy.cmo klasy.cmo
<Dodek_> Error while linking anagramy.cmo: Reference to undefined global `Klasy'
<Dodek_> 'Klasy' is the module i defined in klasy.ml/mli
ikaros has quit ["Leave the magic to Houdini"]
<Yoric> Change the order.
<Yoric> klasy.cmo should appear before anagramy.cmo
jimmyb2187 has left #ocaml []
jimmyb2187 has joined #ocaml
ttamttam has joined #ocaml
<Dodek_> that works, thanks Yoric
<Dodek_> it seems something is wrong with my Makefile
eldragon has joined #ocaml
tmaedaZ is now known as tmaeda
rwmjones has quit [Read error: 60 (Operation timed out)]
rwmjones has joined #ocaml
ikaros has joined #ocaml
Pimm has quit [Read error: 110 (Connection timed out)]
suricator has joined #ocaml
dmentre has quit ["Leaving."]
_zack has quit ["Leaving."]
Pimm has joined #ocaml
Alpounet has quit ["``Do what you think you can't do.'' -- E. Roosevelt"]
struktured has quit [Read error: 110 (Connection timed out)]
minddog has joined #ocaml
middayc has joined #ocaml
mishok13 has quit ["Stopping IRC chat... [OK]"]
suricator has quit [Read error: 110 (Connection timed out)]
lutter has joined #ocaml
Yoric has quit []
minddog has quit [Read error: 60 (Operation timed out)]
joewilliams has joined #ocaml
slash_ has joined #ocaml
Amorphous has quit [Read error: 110 (Connection timed out)]
Amorphous has joined #ocaml
Associat0r has quit []
minddog has joined #ocaml
Asmadeus has quit [Read error: 60 (Operation timed out)]
Asmadeus has joined #ocaml
_andre has quit [Read error: 104 (Connection reset by peer)]
smimou has quit ["bli"]
struktured has joined #ocaml
_unK has quit [farmer.freenode.net irc.freenode.net]
tarbo2 has quit [farmer.freenode.net irc.freenode.net]
mehdid has quit [farmer.freenode.net irc.freenode.net]
_unK has joined #ocaml
mehdid has joined #ocaml
tarbo2 has joined #ocaml
slash_ has quit [farmer.freenode.net irc.freenode.net]
lutter has quit [farmer.freenode.net irc.freenode.net]
ikaros has quit [farmer.freenode.net irc.freenode.net]
jimmyb2187 has quit [farmer.freenode.net irc.freenode.net]
zarvok has quit [farmer.freenode.net irc.freenode.net]
Snark has quit [farmer.freenode.net irc.freenode.net]
schme has quit [farmer.freenode.net irc.freenode.net]
thieusoai has quit [farmer.freenode.net irc.freenode.net]
bzzbzz has quit [farmer.freenode.net irc.freenode.net]
jonafan_ has joined #ocaml
flx_ has joined #ocaml
minddog has quit [farmer.freenode.net irc.freenode.net]
jonafan has quit [farmer.freenode.net irc.freenode.net]
RSchulz has quit [farmer.freenode.net irc.freenode.net]
orbitz has quit [farmer.freenode.net irc.freenode.net]
mbishop has quit [farmer.freenode.net irc.freenode.net]
flux has quit [farmer.freenode.net irc.freenode.net]
jonafan_ is now known as jonafan
orbitz has joined #ocaml
minddog has joined #ocaml
RSchulz has joined #ocaml
diginux has quit [Remote closed the connection]
diginux has joined #ocaml
flx_ is now known as flux
acatout has quit [Read error: 110 (Connection timed out)]
albacker has quit ["k"]
acatout has joined #ocaml
slash_ has joined #ocaml
ikaros has joined #ocaml
jimmyb2187 has joined #ocaml
zarvok has joined #ocaml
Snark has joined #ocaml
schme has joined #ocaml
thieusoai has joined #ocaml
bzzbzz has joined #ocaml
ulfdoz has joined #ocaml
Alpounet has joined #ocaml
suricator has joined #ocaml
rbancroft has quit [Read error: 110 (Connection timed out)]
Snark has quit ["Ex-Chat"]
ulfdoz has quit [farmer.freenode.net irc.freenode.net]
flux has quit [farmer.freenode.net irc.freenode.net]
trav has quit [farmer.freenode.net irc.freenode.net]
tonyIII has quit [farmer.freenode.net irc.freenode.net]
tab_ has quit [farmer.freenode.net irc.freenode.net]
noj has quit [farmer.freenode.net irc.freenode.net]
safire has quit [farmer.freenode.net irc.freenode.net]
det has quit [farmer.freenode.net irc.freenode.net]
joewilliams has quit [farmer.freenode.net irc.freenode.net]
ttamttam has quit [farmer.freenode.net irc.freenode.net]
mrvn has quit [farmer.freenode.net irc.freenode.net]
shr3kst3r has quit [farmer.freenode.net irc.freenode.net]
Camarade_Tux has quit [farmer.freenode.net irc.freenode.net]
sgnb` has quit [farmer.freenode.net irc.freenode.net]
suricator has quit [farmer.freenode.net irc.freenode.net]
diginux has quit [farmer.freenode.net irc.freenode.net]
RSchulz has quit [farmer.freenode.net irc.freenode.net]
minddog has quit [farmer.freenode.net irc.freenode.net]
mehdid has quit [farmer.freenode.net irc.freenode.net]
Asmadeus has quit [farmer.freenode.net irc.freenode.net]
WuJiang has quit [farmer.freenode.net irc.freenode.net]
hyperboreean has quit [farmer.freenode.net irc.freenode.net]
nimred has quit [farmer.freenode.net irc.freenode.net]
infoe_ has quit [farmer.freenode.net irc.freenode.net]
lanaer has quit [farmer.freenode.net irc.freenode.net]
Mr_Awesome has quit [farmer.freenode.net irc.freenode.net]
Leonidas has quit [farmer.freenode.net irc.freenode.net]
suricator has joined #ocaml
ulfdoz has joined #ocaml
diginux has joined #ocaml
RSchulz has joined #ocaml
minddog has joined #ocaml
flux has joined #ocaml
mehdid has joined #ocaml
Asmadeus has joined #ocaml
joewilliams has joined #ocaml
ttamttam has joined #ocaml
sgnb` has joined #ocaml
trav has joined #ocaml
WuJiang has joined #ocaml
tonyIII has joined #ocaml
safire has joined #ocaml
tab_ has joined #ocaml
noj has joined #ocaml
det has joined #ocaml
mrvn has joined #ocaml
shr3kst3r has joined #ocaml
Camarade_Tux has joined #ocaml
Leonidas has joined #ocaml
Mr_Awesome has joined #ocaml
hyperboreean has joined #ocaml
nimred has joined #ocaml
lanaer has joined #ocaml
infoe_ has joined #ocaml
ulfdoz has quit [Read error: 60 (Operation timed out)]
suricator has quit []
eldragon has left #ocaml []
ikaros has quit ["Leave the magic to Houdini"]
lutter has joined #ocaml
Pimm has quit [Read error: 110 (Connection timed out)]
ulfdoz has joined #ocaml
sgnb` is now known as sgnb
tarbo2 has quit [farmer.freenode.net irc.freenode.net]
slash_ has quit [Client Quit]
jimmyb2187 has quit [farmer.freenode.net irc.freenode.net]
thieusoai has quit [farmer.freenode.net irc.freenode.net]
zarvok has quit [farmer.freenode.net irc.freenode.net]
bzzbzz has quit [farmer.freenode.net irc.freenode.net]
schme has quit [farmer.freenode.net irc.freenode.net]
acatout has quit [farmer.freenode.net irc.freenode.net]
Yoric has joined #ocaml
tarbo2 has joined #ocaml
acatout has joined #ocaml
bzzbzz has joined #ocaml
schme has joined #ocaml
tarbo2 has quit [farmer.freenode.net irc.freenode.net]
Submarine has joined #ocaml
tarbo2 has joined #ocaml
aklt has joined #ocaml
thieusoai has joined #ocaml
ttamttam has quit ["Leaving."]
zarvok has joined #ocaml
ikaros has joined #ocaml
acatout has quit [farmer.freenode.net irc.freenode.net]
ulfdoz has quit [farmer.freenode.net irc.freenode.net]
flux has quit [farmer.freenode.net irc.freenode.net]
trav has quit [farmer.freenode.net irc.freenode.net]
tab_ has quit [farmer.freenode.net irc.freenode.net]
tonyIII has quit [farmer.freenode.net irc.freenode.net]
noj has quit [farmer.freenode.net irc.freenode.net]
safire has quit [farmer.freenode.net irc.freenode.net]
det has quit [farmer.freenode.net irc.freenode.net]
mrvn has quit [farmer.freenode.net irc.freenode.net]
shr3kst3r has quit [farmer.freenode.net irc.freenode.net]
Camarade_Tux has quit [farmer.freenode.net irc.freenode.net]
joewilliams has quit [farmer.freenode.net irc.freenode.net]
sgnb has quit [farmer.freenode.net irc.freenode.net]
aklt has quit [farmer.freenode.net irc.freenode.net]
WuJiang has quit [farmer.freenode.net irc.freenode.net]
mehdid has quit [farmer.freenode.net irc.freenode.net]
hyperboreean has quit [farmer.freenode.net irc.freenode.net]
Leonidas has quit [farmer.freenode.net irc.freenode.net]
RSchulz has quit [farmer.freenode.net irc.freenode.net]
nimred has quit [farmer.freenode.net irc.freenode.net]
infoe_ has quit [farmer.freenode.net irc.freenode.net]
lanaer has quit [farmer.freenode.net irc.freenode.net]
Mr_Awesome has quit [farmer.freenode.net irc.freenode.net]
diginux has quit [farmer.freenode.net irc.freenode.net]
minddog has quit [farmer.freenode.net irc.freenode.net]
Asmadeus has quit [farmer.freenode.net irc.freenode.net]
aklt has joined #ocaml
acatout has joined #ocaml
ulfdoz has joined #ocaml
diginux has joined #ocaml
RSchulz has joined #ocaml
minddog has joined #ocaml
flux has joined #ocaml
mehdid has joined #ocaml
Asmadeus has joined #ocaml
sgnb has joined #ocaml
trav has joined #ocaml
WuJiang has joined #ocaml
infoe_ has joined #ocaml
lanaer has joined #ocaml
nimred has joined #ocaml
hyperboreean has joined #ocaml
Mr_Awesome has joined #ocaml
Leonidas has joined #ocaml
Camarade_Tux has joined #ocaml
shr3kst3r has joined #ocaml
mrvn has joined #ocaml
det has joined #ocaml
noj has joined #ocaml
tab_ has joined #ocaml
safire has joined #ocaml
tonyIII has joined #ocaml
jimmyb2187 has joined #ocaml
my007ms has joined #ocaml
ulfdoz has quit [Read error: 60 (Operation timed out)]
_unK has quit [Remote closed the connection]
middayc has quit ["ChatZilla 0.9.85 [Firefox 3.5.5/20091102152451]"]
ulfdoz has joined #ocaml
_unK has joined #ocaml
ezyang has joined #ocaml
<ezyang> Hello
zarvok has left #ocaml []
Submarine has quit [Read error: 60 (Operation timed out)]
thrasibule has joined #ocaml
Yoric has quit []
sramsay has joined #ocaml
lutter has quit ["Leaving."]
catmouse has joined #ocaml
toast-opt has joined #ocaml
Alpounet has quit [Read error: 113 (No route to host)]
Alpounet has joined #ocaml
ulfdoz has quit [Read error: 110 (Connection timed out)]
suricator has joined #ocaml
smimou has joined #ocaml
schme has quit [Read error: 104 (Connection reset by peer)]
schme has joined #ocaml
thrasibule has quit [Read error: 110 (Connection timed out)]
Alpounet has quit ["``Do what you think you can't do.'' -- E. Roosevelt"]
Alpounet has joined #ocaml
Boney has joined #ocaml
<Boney> Hi, I don't know ocaml, I can (almost) read it and I havn't tried writing it.
<Boney> Someone has shared their code with me and I'm trying to build it.
<Boney> It uses xml-light.
<Boney> I've installed xml-light with apt-get install libxml-light-ocaml-dev
<Boney> I'm trying to build the project with 'ocamlbuild main.native'.
ezyang has left #ocaml []
<Boney> You can see how it fails.
<Boney> I tried the -I and -lib options for ocamlbuild also, it still fails, this is also shown in the paste.
<Boney> How am I supposed to build ocaml projects that depend on libraries.
sramsay has quit [Read error: 145 (Connection timed out)]
<pad> try ocamlc -c -I /usr/lib/ocaml/xml-light Fluid.mli
<pad> do you get some error too ?
<Boney> pbone@taura:/home/taura/workspaces/pbone/kidney/src_ocaml$ ocamlc -I /usr/lib/ocaml/xml-light/ Fluid.mli
<Boney> pbone@taura:/home/taura/workspaces/pbone/kidney/src_ocaml$ echo $?
<Boney> so that works.
<Boney> 0
<pad> yes
<Boney> it puts a cmi file in my local directory.
<pad> it was just to check that you actually have the xml-light ocaml library
<Boney> yep. fair enough, so we know I've got the right library, and that that is the right path, and I can compile against it.
<pad> I dont know ocamlbuild so I can not help about your other issue
<Boney> ok.
<Boney> what do you use?
<pad> there is no Makefile in your source ?
<pad> 'make'
<Boney> I don't know what I'm supposed to be using.
<pad> ls
<pad> givs what ?
<Boney> nope. this was sent to me without a Makefile.
<pad> then ask for one ...
<Boney> .ml .mli files, _build directory (created by ocamlbuild) and I was also sent some data files.
<pad> otherwise ocamlc -o mybinary module1.ml module2.ml ... -I ... xml.cma should work
<Boney> Okay, I'll do that, I didn't know what was normal for the ocaml community.
<pad> make is normal
ikaros has quit ["Leave the magic to Houdini"]
<Boney> (honnestly, I'm a little annoyed that I didn't receive a Makefile or README file).
<mfp> Boney: have you tried ocamlbuild -I +xml-light -lib xml-light main.native ?
toast-opt has quit []
<mfp> doesn't work with dummy test prog :-( /me doesn't like ocamlbuild
<mfp> this might work ocamlbuild -cflags -I,+xml-light -lflags -I,+xml-light -lib xml-light main.native
<pad> argh
<Boney> mfp: Thankyou!
<Boney> that second one worked.
<Boney> pbone@taura:/home/taura/workspaces/pbone/kidney/src_ocaml$ file _build/main.native
<Boney> _build/main.native: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, not stripped
minddog has quit [Remote closed the connection]
pad has quit [Remote closed the connection]
rumbleca has joined #ocaml
minddog has joined #ocaml
<WuJiang> Is there any OCaml project going on here
<WuJiang> thanks
<mrvn> No, all ocaml projects are done in #haskell.
<WuJiang> thanks, mrvn
<WuJiang> what are you guys using OCaml to work on
<WuJiang> anything interesting
<mrvn> fuse filesystem
<WuJiang> sounds cool
<WuJiang> anything else
<julm> web-browser
<WuJiang> what web browser
<julm> caravel
<julm> it is a _young_ project though
<WuJiang> is this one
<julm> by the way if you want to have a list of what is done in ocaml, browsing ocamlforge.org is a good start
<WuJiang> thank you very much, this really helps a lot
minddog has quit [Read error: 110 (Connection timed out)]
suricator has quit []
mbishop has joined #ocaml
ozzloy has quit [Remote closed the connection]
ozzloy has joined #ocaml
Associat0r has joined #ocaml
aklt has quit ["leaving"]
minddog has joined #ocaml
bogen has joined #ocaml
_unK has quit [Remote closed the connection]
<det> erm
<det> How to allocate an array of X strings from C?
<mrvn> Error: Unbound value erm
<det> caml_alloc(X, No_scan_tag)
<det> is that right ?
<mrvn> "Arrays of integers and pointers are represented like tuples, that is, as pointers to blocks tagged 0. They are accessed with the Field macro for reading and the modify function for writing."
<det> I just read that :-)
<det> caml_alloc_tuple(X) it is :-)
<det> That's the beauty of asking on IRC
<det> it guarentees I will figure it out myself seconds to minutes after asking
<mrvn> or caml_alloc_array
<det> That seems more like SML's tabulate
<mrvn> oh no. never mind. That does something else.
<det> I forget what Ocaml calls it
<det> maybe init or create
<mrvn> Its more like Array.map, except it takes a C array with NULL terminator as input.
<det> oh
<det> that is far different
<mrvn> Probably only there because it is used to create the Sys.argv or something. Doesn't seem to usefull.
<mrvn> So caml_alloc_tuple(X) and then caml_alloc_string + modify for each element.
<det> Yeah
<det> I've done it before, but this knowledge just doesnt stick. :<
jlouis has quit [Remote closed the connection]
jlouis has joined #ocaml