Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] LablTk question
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-03-08 (02:31)
From: mgushee@h...
Subject: [Caml-list] LablTk question
I'm trying to learn LablTk by studying the examples provided in the 
OCaml distribution ... looking at the Tetris game right now. 
Fortunately I have plenty of experience with Tk itself, so most of 
the code is intelligible. But I'm puzzled about the 'coe' function, 
as in:

  pack [coe c; coe r; coe r'] ~side: `Left ~fill: `Y;

Okay, so I dug a little deeper and found that 'coe' is an alias for 
forget_type ... but why? What is the purpose of weakening the widget 
types as they are packed?

And by the way, what does 'coe' stand for? Is it a French acronym?

Thanks in advance for shedding light on this dark corner.

Matt Gushee
Englewood, CO USA

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: