[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-kawa] [bugs #11782] typed optional params not working?
From: |
Jim White |
Subject: |
[Bug-kawa] [bugs #11782] typed optional params not working? |
Date: |
Wed, 23 Mar 2005 20:48:36 +4000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.2) Gecko/20040803 |
Follow-up Comment #1, bugs #11782 (project kawa):
I do not believe this is a bug. While a suitable default initializer could
be defined for various types, I think that is more complexity with little
value.
I suggest supplying an initializer when specifying a typed optional
parameter:
(define (foo #!optional (num :: <int> 0) )
(display num))
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=11782>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-kawa] [bugs #11782] typed optional params not working?,
Jim White <=