caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: christophe.gensoul@epfl.ch
To: caml-list@inria.fr
Subject: [Caml-list] Marshal modifié
Date: Fri, 30 Jan 2004 15:31:19 +0100 (MET)	[thread overview]
Message-ID: <1075473079.401a6ab72a154@imapwww.epfl.ch> (raw)

Bonjour,

Voici mon problème :

Je voudrais marshaller des fonctions partiellement appliquées de top niveau par
rapport au module les contenant. Il me semble que le module Marshal fait ca très
bien. J'aimerais cependant qu'il soit moins zélé et qu'il ne copie pas les
valeurs de l'ensemble des variables libres de la fonction. Pour les variables
libres je voudrais le même comportement que pour le marshalling des fonctions :
que l'addresse soit copiée (cela ne pose pas de problème dans mon cas, car les
programmes communiquant ont toujours exactement le même code compilé).
En fait les seuls choses dont je veux copier la valeur lors du marshalling de
ces fonctions sont les arguments de la fonctions.

Ma question :

Est-ce possible? (en se limitant seulement à des fonctions de top niveau).
Si oui :
Que dois-je modifier dans le module marshal pour obtenir le comportement
ci-dessus? Est-ce compliqué?

Merci beaucoup.

Christophe

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


                 reply	other threads:[~2004-01-30 14:31 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=1075473079.401a6ab72a154@imapwww.epfl.ch \
    --to=christophe.gensoul@epfl.ch \
    --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).