From: Jacques Garrigue <garrigue@kurims.kyoto-u.ac.jp>
To: wester@ilt.fhg.de
Cc: caml-list@inria.fr
Subject: Re: LablTk
Date: Mon, 29 Jan 2001 23:03:17 +0900 [thread overview]
Message-ID: <20010129230317H.garrigue@kurims.kyoto-u.ac.jp> (raw)
In-Reply-To: <200101251628.RAA08697@ilt.fhg.de>
From: wester@ilt.fhg.de
> I would like to use LablTk together with Bigarrays in the toplevel.
> Can I make my own toplevel with both modules linked in? I know
> how to make it for Bigarrays alone and I know that labltk.exe (Windows)
> is the toplevel with LablTk already linked in. But I couldn't figure out
> how to make a toplevel with both Bigarrays and LablTk.
This is just the standard way, but you have to write the labltk path:
ocamlmktop -o ocamlbigtk bigarray.cma -I /ocaml/lib/labltk labltk.cma
> Besides this I couldn't find information about the modules Imagebitmap
> and Imagephoto which might be interesting for me. I have Ousterhouts
> Tcl/Tk book but couldn't find anything about this two modules.
They are different types of images. You should get info under the
image, bitmap and photo names.
> I'have read that float arrays aren't boxed. Does this also hold for integers?
> Considering speed are Bigarrays preferable?
Not my speciality, but if I remember correctly, not only integer
arrays are unboxed (no reason to box integers anywhere), but to get
the best efficiency you must use Array.unsafe_get, and tell the
compiler that your array contains integers (arr : int array), if it
cannot infer it.
Cheers,
Jacques
---------------------------------------------------------------------------
Jacques Garrigue Kyoto University garrigue at kurims.kyoto-u.ac.jp
<A HREF=http://wwwfun.kurims.kyoto-u.ac.jp/~garrigue/>JG</A>
next prev parent reply other threads:[~2001-01-31 10:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-25 16:28 LablTk wester
2001-01-29 14:03 ` Jacques Garrigue [this message]
-- strict thread matches above, loose matches on Subject: below --
2000-07-10 13:51 LablTk Fabien Fleutot
2000-07-21 0:42 ` LablTk Jacques Garrigue
2000-07-21 7:40 ` LablTk Fabien Fleutot
2000-07-21 8:36 ` LablTk Jacques Garrigue
2000-07-21 8:36 ` LablTk Axel Poigné
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010129230317H.garrigue@kurims.kyoto-u.ac.jp \
--to=garrigue@kurims.kyoto-u.ac.jp \
--cc=caml-list@inria.fr \
--cc=wester@ilt.fhg.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox