vect changed the topic of #ocaml to: OCaml 3.07 ! -- Archive of Caml Weekly News: http://pauillac.inria.fr/~aschmitt/cwn, ICFP'03 http://www.icfpcontest.org/, A tutorial: http://merjis.com/richj/computers/ocaml/tutorial/, A free book: http://cristal.inria.fr/~remy/cours/appsem, Mailing List (best ml ever for any computer language): http://caml.inria.fr/bin/wilma/caml-list
mimosa has quit ["I like core dumps"]
mattam_ is now known as mattam
Kinners has joined #ocaml
lus|wazze has quit ["Copyright is a temporary loan from the public domain, not property"]
lus|wazze has joined #ocaml
async has joined #ocaml
<async> whats the best way to convert a string into a list of characters?
<async> like is there a predefined function that does it?
<Kinners> no
<Kinners> search for "ocaml explode"
polin8 has quit [Read error: 60 (Operation timed out)]
brwill_zzz is now known as brwill
brwill has quit [Read error: 60 (Operation timed out)]
brwill has joined #ocaml
lus|wazze has quit ["Copyright is a temporary loan from the public domain, not property"]
lus|wazze has joined #ocaml
lus|wazze has quit [Client Quit]
Kinners has left #ocaml []
chris1 has quit [Read error: 104 (Connection reset by peer)]
async has quit [Read error: 104 (Connection reset by peer)]
trauma has joined #ocaml
trauma has quit [Client Quit]
trauma has joined #ocaml
trauma has quit [Remote closed the connection]
brwill is now known as brwill_zzz
Demitar has joined #ocaml
buggs|afk has joined #ocaml
buggs has quit [Read error: 110 (Connection timed out)]
mimosa has joined #ocaml
mattam_ has joined #ocaml
<yella> if i want to create bindings for a c library should I rather use camlidl or do it ..by myself ?
<phubuh> How can I see what symbols an object file exports?
<Demitar> Depends on how large the library is and how much you know about the ffi and camlidl respectively.
mattam has quit [Read error: 60 (Operation timed out)]
<Demitar> phubuh: C or OCaml?
<phubuh> OCaml
<Demitar> phubuh, running ocamlc with -i dumps the types instead of compiling.
<phubuh> I only have the compiled module. :-/
<Demitar> Do you have the .cmi?
<phubuh> Nope, just the a, cma and cmxa.
mimosa has quit [Read error: 110 (Connection timed out)]
<Demitar> Well you can get some idea by looking at the end of the .cma the defined symbols are (i suspect) the ones prefixed with 0x93 and another character (possibly type) <symbolname> ended with ^A.
<Demitar> Or for a more readable version run nm on the .a
<Demitar> It doesn't give you the types naturally.
<Demitar> It's the text sections (T) with Module__symbolname_numericid you're interested in as you might have suspected.
<phubuh> Ah, clever. Thanks. :-)
<phubuh> Err, wrong channel.
mimosa has joined #ocaml
systems has joined #ocaml
maihem has joined #ocaml
mattam_ is now known as mattam
systems has left #ocaml []
ASau has joined #ocaml
lus|wazze has joined #ocaml
rox has quit [Read error: 113 (No route to host)]
maihem has quit ["Client exiting"]
rox has joined #ocaml
phubuh has quit [Remote closed the connection]
phubuh has joined #ocaml
phubuh has quit [Remote closed the connection]
lus|wazze has quit ["Copyright is a temporary loan from the public domain, not property"]
buggs|afk has quit [Read error: 54 (Connection reset by peer)]
buggs|afk has joined #ocaml
phubuh has joined #ocaml
Demitar has quit [calvino.freenode.net irc.freenode.net]
liyang has quit [calvino.freenode.net irc.freenode.net]
Hadaka has quit [calvino.freenode.net irc.freenode.net]
vegai has quit [calvino.freenode.net irc.freenode.net]
yella has quit [calvino.freenode.net irc.freenode.net]
yella has joined #ocaml
Hadaka has joined #ocaml
Demitar has joined #ocaml
liyang has joined #ocaml
Hadaka has quit [calvino.freenode.net irc.freenode.net]
Demitar has quit [calvino.freenode.net irc.freenode.net]
Hadaka has joined #ocaml
Demitar has joined #ocaml
lus|wazze has joined #ocaml
maihem has joined #ocaml
Kinners has joined #ocaml
Etaoin has quit ["Client exiting"]
owll has joined #ocaml
owll has quit [Read error: 104 (Connection reset by peer)]
buggs|afk is now known as buggs
maihem has quit ["Client exiting"]
maihem has joined #ocaml
ASau has left #ocaml []
yinnte has joined #ocaml
Kinners has left #ocaml []
<Demitar> Can I not pass the current class as a type argument to an class I'm inheriting from?
<Demitar> class virtual ['a] super = object method virtual get_list : 'a list end
<Demitar> class derived = object inherit derived super \n method get_list = [] end
<Demitar> Or perhaps inherit (derived super)
yinnte has quit ["leaving"]
<Demitar> Or rather is there a way to get around it?