From: Goswin von Brederlow <goswin-v-b@web.de>
To: Jacques Carette <carette@mcmaster.ca>
Cc: Till Varoquaux <till@pps.jussieu.fr>, caml-list@inria.fr
Subject: Re: [Caml-list] Why is this allowed?
Date: Wed, 09 Jun 2010 17:11:50 +0200 [thread overview]
Message-ID: <87mxv4nsuh.fsf@frosties.localdomain> (raw)
In-Reply-To: <4C03DBA6.8020208@mcmaster.ca> (Jacques Carette's message of "Mon, 31 May 2010 11:54:14 -0400")
Jacques Carette <carette@mcmaster.ca> writes:
> Nice trick - but my 'problem' [1] regards arbitrary valid OCaml code
> and how to serialize code values. The issue seems to be that one
> needs to attach an arbitrarily large typing environment to each part
> of a value, as there is no global typing environment which will do the
> job (because of shadowing).
>
> Jacques
This is no different from
let x = 1
let x = 2
Shadowing is totally allowed in ocaml.
MfG
Goswin
next prev parent reply other threads:[~2010-06-09 15:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-31 14:46 Jacques Carette
2010-05-31 15:06 ` [Caml-list] " Lukasz Stafiniak
2010-05-31 15:48 ` Jacques Carette
2010-05-31 15:43 ` Till Varoquaux
2010-05-31 15:54 ` Jacques Carette
2010-06-09 15:11 ` Goswin von Brederlow [this message]
2010-06-09 15:17 ` bluestorm
2010-06-09 15:31 ` Jacques Carette
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=87mxv4nsuh.fsf@frosties.localdomain \
--to=goswin-v-b@web.de \
--cc=caml-list@inria.fr \
--cc=carette@mcmaster.ca \
--cc=till@pps.jussieu.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