Re: bigloo 4.1a beta04Feb2014

[email protected]
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.