<palomer>
By not treating constructors like functions, we avoid having to choose...
<palomer>
anyways, this is caml light and not ocaml
<kinners>
he also mentions a problem with how module typing and data representation later on in the thread
<palomer>
this is the first mark against ocaml and is a major feather in sml's cap
<palomer>
though I still prefer ocaml
<Smerdyakov>
palomer, I have a long list of OCaml flaws vs. SML that I maintain. :P
<palomer>
oh, is it on the net?
<Smerdyakov>
No.
<docelic>
Smerdyakov: so if I ever get around to using a functional language, I should play with sml and not ocaml/
<docelic>
?
<Smerdyakov>
docelic, I would say so.
<docelic>
ok, I'll rearrange the autojoin list ;)
docelic has left #ocaml []
<palomer>
hah
mrsolo_ has joined #ocaml
monochrom has joined #ocaml
GreyLensman has quit ["Leaving"]
pacroon has joined #ocaml
monochrom has quit ["hello"]
srv has joined #ocaml
Anvil_Vapre has quit ["Leaving"]
zigong_ has joined #ocaml
palomer has quit ["Leaving"]
mrvn_ has joined #ocaml
wegzze has joined #ocaml
kinners has quit ["leaving"]
mrvn has quit [Read error: 110 (Connection timed out)]
vezenchio has quit [Read error: 110 (Connection timed out)]
zigong_ has quit ["Leaving"]
vezenchio has joined #ocaml
mrvn has joined #ocaml
vezenchio has quit [Client Quit]
mrvn_ has quit [Read error: 238 (Connection timed out)]
AshyIsMe has joined #ocaml
AshyIsMe has left #ocaml []
wegzze has quit [Read error: 110 (Connection timed out)]
mlh has quit [Client Quit]
grirgz has quit [Read error: 110 (Connection timed out)]
srv_ has joined #ocaml
srv has quit [Read error: 232 (Connection reset by peer)]
mattam has quit [tolkien.freenode.net irc.freenode.net]
Demitar has quit [tolkien.freenode.net irc.freenode.net]
Nutssh has quit [tolkien.freenode.net irc.freenode.net]
cmeme has quit [tolkien.freenode.net irc.freenode.net]
judge has quit [tolkien.freenode.net irc.freenode.net]
mattam has joined #ocaml
Nutssh has joined #ocaml
Demitar has joined #ocaml
cmeme has joined #ocaml
judge has joined #ocaml
Nutssh has quit [tolkien.freenode.net irc.freenode.net]
judge has quit [tolkien.freenode.net irc.freenode.net]
Demitar has quit [tolkien.freenode.net irc.freenode.net]
cmeme has quit [tolkien.freenode.net irc.freenode.net]
mattam has quit [tolkien.freenode.net irc.freenode.net]
mattam has joined #ocaml
Nutssh has joined #ocaml
Demitar has joined #ocaml
cmeme has joined #ocaml
judge has joined #ocaml
mlh has joined #ocaml
mlh_ has joined #ocaml
m3ga has joined #ocaml
m3ga has quit [Client Quit]
GreyLensman has joined #ocaml
GreyLensman has quit [Read error: 104 (Connection reset by peer)]
<vincenz>
tsk
<vincenz>
Smerdyakov: it's rude to advocate anothre language in a channel, other channels like #C++, #java, #python et al don't tolerate it
karryall has joined #ocaml
<mrvn>
Smerdyakov: Why are you still using ocaml if sml is so much better?
m3ga has joined #ocaml
mrvn_ has joined #ocaml
mrvn__ has joined #ocaml
mrvn has quit [Read error: 110 (Connection timed out)]
mrvn_ has quit [Read error: 110 (Connection timed out)]
m3ga has quit ["Client exiting"]
junis has joined #ocaml
junis has left #ocaml []
Nutssh has quit [tolkien.freenode.net irc.freenode.net]
judge has quit [tolkien.freenode.net irc.freenode.net]
Demitar has quit [tolkien.freenode.net irc.freenode.net]
cmeme has quit [tolkien.freenode.net irc.freenode.net]
mattam has quit [tolkien.freenode.net irc.freenode.net]
mlh_ has quit [tolkien.freenode.net irc.freenode.net]
mlh has quit [tolkien.freenode.net irc.freenode.net]
pango has quit [tolkien.freenode.net irc.freenode.net]
Godeke has quit [tolkien.freenode.net irc.freenode.net]
rossberg has quit [tolkien.freenode.net irc.freenode.net]
mrvn__ has quit [tolkien.freenode.net irc.freenode.net]
Banana has quit [tolkien.freenode.net irc.freenode.net]
tewk has quit [tolkien.freenode.net irc.freenode.net]
pharx has quit [tolkien.freenode.net irc.freenode.net]
Hipo has quit [tolkien.freenode.net irc.freenode.net]
Banana has joined #ocaml
Hipo has joined #ocaml
tewk has joined #ocaml
mrvn has joined #ocaml
mattam has joined #ocaml
Nutssh has joined #ocaml
Demitar has joined #ocaml
cmeme has joined #ocaml
judge has joined #ocaml
mrvn__ has joined #ocaml
pharx has joined #ocaml
mlh_ has joined #ocaml
mlh has joined #ocaml
pango has joined #ocaml
Godeke has joined #ocaml
rossberg has joined #ocaml
mrvn__ has quit [Success]
Herrchen has joined #ocaml
AshyIsMe has joined #ocaml
grirgz has joined #ocaml
mlh_ has quit [Client Quit]
mlh has quit [Client Quit]
<vincenz>
coming back to palomer's point if you really want to pass constructors around, you can just create a function for them, that way you can decide yourself if you want the functions curried or not
avlondono has joined #ocaml
AshyIsMe has left #ocaml []
Herrchen has quit ["bye"]
ianxek has joined #ocaml
Nutssh has quit [tolkien.freenode.net irc.freenode.net]
judge has quit [tolkien.freenode.net irc.freenode.net]
Demitar has quit [tolkien.freenode.net irc.freenode.net]
cmeme has quit [tolkien.freenode.net irc.freenode.net]
mattam has quit [tolkien.freenode.net irc.freenode.net]
mattam has joined #ocaml
Nutssh has joined #ocaml
Demitar has joined #ocaml
cmeme has joined #ocaml
judge has joined #ocaml
monochrom has joined #ocaml
Nutssh has quit [Read error: 110 (Connection timed out)]
karryall has quit ["tcho"]
CosmicRay has joined #ocaml
det_ has joined #ocaml
det has quit [Read error: 104 (Connection reset by peer)]
async has joined #ocaml
monochrom has quit ["hello"]
rossberg has quit [tolkien.freenode.net irc.freenode.net]
pango has quit [tolkien.freenode.net irc.freenode.net]
Godeke has quit [tolkien.freenode.net irc.freenode.net]
pango has joined #ocaml
Godeke has joined #ocaml
pango has quit [Read error: 110 (Connection timed out)]
karryall has joined #ocaml
pango has joined #ocaml
karryall has quit [Read error: 104 (Connection reset by peer)]
vezenchio has joined #ocaml
vezenchio has quit [Client Quit]
goooomba has quit [Read error: 104 (Connection reset by peer)]
budjet has joined #ocaml
monochrom has joined #ocaml
budjet has quit [Remote closed the connection]
goomba has joined #ocaml
gim has joined #ocaml
Nutssh has joined #ocaml
CosmicRay has quit [Remote closed the connection]
CosmicRay has joined #ocaml
Nutssh has quit ["Client exiting"]
grirgz has quit [Read error: 104 (Connection reset by peer)]
grirgz has joined #ocaml
Nutssh has joined #ocaml
Submarine has joined #ocaml
<vincenz>
Hello
<vincenz>
question about gtk
<vincenz>
lablgtk2
<Submarine>
aaaaaaah
<vincenz>
?
<Submarine>
every time I mention Gtk or lablgtk in front of my colleague who coded a GUI in it, he gives a 10-minute speech how it's shitty
<vincenz>
tsk
<vincenz>
what then?
<vincenz>
well my issue is small
<vincenz>
one
<grirgz>
lablgtk roxor \o/
<vincenz>
you know how to use it?
<grirgz>
yes
<vincenz>
including gnomecanvs?
<grirgz>
mmmh.. i never tryed it
<vincenz>
so what would you recommend for a diagram-editor?
<grirgz>
what kind of diagram ?
<Smerdyakov>
I've used xfig with some success before.
<Smerdyakov>
I always try to use Graphviz when possible.
* vincenz
palmslaps
<vincenz>
grirgz: I'm trying to make a small diagram editor
<vincenz>
you know, boxes, ellipses, connection points, lines to connect
<grirgz>
ah ok
<vincenz>
so I assume gnomecanvas
<vincenz>
unless you have another suggestion
<grirgz>
i think it's a good idea
<vincenz>
well I ahve a question about it
<vincenz>
but since you don't know it :/
<Smerdyakov>
Why are you making a diagram editor?
<vincenz>
Smerdyakov: why do you care?
<Smerdyakov>
Because I like to help people be productive.
<vincenz>
that's great
<Smerdyakov>
So I'm curious as to why you are not re-using an existing editor.
<vincenz>
I'm just experimenting with making a gui with ocaml
<vincenz>
hence, a simple diagram editor
<vincenz>
so coming back
<vincenz>
I have a handler for my objects
<vincenz>
with the right menu making it print somtehing
<vincenz>
and I have a popupmenu for the canvas
<Nutssh>
Make a new program?
<vincenz>
unfortunately when I right click, it always popups up the menu
<vincenz>
aka, it doesn't call the object's rightclick thingy when I'm hovering over an object with my mouse
<vincenz>
I assume it's because the canvas#event#connect#button_press catches everything before it eevn reaches it's internal objects
<vincenz>
so I was curious as to how to let it use the object handler unless the mouse is not over an object
gim has quit [Connection timed out]
mlh has joined #ocaml
<grirgz>
good question :)
<vincenz>
unless I make the rightclick handler of my canvas handle both the general popupmenu and the object popupmenu, though that seems stupid
CosmicRay has quit ["Client exiting"]
<grirgz>
try to return false in the callback of your canvas
<vincenz>
yeah I know
<vincenz>
but then I have to check if there's an object under my mouse
<vincenz>
and if so pass false
<vincenz>
and then gnomecanvas has to check again if there's an object and call it's handler
<grirgz>
sorry, to answer i need to review some documentation :p and now i must go to sleep :/
<vincenz>
do you know where to get good docs?
<vincenz>
the lablgtk2 docs are quite slim
<vincenz>
what I could also do is create a rectangle that's always the size of the window and add a handler on that
Submarine has quit ["ChatZilla 0.8.31 [Mozilla rv:1.4.1/20031114]"]
gim has joined #ocaml
<grirgz>
no :/ most of the time i read the source code or use the C gtk documentation