mattam has quit [Read error: 110 (Connection timed out)]
lament has quit [Read error: 104 (Connection reset by peer)]
olrion has quit [Read error: 113 (No route to host)]
lament has joined #ocaml
lament has quit [Remote closed the connection]
lament has joined #ocaml
lament has quit [Remote closed the connection]
lament has joined #ocaml
lament has quit [Remote closed the connection]
lament has joined #ocaml
lament has quit [Remote closed the connection]
lament has joined #ocaml
rox has joined #ocaml
lament has quit [Remote closed the connection]
lus|wazze has quit ["Quidquid latine dictum sit, altum sonatur."]
rox has quit ["Client exiting"]
rox has joined #ocaml
lament has joined #ocaml
lament has quit ["A FIRE DRILL DOES NOT DEMAND A FIRE"]
lament has joined #ocaml
whee has quit ["BitchX-1.0c18 -- just do it."]
rhil_ATL is now known as rhil
rhil is now known as rhil_zzz
rox has quit [Remote closed the connection]
rox has joined #ocaml
lament has quit ["I WILL NOT MESS WITH THE OPENING CREDITS"]
emu_ is now known as emu
async has quit [Remote closed the connection]
Zadeh has joined #ocaml
__DL__ has joined #ocaml
foxster has joined #ocaml
reltuk has quit ["Client exiting"]
systems has joined #ocaml
systems has quit [Client Quit]
rhil_zzz is now known as rhil
lus|wazze has joined #ocaml
Vincenz has joined #ocaml
smklsmkl has quit [Read error: 104 (Connection reset by peer)]
smklsmkl has joined #ocaml
<Vincenz>
hello
<Vincenz>
I have a practical question concerning Dynlink.
gene9 has joined #ocaml
gene9 has quit [Client Quit]
gene9 has joined #ocaml
<__DL__>
Vincenz : don't day you have a question, ask it.
<__DL__>
(I mean say...)
<Vincenz>
I was checking if anyone was actually alive
<__DL__>
well, My computer is on all day long, and from time to time, I read the chat
<__DL__>
And if there is a quesion I could answer, i might do it....
<Vincenz>
Well, if I wanted to write a program, and modules could be loaded in dynamically. And these modules could register certain functions in the environment. Wouldn't that mean that everyone who'd wished to write a module would have to link in the entire environment?
<__DL__>
the need to know the interface of the things that they need to use
<__DL__>
so they don't have to link with it, but they need the cmi to compile against it
<Vincenz>
ah alright :)
gene9 has quit [Read error: 104 (Connection reset by peer)]
lus|wazze has quit ["Quidquid latine dictum sit, altum sonatur."]
lus|wazze has joined #ocaml
Vincenz has quit []
mrvn_ is now known as mrvn
docelic has joined #ocaml
systems has joined #ocaml
systems has quit ["Client Exiting"]
TachYon has joined #ocaml
olrion has joined #ocaml
lament has joined #ocaml
<olrion>
yop yop
TachYon has quit ["Client Exiting"]
mrvn_ has joined #ocaml
mrvn has quit [Read error: 110 (Connection timed out)]
lament has quit ["NERVE GAS IS NOT A TOY"]
asqui has quit [asimov.freenode.net irc.freenode.net]
asqui has joined #ocaml
asqui has quit [Killed (zelazny.freenode.net (clarke.freenode.net <- leguin.freenode.net))]
asqui has joined #ocaml
asquii has joined #ocaml
asqui has quit [asimov.freenode.net irc.freenode.net]
asquii is now known as asqui
whee has joined #ocaml
mrvn_ is now known as mrvn
mattam_ is now known as mattam
reltuk has joined #ocaml
TachYon has joined #ocaml
TachYon has quit [Read error: 104 (Connection reset by peer)]
reltuk has quit ["Client exiting"]
drlion has joined #ocaml
<drlion>
how come this is reported as a syntax error? (i padded with spaces the character it complains about) inherit [[landscape_widget ] landscape, Subject.event] observer
<lus|wazze>
you have to give it types, not classes as arguments
<lus|wazze>
observer, that is
<lus|wazze>
so you mustnt enclose the type argument to landscape in [ brackets ]
<drlion>
ooh.. i think. that was it anyway. but then how come i need to enclose the arguments to observer in brackets?
<lus|wazze>
because you want to specify the class not the type
<lus|wazze>
[ foo ] bar is the CLASS bar instantiated with its argument 'a as type foo
<lus|wazze>
foo bar is the TYPE bar instantiated etc
<lus|wazze>
you can only inherit from classes
<lus|wazze>
the distinction is there because you can explicitly define class types, and then have several classes of the same type
<drlion>
ah. that kind of makes sense. thanks :-)
<drlion>
and now for someting completely different: i have a method that takes a function and calls it with certain arguments, but the compiler complains that it doesn't know what the function will return, even though i don't care the least about the return value (it's unit). so i have two questions: 1) why can't it infer the type of the function from where i call the method, and 2) can i somehow explicitly state that the function re
<lus|wazze>
1) i dont know, it SHOULD be able to infer the type
<lus|wazze>
2) yes it IS possible
<lus|wazze>
method foo (f: 'a -> unit) = ...
<drlion>
aaah :)
<drlion>
i was trying (f a b c) : unit and let _ : unit = f a b c and all kinds of funky stuff
<drlion>
thanks again
Kinners has joined #ocaml
mattam has quit [Read error: 113 (No route to host)]
lus|wazze has quit ["Quidquid latine dictum sit, altum sonatur."]