[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: small integers
- To: Rob_MacLachlan@lisp-pmax1.slisp.cs.cmu.edu
- Subject: Re: small integers
- From: Simon Spero <ses@SunSite.unc.edu>
- Date: Thu, 08 Oct 92 23:31:59 -0400
- Cc: "David A. Moon" <moon@cambridge.apple.com>, info-dylan@cambridge.apple.com
- In-reply-to: Your message of "Thu, 08 Oct 92 16:31:36 EDT." <9210082035.AA02290@brazil.cambridge.apple.com>
One thing that would be nice which might finesse this problem would be to
extend the notion of singletons to cover slot values; that way one could
have a type specifier along the lines of ( bibble (<integer> min: 0 max:255)),
and let the compiler determine the meaning. Of course, if this is too general,
then dispatching gets even heavier- I just miss Haskell/Miranda style
patterns and guards..
Simon