[ forwarded to the public list at Dr. McBride's request; I also    ]
[ realized that I neglected to mention Gilmore's ITT as a possible ]
[ solution                                                         ]

..One thing I wanted to mention to you -- I noticed that you assumed
Type:Type in your latest semantics (the October 16th draft of your
Epigram paper).  Obviously this will need to be solved eventually;
have you given thought to what form of typical ambiguity is most
appropriate?

I've been struggling the with the same problem for the last six
months; I too am convinced that anything less than a fully dependently
typed language is just a compromise.  Of course the most
straightforward approach is to adopt a stratified sieres of universes
(as Russell and Whitehead did), which is a bit cumbersome.  Typical
ambiguity and universe polymorphism hide the complexity, but can be
confusing for the user when things go wrong.  And ultimately, somehow
I suspect that the ideal of a fully-reflective language (as described
by Pfenning and Lee [1]) wouldn't be possible in the face of
stratification.

What this really all boils down to is the programming languages
analogue of the paradoxes faced by the foundations movement in
mathematics at the beginning of the last century.  In addition to
Russell's paradox, we have Girard's paradox (unbounded parametric
polymorphism leads to a form of self-reference), and Curry's Paradox
(shunning negation is not enough to evade paradoxes) to contend with.

The two most promising solutions I've seen so far have been Quine's
System NF [2] (specifically the subsystem NFU [3]) and Esser's recent
work on the Positive Set Theory GPK^+_\infty [4].  The latter looks
much cleaner, but I've had difficulty constructing a lambda calculus
within it without excessive encoding overhead.

My apologies for such a long email; thank you for taking the time to
read it, and I hope you are able to reply; I'm quite interested in
hearing your thoughts on the best way to approach this design
question.

  - a

[1] Frank Pfenning and Peter Lee.  LEAP: A language with eval and
    polymorphism.  In Proceedings of the International Joint
    Conference on Theory and Practice in Software Development, pages
    345-359, Barcelona, Spain, March 1989. Springer-Verlag LNCS 352.

[2] Willard Van Orman Quine. Set theory and its logic. Cambridge, MA:
    Harvard University Press, 1963.

[3] Jensen, Ronald Bjorn. On the Consistency of a Slight Modification
    of Quine's New Foundations.  Synthese, vol 19, pp 250-263.

[4] On the Consistency of a Positive Theory. O. Esser. Mathematical
    Logic Quarterly 45 (1999), pp. 105-116.

-- 
I wrote my own mail server and it still has a few bugs.
If you send me a message and it bounces, please forward the
bounce message to [EMAIL PROTECTED]  Thanks!

Reply via email to