From: "matthieu.dubuget" <matthieu.dubuget@laposte.net>
To: "caml-list" <caml-list@inria.fr>
Subject: Bigarray and polymorphic functions
Date: Wed, 28 Sep 2005 14:46:42 +0200 [thread overview]
Message-ID: <INJ25U$C9CCAAF0DE4BE203EBA01751CDC9C590@laposte.net> (raw)
Is it possible to write polymorphic functions with Bigarray's
as argument?
Something like
let p b =
match Array1.kind b with
int8_signed -> "first case"
|int8_unsigned -> "second case"
| _ -> assert false
but which could compile?
After some tries, I was not able to find any solution.
Salutations
Matthieu
Accédez au courrier électronique de La Poste : www.laposte.net ;
3615 LAPOSTENET (0,34/mn) ; tél : 08 92 68 13 50 (0,34/mn)
reply other threads:[~2005-09-28 12:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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='INJ25U$C9CCAAF0DE4BE203EBA01751CDC9C590@laposte.net' \
--to=matthieu.dubuget@laposte.net \
--cc=caml-list@inria.fr \
/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;
as well as URLs for NNTP newsgroup(s).