On Fri, Mar 27, 2009 at 3:15 PM, Michele Simionato <
[email protected]> wrote:

>
> On Mar 27, 12:48 pm, leppie <[email protected]> wrote:
> > I dont think the specification allows to raise a compile error for
> 'invalid
> > parameters' even if it can determine to be incorrect.
> >
> > This is the same as calling:
> >
> > (fx+ 1)
> >
> > or
> >
> > (fx+ 'a 'a)
> >
> > Either case MUST compile, and MUST raise an exception at runtime.
>
> Indeed. I am questioning the wisdom of the specification here. The
> spec should at
> least allow implementation that can detect errors at compile time to
> do so.
> This is why I ask if I am missing something.



I too feel we should be allowed to report errors earlier, but that will
break backwards compatibility probably.  :(

-- 
http://codeplex.com/IronScheme
http://xacc.wordpress.com

Reply via email to