Sonarman has quit [Read error: 110 (Connection timed out)]
MrSmiley has joined #ocaml
mrvn_ has quit [Remote closed the connection]
__DL__ has joined #ocaml
Sonarman has joined #ocaml
pango has quit [Remote closed the connection]
mellum_ has joined #ocaml
Snark has joined #ocaml
bk_ has joined #ocaml
mellum has quit [Read error: 145 (Connection timed out)]
pango has joined #ocaml
<Demitar>
Anyone had any luck with accessing Panel in lablgtk2? It doesn't seem to be found. (Compiling the example applet.) ( ocamlfind ocamlc -package lablgtk2 -linkpkg -o test-lablgtk-applet applet.ml )
<MrSmiley>
jesus christ I don't want to take OCaml 1 year from now D:
<Snark>
MrSmiley: ?
<MrSmiley>
sorry, let me explain myself
<MrSmiley>
at KSU, they require OCaml to be taken, after seeing one of my friends struggle through the class
<MrSmiley>
I figured I'd get a "head start" by lurking in the ocaml room
<MrSmiley>
and reading online tutorials
<MrSmiley>
and I came upon something I disliked
<MrSmiley>
and sploded
<MrSmiley>
:D
<Snark>
ocaml isn't nice at first sight
<MrSmiley>
I've noticed
<Snark>
especially if you don't know that many languages
<mflux_>
on the contrary, it's very nice, I Suppose it depends on your background ;)
<Snark>
but when you know a few languages and get a little used to it, it is really nice
<Demitar>
A Cish (c, c++, python, ...) background can make OCaml seem very odd indeed. :)
<Snark>
a purely imperative background is just having no real background
<MrSmiley>
Hehehe
<MrSmiley>
whatcha talking 'bout
<MrSmiley>
C/C++/Java/PHP
<MrSmiley>
yeah those are my backgrounds :(
<Demitar>
MrSmiley, then I can understand your confusion, since your mind is thinking the other way around. ;-) (Been there.)
<Demitar>
Once you understand it you're quite likely to wonder how you ever got around without it. ;-)
<Snark>
a good background should have: functional vs imperative, gc vs no-gc, a few different flavor of typing (from the weak to the strong)
<MrSmiley>
ugh, maybe programming a VoIP in C isn't the brightest idea while reading an OCaml tutorial...
<Snark>
and I probably forget a few
<Snark>
MrSmiley: what VoIP are you programming?
<MrSmiley>
I am taking a crack shot at making my own VoIP system
<MrSmiley>
yes, re-inventing the wheel
<MrSmiley>
isn't that a great idea
<Snark>
well, gnomemeeting would need some more love
<MrSmiley>
heh
<MrSmiley>
no my bed needs some love
<MrSmiley>
this stuff is starting to hurt my head
Tachyon76 has joined #ocaml
<Snark>
eh :-)
mlh_ has quit [Client Quit]
Saulzar has left #ocaml []
m3ga has joined #ocaml
m3ga has quit ["disappearing into the sunset"]
MrSmiley has quit [Read error: 54 (Connection reset by peer)]
__DL__ has left #ocaml []
vezenchio has joined #ocaml
* Snark
wonders how to set the default filename when saving in a gtk filechooser (with lablgtk2, that is)
<Snark>
set_current_name may do the trick...
<Snark>
... it does!
Tachyon76 has quit ["Leaving"]
Demitar has quit [Read error: 110 (Connection timed out)]
Demitar has joined #ocaml
stef_ has joined #ocaml
cognominal has quit [Read error: 110 (Connection timed out)]
stef_ has quit [Nick collision from services.]
stef_ has joined #ocaml
_fab has joined #ocaml
bk_ has quit ["Leaving IRC - dircproxy 1.1.0"]
<y6cmE>
hi all,may I ask a questions?
<y6cmE>
I has download ocaml-win32-1.0.zip,run "nmake all" is fail.error info "....NMAKE: fatal error U1077: 'lib':return code '0x80' Stop.
dottedmag has joined #ocaml
y6cmE has quit [Read error: 110 (Connection timed out)]
dottedmag has quit [Read error: 110 (Connection timed out)]
|Lupin| has joined #ocaml
<|Lupin|>
Hi Camlers.
<|Lupin|>
I've a litlequestion.
<|Lupin|>
Consider a module M1 defined by m1.ml and m1.mli.
<|Lupin|>
I'm writing a module M2. I'd like that every program opening M2 sees everything defined in M1, in m2.mli and m2.ml.
<|Lupin|>
Has someone a suggestionforthis ?
<mflux_>
I think there's an include mechanism
<mflux_>
give a glimpse to the language specification
<|Lupin|>
I tried include but since there isno module type for M1, it doesn't work.
<|Lupin|>
mflux_: I just tried this.
<mflux_>
hmm
<mflux_>
I create threee files
<mflux_>
m1.ml: let foo = 42 m2.ml: include M1 mtest.ml: open M2 let _ = foo
<mflux_>
all files compile
<|Lupin|>
mflux_: Well, M1 is not hand-written, it's generated by alphaCaml...
<mflux_>
I can't see why it would matter
<mflux_>
or is the problem the .mli-file?
<mflux_>
you would propably need to automatically generate it for m2
<|Lupin|>
Yes.
<mflux_>
or atleast partially
<mflux_>
I guess that's not a satisfying solution
<|Lupin|>
mflux_: yes you're right, but really, it's ugly.
<|Lupin|>
well
<|Lupin|>
I'll probably continue with open M1 open M2 in all my other files for the moment...
<|Lupin|>
thanks anyway mflux_
<mflux_>
happy hacking ;)
<|Lupin|>
thanks :)
|Lupin| has left #ocaml []
<Herrchen_>
include works in signatures too
<Herrchen_>
but it seems one is unable to reference to the signature as defined in m1.mli at least it isn't called M1
Submarine has joined #ocaml
MrSmiley has joined #ocaml
pango has quit ["Leaving"]
mauke has quit [Read error: 54 (Connection reset by peer)]
stef_ has quit [Remote closed the connection]
stef_ has joined #ocaml
pango has joined #ocaml
haakonn has quit ["ullevåååål i morgen"]
eternite[2] has joined #ocaml
stef__ has joined #ocaml
stef__ has quit [Remote closed the connection]
stef__ has joined #ocaml
<ulfdoz_>
bye
stef_ has quit [Read error: 110 (Connection timed out)]
TaXules has quit [Remote closed the connection]
TaXules has joined #ocaml
Snark has quit ["Leaving"]
Submarine has quit ["Leaving"]
__DL__ has joined #ocaml
__DL__ has quit ["Bye Bye"]
eternite[2] has quit ["J'ai plus envie de causé."]
vezenchio has quit ["Ayn Rand encapsulates the rage that every teenager feels on finding that his first paycheque has had taxes taken out of it"]