| Newsgroups |
gmane.lisp.scheme.bigloo |
| Organization |
Inria |
| Message-ID |
<[email protected]> |
Hi Todd,
> Is the following difference in behavior expected?
>
> bash-4.2$ bigloo
> ------------------------------------------------------------------------------
> Bigloo (4.1a)
> ,--^,
> `a practical Scheme compiler' _
> ___/ /|/
> Tue Feb 4 11:04:52 CET 2014 ,;'( )__,
> ) '
> Inria -- Sophia Antipolis ;; // L__.
> email: [email protected] ' \ / '
> url: http://www-sop.inria.fr/indes/fp/Bigloo ^ ^
> ------------------------------------------------------------------------------
>
>
> 1:=> (define (s-bias-push #!optional #!key name #!rest args)
> (print 1))
> *** ERROR:(define s-bias-push (lambda (#!optional #!key name #!rest
> args) (print 1))):
> Illegal formal list -- (#!optional #!key name #!rest args)
> 1:=>
>
> bash-4.2$ bigloo
> ------------------------------------------------------------------------------
> Bigloo (4.0a)
> ,--^,
> `a practical Scheme compiler' _
> ___/ /|/
> Thu Feb 21 04:47:15 CST 2013 ,;'( )__,
> ) '
> Inria -- Sophia Antipolis ;; // L__.
> email: [email protected] ' \ / '
> url: http://www-sop.inria.fr/indes/fp/Bigloo ^ ^
> ------------------------------------------------------------------------------
>
>
> 1:=> (define (s-bias-push #!optional #!key name #!rest args)
> (print 1))
> s-bias-push
> 1:=> (s-bias-push)
> 1
> 1
> 1:=>
Actually yes. Yes it is. Bigloo now is stricter about the incorrect
declarations. To fix your just change it for:
(define (s-bias-push #!optional _ x #!key name #!rest args) ...)
Cheers,
--
Manuel