<thelema>
det: thanks - that should work better than alternatives
slash_ has quit [Client Quit]
jason has joined #ocaml
jason is now known as Guest45656
espresso has joined #ocaml
thrasibule has joined #ocaml
verte has joined #ocaml
verte is now known as verte-work
sOpen has joined #ocaml
ttamttam1 has joined #ocaml
Ringo47 has quit ["Leaving"]
Ringo48 has joined #ocaml
Guest45656 has quit []
Associat0r has joined #ocaml
Associat0r has quit [Remote closed the connection]
whale has quit [hubbard.freenode.net irc.freenode.net]
gildor_ has quit [hubbard.freenode.net irc.freenode.net]
mishok13 has quit [hubbard.freenode.net irc.freenode.net]
mishok13 has joined #ocaml
whale has joined #ocaml
gildor_ has joined #ocaml
BigJ has quit [Success]
tvn2009 has joined #ocaml
<tvn2009>
how do I delete a non-empty directory ? the Unix.rmdir dir_name doesn't work if the dir is not empty
ttamttam1 has quit ["Leaving."]
Submarine has joined #ocaml
<flux>
tvn2009, you need to recursively remove the contents first..
<flux>
tvn2009, I think there are some shell-oriented ocaml libraries around which might have the capability
<tvn2009>
I just tell it to Unix.system "rm -rf dir"
<tvn2009>
:]
Yoric[DT] has joined #ocaml
julm_ has joined #ocaml
BigJ has joined #ocaml
<flux>
if the directory is user-provided content, be more careful than that :) (for example use "--" and Filename.quote)
<tvn2009>
yeh, it's just debugging dir created in /tmp
julm has quit [Read error: 110 (Connection timed out)]
f[x] has joined #ocaml
caligula__ has joined #ocaml
maskd- has joined #ocaml
maskd has quit [Read error: 60 (Operation timed out)]
caligula_ has quit [Read error: 110 (Connection timed out)]
Yoric[DT] has quit ["Ex-Chat"]
deavid has quit ["Goodbye."]
Submarine has quit [Read error: 60 (Operation timed out)]
julm_ is now known as julm
ttamttam has quit ["Leaving."]
ttamttam has joined #ocaml
verte-work has quit ["~~~ Crash in JIT!"]
hkBst has joined #ocaml
caligula_ has joined #ocaml
caligula__ has quit [Read error: 110 (Connection timed out)]
_zack has joined #ocaml
sOpen has quit [Read error: 110 (Connection timed out)]
verte has joined #ocaml
Ched has joined #ocaml
sOpen has joined #ocaml
Ched has quit [Client Quit]
jonafan_ has joined #ocaml
verte has quit [hubbard.freenode.net irc.freenode.net]
espresso has quit [hubbard.freenode.net irc.freenode.net]
rwmjones has quit [hubbard.freenode.net irc.freenode.net]
aij has quit [hubbard.freenode.net irc.freenode.net]
Asmadeus has quit [hubbard.freenode.net irc.freenode.net]
schme has quit [hubbard.freenode.net irc.freenode.net]
fremo has quit [hubbard.freenode.net irc.freenode.net]
mbishop has quit [hubbard.freenode.net irc.freenode.net]
TaXules has quit [hubbard.freenode.net irc.freenode.net]
_zack has quit [hubbard.freenode.net irc.freenode.net]
hkBst has quit [hubbard.freenode.net irc.freenode.net]
f[x] has quit [hubbard.freenode.net irc.freenode.net]
thelema has quit [hubbard.freenode.net irc.freenode.net]
tomaw has quit [hubbard.freenode.net irc.freenode.net]
mlh has quit [hubbard.freenode.net irc.freenode.net]
petchema has quit [hubbard.freenode.net irc.freenode.net]
gim has quit [hubbard.freenode.net irc.freenode.net]
mehdid has quit [hubbard.freenode.net irc.freenode.net]
Camarade_Tux has quit [hubbard.freenode.net irc.freenode.net]
th1 has quit [hubbard.freenode.net irc.freenode.net]
hyperboreean has quit [hubbard.freenode.net irc.freenode.net]
rbancroft has quit [hubbard.freenode.net irc.freenode.net]
__marius__ has quit [hubbard.freenode.net irc.freenode.net]
caligula_ has quit [hubbard.freenode.net irc.freenode.net]
BigJ has quit [hubbard.freenode.net irc.freenode.net]
sgnb has quit [hubbard.freenode.net irc.freenode.net]
det has quit [hubbard.freenode.net irc.freenode.net]
haelix has quit [hubbard.freenode.net irc.freenode.net]
Ori_B has quit [hubbard.freenode.net irc.freenode.net]
tiz has quit [hubbard.freenode.net irc.freenode.net]
verte has joined #ocaml
espresso has joined #ocaml
rwmjones has joined #ocaml
aij has joined #ocaml
Asmadeus has joined #ocaml
schme has joined #ocaml
fremo has joined #ocaml
mbishop has joined #ocaml
TaXules has joined #ocaml
caligula_ has joined #ocaml
BigJ has joined #ocaml
sgnb has joined #ocaml
det has joined #ocaml
haelix has joined #ocaml
Ori_B has joined #ocaml
tiz has joined #ocaml
<flux>
is there an ocamlbuild flag for -unsafe?
tomaw has joined #ocaml
jonafan has quit [Connection timed out]
_zack has joined #ocaml
hkBst has joined #ocaml
f[x] has joined #ocaml
thelema has joined #ocaml
mlh has joined #ocaml
hyperboreean has joined #ocaml
petchema has joined #ocaml
gim has joined #ocaml
mehdid has joined #ocaml
Camarade_Tux has joined #ocaml
th1 has joined #ocaml
rbancroft has joined #ocaml
__marius__ has joined #ocaml
julm_ has joined #ocaml
julm has quit [Read error: 110 (Connection timed out)]
tmaeda0 is now known as tmaedaZ
julm_ is now known as julm
mfp has quit [Read error: 104 (Connection reset by peer)]
_zack has quit ["Leaving."]
_zack has joined #ocaml
thrasibule has quit [Read error: 110 (Connection timed out)]
nnyby_ has joined #ocaml
verte has quit ["~~~ Crash in JIT!"]
willb has joined #ocaml
Ched has joined #ocaml
<Camarade_Tux>
I'm thinking about dropping the "gir" in ocaml-gir, the more I use gobject-introspection, the less I can stand it
<Camarade_Tux>
it's a real piece of crap
<Camarade_Tux>
a piece of crap which sometimes just skips some function parameters, for example if a function takes a GError**, it won't be mentionned :)
mfp has joined #ocaml
<flux>
"gir"?
<Camarade_Tux>
*g*object-*i*ntrospection (and the 'r', I can't remember where it comes from ;) )
nnyby has quit [Read error: 110 (Connection timed out)]
<Camarade_Tux>
gobject-introspection creates three binaries and only one is useful for compile-time bindings, I'm more and more calling that one by hand, works definitely better
<tiz>
Invader Zim fan by any chance? :)
* Camarade_Tux
just discovered what Invader Zim was
<tiz>
Ah... one of the characters is called Gir, I thought it might be homage.
<Camarade_Tux>
well, maybe it is, I'm everything but part of the development
<tiz>
oic
<Camarade_Tux>
and that's the reason I might stop using that, it shouldn't be very hard: use frama-c to parse .c and .h files and when encountering a comment, check if it's not some kind of annotation (giving the meaning of arguments, if int* is an array or an out-parameter...)
f[x] has quit [Read error: 104 (Connection reset by peer)]
mlh_ has joined #ocaml
nnyby has joined #ocaml
mlh has quit [Read error: 110 (Connection timed out)]
Snark has joined #ocaml
Amorphous has quit [Read error: 110 (Connection timed out)]
tvn2009 has quit ["Leaving"]
nnyby_ has quit [Read error: 110 (Connection timed out)]
Amorphous has joined #ocaml
<flux>
maybe you could write bug reports to the gir folks?
<flux>
:)
jonafan_ has quit ["Leaving"]
maskd- is now known as maskd
_andre has joined #ocaml
espresso has quit [Read error: 104 (Connection reset by peer)]
<Camarade_Tux>
flux: I should hammer the gir's bugzilla and their mailing-list (except I don't want to subscribe to it, hmmm, nabble maybe)
<Camarade_Tux>
flux: I'll have to check out ganame too ;)
_zack has quit ["Leaving."]
_zack has joined #ocaml
f[x] has joined #ocaml
_zack has quit ["Leaving."]
jonafan_ is now known as jonafan
* thelema
is going to try making myocamlbuild.ml have options for ocamlviz
<hcarty>
thelema: That would be very cool
ttamttam has quit ["Leaving."]
<thelema>
ocamlviz is *pretty*
<thelema>
and it's not too hard to have myocamlbuild flags for it. (even the automatic instrumentation)
* thelema
isn't getting any hashtable or tree instrumentation... hmm
<thelema>
maybe I'm only instrumenting part of my code
julm_ has joined #ocaml
julm has quit [Nick collision from services.]
julm_ is now known as julm
Submarine has joined #ocaml
* thelema
tries annotating by hand
julm_ has joined #ocaml
slash_ has joined #ocaml
julm has quit [Read error: 110 (Connection timed out)]
Amorphous has quit [Read error: 145 (Connection timed out)]
_andre has quit ["leaving"]
Amorphous has joined #ocaml
Yoric[DT] has joined #ocaml
ttamttam has joined #ocaml
julm_ is now known as julm
_zack has joined #ocaml
albacker has joined #ocaml
appletizer has joined #ocaml
sramsay has joined #ocaml
julm has quit [Read error: 113 (No route to host)]
willb has quit [Read error: 145 (Connection timed out)]
ttamttam has quit ["Leaving."]
Snark has quit ["Ex-Chat"]
Submarine has quit [Client Quit]
_JusSx_ has joined #ocaml
tvn has joined #ocaml
<tvn>
in haskell I can do something like this map (1+) list but in ocaml I can't seem to do the same List.map (1+) list ? I have to do List.map (fun x -> 1+x) list
<orbitz>
((+)1) works
<tvn>
ah
<tvn>
ic
tvn has quit [Client Quit]
<orbitz>
welp, i've done my part
tvn has joined #ocaml
<orbitz>
oh, you again.
albacker has quit [Read error: 110 (Connection timed out)]
sOpen has quit [Read error: 110 (Connection timed out)]
<tvn>
?
ulfdoz has joined #ocaml
<hcarty>
tvn: Any infix operator ( +, -, /, * ) can be used that way. It is generally considered good practice to include a space around the operator to avoid (*) which would act as the start of a comment.
<tvn>
ah ic
<hcarty>
( * ), ( / ), etc..
f[x] has quit [Read error: 110 (Connection timed out)]
_zack has quit ["Leaving."]
_zack has joined #ocaml
Alpounet has joined #ocaml
tvn has quit ["Leaving"]
_JusSx_ has quit ["leaving"]
_zack has quit ["Leaving."]
Yoric[DT] has quit ["Ex-Chat"]
komar__ is now known as komar_
Alpounet has quit ["Leaving"]
onigiri has joined #ocaml
albacker has joined #ocaml
ztfw` has joined #ocaml
ztfw`` has joined #ocaml
hkBst has quit [Read error: 104 (Connection reset by peer)]
sramsay has quit ["Leaving"]
peddie has joined #ocaml
ztfw` has quit [Read error: 110 (Connection timed out)]
ztfw has quit [Read error: 110 (Connection timed out)]
peddie_ has quit [Read error: 110 (Connection timed out)]
albacker has quit ["Leaving"]
espresso has joined #ocaml
p0nce has joined #ocaml
p0nce has left #ocaml []
ztfw``` has joined #ocaml
ztfw`` has quit [Read error: 110 (Connection timed out)]