zmdkrbou has quit [Read error: 104 (Connection reset by peer)]
zmdkrbou has joined #ocaml
Mr_Awesome has joined #ocaml
psnively has quit []
evolvlng has quit ["This computer has gone to sleep"]
Abo-Marwan has joined #ocaml
Smerdyakov has quit ["Leaving"]
screwt8 has joined #ocaml
netx has joined #ocaml
yminsky has joined #ocaml
Abo-Marwan has quit [Remote closed the connection]
screwt8 has quit [Remote closed the connection]
yminsky has quit []
yminsky has joined #ocaml
yminsky has quit [Client Quit]
yminsky has joined #ocaml
[azoic] has joined #ocaml
yminsky has quit []
evolvlng has joined #ocaml
nuncanada has quit ["Leaving"]
mordaunt has joined #ocaml
seafoodX has joined #ocaml
mvitale_ has quit [Read error: 113 (No route to host)]
mvitale has quit [Read error: 113 (No route to host)]
joshcryer has quit [Read error: 104 (Connection reset by peer)]
<evolvlng>
im new to OCaml .. been reading bits and pieces .. im familiar with c/c++ and how it works with python .. in that you can embed python to operate your apps datastructures .. is the same thing possible with OCaml - would ocamlscript be the way to go?
joshcryer has joined #ocaml
<evolvlng>
also - metaocaml .... maybe?
[azoic1 has joined #ocaml
[azoic] has quit [Read error: 110 (Connection timed out)]
pants1 has joined #ocaml
rhz has joined #ocaml
<rhz>
How can one specify the search directories for opening modules when in the ocaml top level interpreter?
evolvlng has quit ["Leaving"]
<flux>
rhz, I'm thinking you need to use the command line..
<flux>
rhz, however, this is very useful if you use ocamlfind: #use "topfind";;
<rhz>
flux: thanks
<flux>
perhaps it removes the need to add serach directories in runtime
kjhlkjh has joined #ocaml
mordaunt has quit [Nick collision from services.]
kjhlkjh is now known as mordaunt
Tetsuo has joined #ocaml
<rhz>
anybody know how one can use the pxp library to parse an xml document not containing a DTD section?
<rhz>
oh I think I've got it now
netx has quit [Read error: 110 (Connection timed out)]
Tetsuo has quit ["Leaving"]
[azoic1 has quit ["Leaving."]
pants1 has quit ["Leaving."]
Demitar has quit [Read error: 110 (Connection timed out)]
<rwmjones>
rhz, use xml-light instead, it's a lot simpler
<rhz>
rwmjones: What does that mean?
<rhz>
ie, what is "xml-light"?
<rwmjones>
there's this marvellous new website out there called http://google.com/
<rhz>
rwmjones: ok thanks. I'll look into it.
Naked has joined #ocaml
Naked is now known as Hadaka
Demitar has joined #ocaml
svenl has quit [Remote closed the connection]
svenl has joined #ocaml
screwt8 has joined #ocaml
olegfink has quit [Read error: 104 (Connection reset by peer)]
olegfink has joined #ocaml
netx has joined #ocaml
Tetsuo has joined #ocaml
Demitar has quit [Read error: 110 (Connection timed out)]
Smerdyakov has joined #ocaml
Demitar has joined #ocaml
seafoodX has quit []
leo037 has joined #ocaml
slipstream has joined #ocaml
slipstream-- has quit [Read error: 113 (No route to host)]
ita has joined #ocaml
mvitale_ has joined #ocaml
mvitale has joined #ocaml
ygrek has joined #ocaml
Tetsuo has quit [Remote closed the connection]
screwt8 has quit [Read error: 104 (Connection reset by peer)]
Abo-Marwan has joined #ocaml
authentic has quit [Remote closed the connection]
screwt8 has joined #ocaml
slipstream has quit [kornbluth.freenode.net irc.freenode.net]
zmdkrbou has quit [kornbluth.freenode.net irc.freenode.net]
bengordon has quit [kornbluth.freenode.net irc.freenode.net]
slipstream has joined #ocaml
zmdkrbou has joined #ocaml
bengordon has joined #ocaml
bengordon has quit [Connection reset by peer]
Tetsuo has joined #ocaml
pants1 has joined #ocaml
Cygaal has joined #ocaml
authentic has joined #ocaml
<rhz>
How can one obtain the string for the value of some variable of any given type, like it appears in the top level?
<Smerdyakov>
No such facility is implementable in OCaml.
<Smerdyakov>
What you see in the toplevel is extra-linguistic tool support.
<flux>
rhz, however, there are language extensions that can simulate that pretty nicely, depending on your needs
<flux>
rhz, perhaps you could check out caml hump's language extension category to see if there's anything of interest
<rwmjones>
rhz: OCaml doesn't carry that information around at runtime (which is a good thing, otherwise it'd be a bloater like Python). However you can print out something about the structure of objects using, eg., Std.dump function in ocaml extlib
<flux>
also there's a library (for debugging use) that.. well yeah, like that, although I didn't remember its name
<rwmjones>
someone posted another one on caml-list only about a month ago which was really cool ...
<flux>
ok, it's probably that what I'm thinking of
<flux>
it didn't really penetrate the type system though, did it?
crathman has joined #ocaml
mordaunt has quit [Read error: 104 (Connection reset by peer)]
<crathman>
Spent a little more time on SICP translation to O'Caml:
authentic has quit [Read error: 110 (Connection timed out)]
^authentic is now known as authentic
<rhz>
flux, rwmjones, thanks for the help
<rhz>
I'm off
rhz has quit []
Cygaal has quit [Read error: 110 (Connection timed out)]
[azoic] has joined #ocaml
pango has quit [Remote closed the connection]
pango has joined #ocaml
seafoodX has joined #ocaml
crabstick_ has joined #ocaml
leo037 has quit ["Leaving"]
[azoic] has quit ["Leaving."]
crabstick has quit [Read error: 110 (Connection timed out)]
pants1 has quit [Connection timed out]
seafoodX has quit []
bluestorm has joined #ocaml
Cygaal has joined #ocaml
lde has quit [Remote closed the connection]
lde has joined #ocaml
Abo-Marwan has quit [Remote closed the connection]
screwt8 has quit [Remote closed the connection]
cognominal_ has joined #ocaml
<cognominal_>
how one would say "bottom type" in French?
<cognominal_>
I ask the question here cuz ocaml is relatively popular in France. At least compared to other functional programming languages
<cognominal_>
so some people here may speak french
<bluestorm>
what do you mean by "bottom type" ?
<bluestorm>
hm
<bluestorm>
wikipedia says it's _|_
<bluestorm>
(although iirc the Haskell _|_ doesn't have the same meaning, as Haskell's _|_ inhabits every type)
<bluestorm>
cognominal_: I'd go for "empty type" and say "type vide"
<cognominal_>
in fact, I want to translate the english wikipedia article.
<cognominal_>
Sometimes I don't get everything correct and get insulted. But once an article is started with a minimum quality it converges pretty fast to a good article with some help.
<cognominal_>
but if I don't even get the title correctly I am in deep doo doo.
<bluestorm>
i'd accept to review your traduction
<bluestorm>
(i'm french)
<mbishop>
5 MINUTE MADNESS! The program includes one hour of 5 minute madness slots, open to all participants, on the topic of "Design Ideas for Next-Generation ML". Come prepared!
<mbishop>
heh, neat
<cognominal_>
mbishop, in 12 steps, I hope :)
<cognominal_>
bluestorm, thx
Abo-Marwan has joined #ocaml
<mbishop>
Anyone see Dave Herman recently?
<Smerdyakov>
mbishop, did you e-mail him?
<mbishop>
No, I was just asking because I've seen him here (and #sml, and #scheme as well, I think) before
<mbishop>
guess I'll have to settle for email, though
<cognominal_>
bluestorm: I commited my wp article
<bluestorm>
ok
<bluestorm>
cognominal_: i just changed a few things
<bluestorm>
but that seems overall good
ygrek has quit [Remote closed the connection]
<jonathanv>
what does ocaml do with memory
<jonathanv>
i wrote a program to find prime numbers
<jonathanv>
as near as i can tell, it's using 20MB of memory to find all the prime numbers under a million
<cognominal_>
bluestorm, thx
<Smerdyakov>
"What does OCaml do with memory?"... an interesting question... sort of like "What happened in history?"
<jonathanv>
hah
<bluestorm>
how do you measure it ?
<bluestorm>
(and do you have some code to show ?)
<jonathanv>
windows task manager
<bluestorm>
looks like 20 byte per number is not _that_ much
<jonathanv>
yeah i guess not
<jonathanv>
it feels like it should be using more
<jonathanv>
math does not feel the same way
bluestorm has quit ["Konversation terminated!"]
mvitale has quit [Read error: 113 (No route to host)]
ita has quit [Read error: 110 (Connection timed out)]
mvitale_ has quit [Read error: 113 (No route to host)]
mvitale has joined #ocaml
mvitale_ has joined #ocaml
jlouis_ has joined #ocaml
jlouis has quit [Read error: 110 (Connection timed out)]
Abo-Marwan has quit [Read error: 104 (Connection reset by peer)]
Abo-Marwan has joined #ocaml
Cygaal has quit [Remote closed the connection]
Abo-Marwan has quit [Remote closed the connection]
ita has joined #ocaml
mvitale has quit [Read error: 113 (No route to host)]
mvitale_ has quit [Read error: 113 (No route to host)]
Abo-Marwan has joined #ocaml
screwt8 has joined #ocaml
Hadaka has quit [Read error: 60 (Operation timed out)]
Tetsuo has quit ["Leaving"]
mvitale has joined #ocaml
saccade has joined #ocaml
mvitale_ has joined #ocaml
mvitale has quit [Read error: 113 (No route to host)]
crathman has quit [Read error: 110 (Connection timed out)]