ASpiwack has quit [Read error: Operation timed out]
ASpiwack has joined #ocaml
eldragon has joined #ocaml
pikachuyann has joined #ocaml
ikaros has joined #ocaml
ASpiwack has quit [Ping timeout: 276 seconds]
ASpiwack has joined #ocaml
ttamttam has joined #ocaml
oriba has joined #ocaml
oriba has left #ocaml []
ASpiwack has quit [Ping timeout: 272 seconds]
Amorphous has quit [Ping timeout: 260 seconds]
ASpiwack has joined #ocaml
Submarine has quit [Quit: Leaving]
Amorphous has joined #ocaml
ASpiwack has quit [Ping timeout: 252 seconds]
ASpiwack has joined #ocaml
ASpiwack has quit [Ping timeout: 272 seconds]
ASpiwack has joined #ocaml
ASpiwack has quit [Ping timeout: 260 seconds]
ASpiwack has joined #ocaml
fraggle_ has quit [Quit: -ENOBRAIN]
fraggle_ has joined #ocaml
ASpiwack has quit [Ping timeout: 276 seconds]
ASpiwack has joined #ocaml
ASpiwack has quit [Ping timeout: 252 seconds]
Yoric has joined #ocaml
ASpiwack has joined #ocaml
ASpiwack has quit [Ping timeout: 272 seconds]
ASpiwack has joined #ocaml
emias has joined #ocaml
ftrvxmtrx has quit [Quit: Leaving]
thutchin has joined #ocaml
munga has joined #ocaml
thutchin has quit [Client Quit]
th5 has joined #ocaml
ttamttam has left #ocaml []
th5 has quit [Quit: th5]
iago has joined #ocaml
avsm has joined #ocaml
thomasga has joined #ocaml
ftrvxmtrx has joined #ocaml
_andre has joined #ocaml
cfp has joined #ocaml
cfp has left #ocaml []
createsoftware has joined #ocaml
createsoftware has quit [Client Quit]
ikaros has quit [Quit: Leave the magic to Houdini]
th5 has joined #ocaml
avsm has quit [Quit: Leaving.]
avsm has joined #ocaml
mal`` has quit [Quit: Coyote finally caught me]
mal`` has joined #ocaml
Yoric has quit [Quit: Yoric]
th5 has quit [Quit: th5]
itewsh has joined #ocaml
thelema has quit [Remote host closed the connection]
pikachuyann has quit [Quit: à la prochaiiine]
thelema has joined #ocaml
kaustuv_ has joined #ocaml
kaustuv has quit [Ping timeout: 265 seconds]
barismetin has joined #ocaml
munga has quit [Quit: Ex-Chat]
seafood has joined #ocaml
mjonsson has joined #ocaml
seafood has quit [Ping timeout: 240 seconds]
avsm has quit [Quit: Leaving.]
avsm has joined #ocaml
mjonsson has quit [Remote host closed the connection]
itewsh has quit [Quit: o/]
thomasga has quit [Ping timeout: 265 seconds]
boscop_ has left #ocaml []
boscop has joined #ocaml
roconnor has joined #ocaml
_andre has quit [Quit: leaving]
_andre has joined #ocaml
_unK has joined #ocaml
Yoric has joined #ocaml
thomasga has joined #ocaml
ttamttam has joined #ocaml
ccasin has joined #ocaml
ttamttam has quit [Remote host closed the connection]
<roconnor>
I'm trying to build lablgtkmathview and I'm getting a compilation error when building ocamlfind ocamlc -verbose -package "gdome2 lablgtk2" -predicates "" -c gtk_mathview.ml
<roconnor>
I get the error Error: Unbound type constructor Gtk.widget
<roconnor>
gtk_mathview.ml is effectively contains only one line:
<roconnor>
type math_view = [Gtk.widget|`mathview_gmetadom]
<roconnor>
similarly when building ocamlfind ocamlc -package "gdome2 lablgtk2" -predicates "" -c gtkMathViewProps.ml I get the error
<MarcWeber>
xp
<roconnor>
Error: Unbound module Gobject
<roconnor>
on the first line of gtkMathViewProps.ml
<roconnor>
open Gobject
<roconnor>
so obviously I haven't configured my environment properly for gtk stuff?
<adrien>
roconnor: is labgtk2(-dev) installed? if so, how did you install? library packages?
<adrien>
ergh, "distro packages"? and if so, which distro
<roconnor>
my lablgtk2 installation is accessible at ~/.nix-profile/lib/ocaml/lablgtk2/ which is a symlink to it's installed location
<roconnor>
so ocamlfind knows about wy5s1wklyh0w41pciws5nlmrgwlsy2al, but that isn't too surprising. That is where ocaml is installed, and it probably wants to know that.
<roconnor>
but no hits were found in /home/roconnor/.nix-profile/lib/ocaml/lablgtk2
<roconnor>
well, techinically that isn't true, cause it found
<roconnor>
adrien: okay I probably need to set OCAMLFIND_DESTDIR and such when when building lablgtk2 then
barismetin has quit [Remote host closed the connection]
caligula_ has joined #ocaml
caligula__ has quit [Ping timeout: 276 seconds]
<adrien>
roconnor: that could do it
<adrien>
I'm sorry I can't help more, it's been a long time I had to use that =/
<roconnor>
adrien: that is how all my other packages have been built so far
<roconnor>
lablgtk was an exception because I got the build commands from elsewhere
<adrien>
ah, ok, I see
<roconnor>
ah crap
<roconnor>
still doesn't work
<roconnor>
oh
<roconnor>
hmm
<roconnor>
apparently I might need to do an ocamlfind install
<MarcWeber>
Which data structure should I use as set? add elements and test whether they have been added?
<MarcWeber>
The sets are small. Less than 10 elements. Maybe I should use a list..
thomasga has quit [Excess Flood]
thomasga has joined #ocaml
coucou747 has quit [Ping timeout: 240 seconds]
_andre has quit [Quit: Lost terminal]
_andre has joined #ocaml
<flux>
marcweber, how about Set?
<MarcWeber>
:)
brendan has quit [Quit: leaving]
coucou747 has joined #ocaml
thomasga has quit [Ping timeout: 264 seconds]
brendan has joined #ocaml
thomasga has joined #ocaml
philtor has joined #ocaml
ikaros has joined #ocaml
_unK has quit [Remote host closed the connection]
Yoric has quit [Quit: Yoric]
ikaros has quit [Quit: Leave the magic to Houdini]
avsm has quit [Quit: Leaving.]
avsm has joined #ocaml
ikaros has joined #ocaml
ftrvxmtrx has joined #ocaml
ikaros has quit [Quit: Leave the magic to Houdini]
philtor has quit [Ping timeout: 276 seconds]
ikaros has joined #ocaml
ikaros has quit [Client Quit]
ikaros has joined #ocaml
ulfdoz has joined #ocaml
Anarchos has joined #ocaml
Anarchos has quit [Remote host closed the connection]
Anarchos has joined #ocaml
Yoric has joined #ocaml
oriba has joined #ocaml
ftrvxmtrx has quit [Read error: Connection reset by peer]
oriba has quit [Quit: Verlassend]
ygrek has joined #ocaml
ftrvxmtrx has joined #ocaml
iago has quit [Quit: Leaving]
Edward has joined #ocaml
olauzon has joined #ocaml
Anarchos has quit [Remote host closed the connection]
Anarchos has joined #ocaml
_andre has quit [Quit: Lost terminal]
Tianon has quit [Read error: Operation timed out]
Tianon has joined #ocaml
Tianon has quit [Changing host]
Tianon has joined #ocaml
<roconnor>
what is the recommended nice arg parsing library for ocaml?
<adrien>
Arg module, not very nice ; Getopt, not very different ; I heard about some better one relying on actual parsing, don't know of any actual implementation however and I'm quite curious
<roconnor>
adrien: is the arg module typically used with global variables?
<roconnor>
heh val current : int ref
<adrien>
yeah
<roconnor>
this doesn't feel thread-safe
<hcarty>
roconnor: They don't have to be global
<hcarty>
Nevermind - I see what you're talking about
<hcarty>
Sorry for the outburst :-)
<adrien>
well, they don't have to
<roconnor>
hcarty: oh, how do I localize references?
<roconnor>
I'm new to this mutating functional programming style.
Edward has quit []
<roconnor>
:)
<hcarty>
The Arg.current value you pointed out is global
<adrien>
but Arg is mostly about mutating references so you can't really declare the variables as you parse, but you can have they local to a function which runs the "parsing"
<hcarty>
What adrien said
<roconnor>
oh
<roconnor>
that doesn't sound so bad
<adrien>
but it's not a big deal anyway because you typically do it only once, when you don't even have several threads
<roconnor>
ya, that is true.
<roconnor>
so I do "let somebool = ref false in ..." in the body of some function and at the end of the function the reference will be garagle collected?
<adrien>
I've actually started some kind of arg-parsing library but it's very very simple (everything is a string) and haven't had a lot of development but it was quite nice for my limited use, I might work more on it if I have the time
<adrien>
there was also a blog post recently about a nicer arg parsing, with functional unparsing iirc, but I think there was no implementation along it ='(
ulfdoz has quit [Ping timeout: 258 seconds]
<hcarty>
roconnor: Yes, that is correct. Unless you return the reference itself to the caller.
ccasin has quit [Quit: Leaving]
ygrek has quit [Ping timeout: 245 seconds]
roconnor has quit [Remote host closed the connection]
Anarchos has quit [Quit: Vision[0.9.7-H-090423]: i've been blurred!]
Edward has joined #ocaml
Yoric has quit [Quit: Yoric]
cthuluh has quit [Ping timeout: 260 seconds]
cthuluh has joined #ocaml
avsm has quit [Quit: Leaving.]
Edward has quit []
Edward has joined #ocaml
boscop_ has joined #ocaml
boscop has quit [Ping timeout: 245 seconds]
boscop_ has left #ocaml []
boscop has joined #ocaml
Edward has quit [Ping timeout: 264 seconds]
ftrvxmtrx has quit [Ping timeout: 240 seconds]
_unK has joined #ocaml
Edward has joined #ocaml
olauzon has quit [Quit: olauzon]
npouillard has quit [Read error: Operation timed out]
gildor has quit [Ping timeout: 264 seconds]
ikaros has quit [Quit: Leave the magic to Houdini]