[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Goo Nitpicks
Jonathan Hseu <vomjom@vomjom.org> writes:
> On Thu, Aug 01, 2002 at 05:27:13PM -0400, Jonathan Bachrach wrote:
> > ...
> > > 11. According to wiki, default values will look like:
> > > (dm function (a:0|<int> b:1|<int>))
> > >
> > > It may be just me, but I think default values should be consistent with
> > > rep's and let's variable assignments.
> > >
> > > So, maybe make default values look like:
> > > (dm function ((a 0)|<int> (b 0)|<int>))
> > >
> > > Or change let/rep to look like:
> > > (let (x:0 y:3))
> >
> > nice.
>
> I'm wondering, would the let example interfere with modules at all?
> (let (x:math:$pi)) looks somewhat difficult to read for those new to the
> language.
i actually prefer the first syntax for defaults:
(dm function ((a 0)|<int> (b 0)|<int>))
(i see i wasn't clear in my reply.)
jonathan