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!)
danly has joined #ocaml
slipstream-- has joined #ocaml
slipstream-- has quit [Remote closed the connection]
NullPointer has joined #ocaml
NullPointer has quit [Client Quit]
slipstream-- has joined #ocaml
slipstream-- has quit [Remote closed the connection]
NullPointer has joined #ocaml
smimou has quit ["bli"]
tehdeuce has left #ocaml []
NullPointer has quit ["ChatZilla 0.9.78.1 [Firefox 2.0.0.4/2007051502]"]
NullPointer has joined #ocaml
<NullPointer> nick chenhong
NullPointer is now known as chenhong
chenhong has left #ocaml []
slipstream-- has joined #ocaml
chenhong has joined #ocaml
slipstream-- has quit [Remote closed the connection]
chenhong has quit ["ChatZilla 0.9.78.1 [Firefox 2.0.0.4/2007051502]"]
mbishop has quit [Remote closed the connection]
chenhong has joined #ocaml
slipstream-- has joined #ocaml
yodafinger has quit [Read error: 110 (Connection timed out)]
slipstream-- has quit [Remote closed the connection]
chenhong is now known as np
slipstream-- has joined #ocaml
visage has joined #ocaml
slipstream-- has quit [Remote closed the connection]
martin_ has joined #ocaml
martin_ is now known as mbishop
seafoodX has joined #ocaml
noteventime has quit [Remote closed the connection]
bluestorm_ has joined #ocaml
visage has quit []
slipstream-- has joined #ocaml
slipstream-- has quit [Remote closed the connection]
pants1 has quit [Read error: 110 (Connection timed out)]
slipstream-- has joined #ocaml
slipstream-- has quit [Remote closed the connection]
visage has joined #ocaml
slipstream-- has joined #ocaml
slipstream-- has quit [Remote closed the connection]
tehdeuce has joined #ocaml
<tehdeuce> What is the best way to refer to keycodes in ocaml? I'm playing around with opengl/glut, but I can't figure out how to check if the key pressed is F1 or escape or anything like that.
visage has quit []
slipstream-- has joined #ocaml
delamarche has joined #ocaml
np has quit ["ChatZilla 0.9.78.1 [Firefox 2.0.0.4/2007051502]"]
slipstream-- has quit [Remote closed the connection]
Jessehk has joined #ocaml
<Jessehk> Hello. Does anyone have any experience writing a META file for ocamlfind? I'm having a few irratating problems...
<tsuyoshi> I've written a couple
<Jessehk> I'm trying to package lablgtk for Arch linux. All the files have been installed in /usr/lib/ocaml/lablgtk
<Jessehk> I've successfully gotten the META file to install in /usr/lib/ocaml/site-lib/lablgtk
<Jessehk> But when I try to compile it, I get a message indicating that it couldn't find the .cma files. Just a second, I'll post it.
pango has quit [Remote closed the connection]
<Jessehk> That's just a basic file to test that it works.
<Jessehk> When I try to compile using ocamlfind, it tells me it can't find GMain.
pango has joined #ocaml
<Jessehk> When I compile without ocamlfind (manually including the lablgtk dir with -I), it works fine
<tsuyoshi> hmm
<tsuyoshi> is GMain in gtkInit.cmo?
slipstream-- has joined #ocaml
<tsuyoshi> I seem to remember having to link it in separately
<tsuyoshi> the debian META has this:
<tsuyoshi> package "init" ( requires = "lablgtk2" archive(byte) = "gtkInit.cmo" archive(native) = "gtkInit.cmx"
<tsuyoshi> )
<tsuyoshi> er
<tsuyoshi> newlines were stripped, but you get the idea
<Jessehk> tsuyoshi: I think it's gmain (which comes from lablgtk.cma), because it compiles fine without gtkInit.cmo -- it just crashes when it's run (this is when I compile it without ocamlfind)
slipstream-- has quit [Remote closed the connection]
<Jessehk> tsuyoshi: But I'll keep your solution in mind regarding gtkInit.cmo -- I hadn't gotten there yet. :)
<tsuyoshi> wait.. what is crashing?
<Jessehk> tsuyoshi: If you don't link in gtkInit.cmo, it compiles but immediately crashes. This is without ocamlfind
<tsuyoshi> oh, yeah
<tsuyoshi> ok.. that's because gtkInit is calling something for you
<tsuyoshi> not an ocamlfind issue at all
<Jessehk> tsuyoshi: Do you think you could send me a copy of the Debian META?
<Jessehk> nvm, I'm getting it myself :)
slipstream-- has joined #ocaml
slipstream-- has quit [Remote closed the connection]
seafoodX has quit []
slipstream-- has joined #ocaml
slipstream-- has quit [Remote closed the connection]
seafoodX has joined #ocaml
slipstream-- has joined #ocaml
slipstream-- has quit [Remote closed the connection]
delamarche has quit []
slipstream-- has joined #ocaml
piggybox has joined #ocaml
slipstream-- has quit [Remote closed the connection]
piggybox3 has quit [Read error: 110 (Connection timed out)]
Smerdyakov has quit ["Leaving"]
slipstream-- has joined #ocaml
slipstream-- has quit [Remote closed the connection]
ramkrsna has joined #ocaml
slipstream-- has joined #ocaml
slipstream-- has quit [Remote closed the connection]
cmeme has quit ["Client terminated by server"]
cmeme has joined #ocaml
tehdeuce has quit [Remote closed the connection]
slipstream-- has joined #ocaml
slipstream-- has quit [Remote closed the connection]
Jessehk has quit ["Leaving"]
slipstream-- has joined #ocaml
Mr_Awesome has joined #ocaml
screwt8 has quit [Remote closed the connection]
slipstream-- has quit [Remote closed the connection]
screwt8 has joined #ocaml
ygrek has quit [Remote closed the connection]
slipstream-- has joined #ocaml
slipstream-- has quit [Remote closed the connection]
screwt8 has quit [Remote closed the connection]
slipstream-- has joined #ocaml
slipstream-- has quit [Remote closed the connection]
seafoodX has quit [Read error: 110 (Connection timed out)]
seafoodX has joined #ocaml
slipstream-- has joined #ocaml
slipstream-- has quit [Remote closed the connection]
slipstream-- has joined #ocaml
zarvok has quit ["BitchX-1.1-final -- just do it."]
slipstream-- has quit [Remote closed the connection]
slipstream-- has joined #ocaml
rwmjones has joined #ocaml
slipstream-- has quit [Remote closed the connection]
slipstream-- has joined #ocaml
slipstream-- has quit [Remote closed the connection]
Submarine has quit [Remote closed the connection]
slipstream-- has joined #ocaml
slipstream-- has quit [Remote closed the connection]
Mr_Awesome has quit ["time to impregnate a moth"]
slipstream-- has joined #ocaml
slipstream-- has quit [Remote closed the connection]
slipstream-- has joined #ocaml
slipstream-- has quit [Remote closed the connection]
smimou has joined #ocaml
piggybox3 has joined #ocaml
seafoodX has quit []
piggybox has quit [Read error: 110 (Connection timed out)]
slipstream-- has joined #ocaml
slipstream-- has quit [Remote closed the connection]
lamby has quit [Connection reset by peer]
slipstream-- has joined #ocaml
slipstream-- has quit [Remote closed the connection]
slipstream-- has joined #ocaml
slipstream-- has quit [Remote closed the connection]
slipstream-- has joined #ocaml
slipstream-- has quit [Remote closed the connection]
screwt8 has joined #ocaml
slipstream-- has joined #ocaml
smimou has quit ["bli"]
slipstream-- has quit [Remote closed the connection]
screwt8 has quit [Remote closed the connection]
screwt8 has joined #ocaml
slipstream-- has joined #ocaml
noteventime has joined #ocaml
kelaouchi has quit ["leaving"]
jlouis has joined #ocaml
slipstream-- has quit [Remote closed the connection]
ygrek has joined #ocaml
jlouis_ has quit [Read error: 110 (Connection timed out)]
slipstream-- has joined #ocaml
slipstream-- has quit [Remote closed the connection]
slipstream-- has joined #ocaml
slipstream-- has quit [Remote closed the connection]
tty56_ has joined #ocaml
slipstream-- has joined #ocaml
slipstream-- has quit [Remote closed the connection]
tty56 has quit [Read error: 110 (Connection timed out)]
slipstream-- has joined #ocaml
slipstream-- has quit [Remote closed the connection]
visage has joined #ocaml
slipstream-- has joined #ocaml
<vincenz> slipstream--: connection issues/
slipstream-- has quit [Remote closed the connection]
visage_ has joined #ocaml
kelaouchi has joined #ocaml
visage has quit [Read error: 104 (Connection reset by peer)]
_blackdog has joined #ocaml
visage has joined #ocaml
visage_ has quit [Read error: 104 (Connection reset by peer)]
slipstream-- has joined #ocaml
slipstream-- has quit [Remote closed the connection]
visage has quit [Read error: 110 (Connection timed out)]
slipstream-- has joined #ocaml
slipstre1m-- has joined #ocaml
slipstre2m-- has joined #ocaml
slipstre1m-- has quit [Remote closed the connection]
slipstream-- has quit [Connection timed out]
slipstre3m-- has joined #ocaml
slipstre2m-- has quit [Connection timed out]
slipstre3m-- has quit [Remote closed the connection]
slipstre2m-- has joined #ocaml
slipstream-- has joined #ocaml
visage has joined #ocaml
slipstream-- has quit [Remote closed the connection]
slipstre2m-- has quit [Connection timed out]
edwardk has joined #ocaml
edwardk has left #ocaml []
slipstream has joined #ocaml
slipstream has quit [Remote closed the connection]
visage has quit []
visage has joined #ocaml
malc_ has joined #ocaml
slipstream-- has joined #ocaml
slipstream-- has quit [Remote closed the connection]
slipstream-- has joined #ocaml
slipstream-- has quit [Remote closed the connection]
pango has quit [Remote closed the connection]
pango has joined #ocaml
fremo has joined #ocaml
slipstream-- has joined #ocaml
slipstream-- has quit [Remote closed the connection]
malc__ has joined #ocaml
malc_ has quit [Read error: 110 (Connection timed out)]
slipstream-- has joined #ocaml
mrael has joined #ocaml
Smerdyakov has joined #ocaml
<mrael> what's wrong with this?type component = int list;; let max_component_n (c:component) = List.fold_right max min_int c;;
<mrael> it doesn't like min_int... it thinks this function is being applied to a list of arbitrary type (a')
<ppsmimou> mrael: you should exchange c and min_int
<mrael> haha... sorry
<ppsmimou> the order of arguments of fold_left is not the same as fold_right
<zmdkrbou> if c is the list you're trying to fold, you should write List.fold_right max c min_int
<ppsmimou> hi zmdkrbou
<zmdkrbou> lo
slipstream-- has quit [Remote closed the connection]
<mrael> thank you ppsmimou
<ppsmimou> np
slipstream-- has joined #ocaml
_blackdog has quit [Read error: 110 (Connection timed out)]
slipstream-- has quit [Remote closed the connection]
cmeme has quit [Read error: 104 (Connection reset by peer)]
cmeme has joined #ocaml
noteventime has quit [Remote closed the connection]
slipstream-- has joined #ocaml
malc__ is now known as malc_
slipstream-- has quit [Remote closed the connection]
slipstream-- has joined #ocaml
visage_ has joined #ocaml
slipstream-- has quit [Remote closed the connection]
visage has quit [Read error: 104 (Connection reset by peer)]
slipstream-- has joined #ocaml
slipstream-- has quit [Remote closed the connection]
Modius has joined #ocaml
loran has joined #ocaml
slipstream-- has joined #ocaml
visage_ has left #ocaml []
visage has joined #ocaml
loran has left #ocaml []
slipstream-- has quit [Remote closed the connection]
qwwqe has joined #ocaml
Submarine has joined #ocaml
slipstream-- has joined #ocaml
slipstream-- has quit [Remote closed the connection]
love-pingoo has joined #ocaml
_blackdog has joined #ocaml
slipstream-- has joined #ocaml
slipstream-- has quit [Remote closed the connection]
visage has quit [Connection timed out]
slipstream-- has joined #ocaml
qwwqe has quit [Remote closed the connection]
slipstream-- has quit [Remote closed the connection]
slipstream-- has joined #ocaml
slipstream-- has quit [Remote closed the connection]
slipstream-- has joined #ocaml
slipstream-- has quit [Remote closed the connection]
slipstream-- has joined #ocaml
slipstream-- has quit [Remote closed the connection]
piggybox3 has quit [Connection timed out]
TFK has joined #ocaml
piggybox has joined #ocaml
visage has joined #ocaml
ygrek has quit [Remote closed the connection]
slipstream-- has joined #ocaml
slipstream-- has quit [Remote closed the connection]
_blackdog is now known as _blackdog_away
slipstream-- has joined #ocaml
smimou has joined #ocaml
slipstream-- has quit [Connection timed out]
psnively has joined #ocaml
visage has quit [Connection timed out]
Submarine has quit ["in Soviet Russia, Céline Dion owns you"]
_blackdog_away is now known as _blackdog
_blackdog has left #ocaml []
bluestorm_ has quit [Remote closed the connection]
love-pingoo has quit ["Connection reset by pear"]
kelaouchi has quit [Remote closed the connection]
kelaouchi has joined #ocaml
visage has joined #ocaml
visage has quit [Client Quit]
pants1 has joined #ocaml
EliasAmaral has quit [Connection timed out]
screwt8 has quit [Remote closed the connection]
screwt8 has joined #ocaml
noteventime has joined #ocaml
benny_ has joined #ocaml
noteventime has quit ["Leaving"]
benny has quit [Read error: 110 (Connection timed out)]
_blackdog has joined #ocaml
_blackdog has left #ocaml []
piggybox3 has joined #ocaml
Mr_Awesome has joined #ocaml
piggybox has quit [Connection timed out]
visage has joined #ocaml
pants1 has quit ["Leaving."]