00:17
mimosa has quit ["I like core dumps"]
00:33
mattam_ is now known as mattam
00:52
Kinners has joined #ocaml
02:11
lus|wazze has quit ["Copyright is a temporary loan from the public domain, not property"]
02:14
lus|wazze has joined #ocaml
02:29
async has joined #ocaml
02:29
<
async >
whats the best way to convert a string into a list of characters?
02:30
<
async >
like is there a predefined function that does it?
02:33
<
Kinners >
search for "ocaml explode"
02:41
polin8 has quit [Read error: 60 (Operation timed out)]
02:42
brwill_zzz is now known as brwill
03:08
brwill has quit [Read error: 60 (Operation timed out)]
03:16
brwill has joined #ocaml
03:19
lus|wazze has quit ["Copyright is a temporary loan from the public domain, not property"]
03:22
lus|wazze has joined #ocaml
03:23
lus|wazze has quit [Client Quit]
04:06
Kinners has left #ocaml []
04:31
chris1 has quit [Read error: 104 (Connection reset by peer)]
04:31
async has quit [Read error: 104 (Connection reset by peer)]
04:51
trauma has joined #ocaml
04:53
trauma has quit [Client Quit]
05:00
trauma has joined #ocaml
05:01
trauma has quit [Remote closed the connection]
07:45
brwill is now known as brwill_zzz
10:24
Demitar has joined #ocaml
11:14
buggs|afk has joined #ocaml
11:31
buggs has quit [Read error: 110 (Connection timed out)]
11:47
mimosa has joined #ocaml
12:17
mattam_ has joined #ocaml
12:20
<
yella >
if i want to create bindings for a c library should I rather use camlidl or do it ..by myself ?
12:22
<
phubuh >
How can I see what symbols an object file exports?
12:22
<
Demitar >
Depends on how large the library is and how much you know about the ffi and camlidl respectively.
12:22
mattam has quit [Read error: 60 (Operation timed out)]
12:22
<
Demitar >
phubuh: C or OCaml?
12:25
<
Demitar >
phubuh, running ocamlc with -i dumps the types instead of compiling.
12:26
<
phubuh >
I only have the compiled module. :-/
12:26
<
Demitar >
Do you have the .cmi?
12:27
<
phubuh >
Nope, just the a, cma and cmxa.
12:30
mimosa has quit [Read error: 110 (Connection timed out)]
12:32
<
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.
12:32
<
Demitar >
Or for a more readable version run nm on the .a
12:33
<
Demitar >
It doesn't give you the types naturally.
12:34
<
Demitar >
It's the text sections (T) with Module__symbolname_numericid you're interested in as you might have suspected.
12:36
<
phubuh >
Ah, clever. Thanks. :-)
12:41
<
phubuh >
Err, wrong channel.
12:45
mimosa has joined #ocaml
13:40
systems has joined #ocaml
14:03
maihem has joined #ocaml
14:04
mattam_ is now known as mattam
14:09
systems has left #ocaml []
14:56
ASau has joined #ocaml
15:26
lus|wazze has joined #ocaml
15:31
rox has quit [Read error: 113 (No route to host)]
15:57
maihem has quit ["Client exiting"]
16:10
rox has joined #ocaml
16:54
phubuh has quit [Remote closed the connection]
16:54
phubuh has joined #ocaml
17:32
phubuh has quit [Remote closed the connection]
17:45
lus|wazze has quit ["Copyright is a temporary loan from the public domain, not property"]
19:24
buggs|afk has quit [Read error: 54 (Connection reset by peer)]
19:29
buggs|afk has joined #ocaml
20:13
phubuh has joined #ocaml
21:19
Demitar has quit [calvino.freenode.net irc.freenode.net]
21:19
liyang has quit [calvino.freenode.net irc.freenode.net]
21:19
Hadaka has quit [calvino.freenode.net irc.freenode.net]
21:19
vegai has quit [calvino.freenode.net irc.freenode.net]
21:19
yella has quit [calvino.freenode.net irc.freenode.net]
21:20
yella has joined #ocaml
21:22
Hadaka has joined #ocaml
21:22
Demitar has joined #ocaml
21:23
liyang has joined #ocaml
21:32
Hadaka has quit [calvino.freenode.net irc.freenode.net]
21:32
Demitar has quit [calvino.freenode.net irc.freenode.net]
21:32
Hadaka has joined #ocaml
21:32
Demitar has joined #ocaml
22:13
lus|wazze has joined #ocaml
22:23
maihem has joined #ocaml
22:48
Kinners has joined #ocaml
22:54
Etaoin has quit ["Client exiting"]
22:59
owll has joined #ocaml
22:59
owll has quit [Read error: 104 (Connection reset by peer)]
23:04
buggs|afk is now known as buggs
23:14
maihem has quit ["Client exiting"]
23:18
maihem has joined #ocaml
23:32
ASau has left #ocaml []
23:35
yinnte has joined #ocaml
23:52
Kinners has left #ocaml []
23:53
<
Demitar >
Can I not pass the current class as a type argument to an class I'm inheriting from?
23:53
<
Demitar >
class virtual ['a] super = object method virtual get_list : 'a list end
23:54
<
Demitar >
class derived = object inherit derived super \n method get_list = [] end
23:54
<
Demitar >
Or perhaps inherit (derived super)
23:56
yinnte has quit ["leaving"]
23:57
<
Demitar >
Or rather is there a way to get around it?