From: Franck Delaplace <delapla@lami.univ-evry.fr>
To: caml-list@pauillac.inria.fr
Subject: may be an other bug
Date: Thu, 15 Feb 1996 15:19:25 +0100 [thread overview]
Message-ID: <199602151419.PAA10563@berlioz.lami.univ-evry.fr> (raw)
I built a script shell to add signature to .mli
as follow
When I use it for global variabale as hash table
the signature is
let L = hashtbl__new 30 ;;
L : hashtbl__t _a
instead of the real instantion of L
=======================
if test -f $1.ml
then
echo $1.mli "transformation en cours"
else
echo le fichier $1.ml n existe pas
exit
fi
sed '/$1/d' $1.ml|sed '/\#open/w .tmp' > /dev/null #recuperation des open sauf les open ayan comme nom le fichier passe
if test -f $1.mli
then
camlc -c $1.mli # on compile le fichier .mli
echo "(* -------------------------------*)" >.tmp
cat $1.mli >> .tmp # insertion dans .tmp du fichier
fi
echo "(* fonction de $1.ml -----------------*)" >>.tmp
camlc -c -i $1.ml >> .tmp
mv .tmp $1.mli
echo "verifier le fichier genere "
next reply other threads:[~1996-02-16 8:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-02-15 14:19 Franck Delaplace [this message]
1996-02-16 13:57 ` Xavier Leroy
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=199602151419.PAA10563@berlioz.lami.univ-evry.fr \
--to=delapla@lami.univ-evry.fr \
--cc=caml-list@pauillac.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