chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] whishlist entry: plain scheme read syntax for type


From: Felix
Subject: Re: [Chicken-hackers] whishlist entry: plain scheme read syntax for type declarations
Date: Sat, 30 Mar 2013 16:46:15 +0100 (CET)

From: Kristian Lein-Mathisen <address@hidden>
Subject: Re: [Chicken-hackers] whishlist entry: plain scheme read syntax for 
type declarations
Date: Sun, 24 Mar 2013 22:42:06 +0100

> Hi,
> 
> Isn't the dot-notation supported by all schemes? (lambda (head . tail)
> body). What's the reason you can't use that?

The problem is that the type-notation used in declarations does
not support dotted argument lists. A function type looks like this:

  (ARGUMENT1 ... -> RESULT1 ...)

Something like

  (ARGUMENT1 ... . REST -> ...)

is syntactically invalid.


cheers,
felix



reply via email to

[Prev in Thread] Current Thread [Next in Thread]