diff options
author | Jacques Garrigue <garrigue at math.nagoya-u.ac.jp> | 2000-04-12 09:53:09 +0000 |
---|---|---|
committer | Jacques Garrigue <garrigue at math.nagoya-u.ac.jp> | 2000-04-12 09:53:09 +0000 |
commit | 84baddf830a019ae05869b73ca28fdd8bb2f42e7 (patch) | |
tree | d459e80d70724dca1db600a50db060a73a0b1898 /otherlibs/labltk/example/hello.ml | |
parent | 070f6559f3b11da304fbb4005582cd308767771c (diff) |
tilde syntax
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3063 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/labltk/example/hello.ml')
-rw-r--r-- | otherlibs/labltk/example/hello.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/labltk/example/hello.ml b/otherlibs/labltk/example/hello.ml index 47d0201d1..603f62a8a 100644 --- a/otherlibs/labltk/example/hello.ml +++ b/otherlibs/labltk/example/hello.ml @@ -25,7 +25,7 @@ let top = openTk () (* create a button on top *) (* Button.create : use of create function defined in button.ml *) (* But you shouldn't open Button module for other widget class modules use *) -let b = Button.create text: "Hello, LablTk!" top +let b = Button.create ~text: "Hello, LablTk!" top (* Lack of toplevel expressions in lsl, you must use dummy let exp. *) let _ = pack [coe b] |