nyoshi has joined #ocaml
nyoshi has quit [Client Quit]
sombrero has joined #ocaml
sombrero has quit []
sombrero has joined #ocaml
Yurik has joined #ocaml
kjs3 has quit [Read error: 110 (Connection timed out)]
sombrero_ has joined #ocaml
sombrero has quit [Connection reset by peer]
sombrero_ is now known as sombrero
tav|peven has joined #ocaml
sombrero has quit [Client Quit]
tav|pevensey has quit [Connection reset by peer]
<
smkl>
DemiUni: hey
<
DemiUni>
Oh, look!
<
DemiUni>
Too bad I've long forgotten what I wondered. =)
<
DemiUni>
Ah, now I remember: if I want to make a map keyed with a string, how would I go about?
<
smkl>
do you want a map or hashtable ?
<
DemiUni>
Are they created differently (apart from the module of course)?
<
smkl>
yes. hashtables are imperative, maps are functional
<
DemiUni>
Well I think I saw some examples on creating hashtables but none for maps...
<
smkl>
module StringMap = Map.Make (struct type t = string let compare = compare end) ... then StringMap.empty is an empty string-keyed map
<
DemiUni>
Ok, thanks.
skylan has quit ["Reconnecting"]
skylan has joined #ocaml
Yurik has quit [Read error: 113 (No route to host)]
Yurik has joined #ocaml
DemiUni has quit ["silence.... *whaff*"]
malc has joined #ocaml
Yurik_ has joined #ocaml
Yurik_ has quit [Read error: 104 (Connection reset by peer)]
Yurik has quit [Read error: 113 (No route to host)]
malc has quit ["no reason"]
sylvain has joined #ocaml
<
sylvain>
helloooooooooooo
<
sylvain>
anybody ?
sylvain has quit []
smklsmkl has joined #ocaml
smkl has quit [Killed (NickServ (Ghost: smklsmkl!~sami@glubimox.yok.utu.fi))]
smklsmkl is now known as smkl
mellum has quit ["Leaving"]
kjs3 has joined #ocaml
jao has joined #ocaml
malc has joined #ocaml
jao has quit [Read error: 104 (Connection reset by peer)]
johs has joined #ocaml
<
johs>
I was wondering if you have an opinion on which is better of mlgtk or lablgtk.
<
malc>
i only used lablgtk
<
johs>
I've tried lablgtk, and it worked nicely enough, but I think maybe it's kind of a bad fit for OCaml.
<
johs>
That is, it seemed to be very imperative style.
<
malc>
well you know.. gui's are sorta imperative by nature
<
johs>
Yeah, I guess.
<
johs>
But I'm curious if there is some clever way to map it into a more functional style.
<
malc>
if you are die hard functional guy, go with Clean and its ObjectIO.. though youd have to switch to windows
<
johs>
Well, not really.
<
johs>
But for some reason, it feels awkward to not use functional styles with ML.
<
johs>
But I guess it's a multi-purpose language.
<
malc>
well, i did very little labltk lablgtk programming.. so cant really comment on that
<
malc>
(and given that i have both underlying systems)
<
johs>
I've just learned OCaml, by the way. Looks nice.
<
johs>
And the compiler looks fast, too.
<
malc>
Look at topic
<
malc>
might be helpful
<
johs>
YEah, I've downloaded it, and printed it.
<
johs>
We have this high-volume printer at work.
<
malc>
gee wish i had high-volume printer
<
malc>
or better yet both
<
johs>
It's not real work. It's this thing called "civil service", directly translated.
<
malc>
ah.. pacifist i gather
<
johs>
It's an okay place, though, but it doesn't pay particularly well.
<
malc>
I was paid ~2USD$/month during my mil.service
<
malc>
Nei, ikke bra
<
johs>
Huh? You know Norwegian?
<
johs>
(I just noticed your domain was Russian.)
* malc
but tobaco adiction calls. back in 5
<
johs>
Sleep calls.
Etaoin has joined #ocaml
kjs3 has quit [Read error: 110 (Connection timed out)]
malc has quit ["no reason"]
GnuVince has quit [Remote closed the connection]
GnuVince has joined #ocaml
<
GnuVince>
Heya Taaus!