> From: Eric Hanchrow <[EMAIL PROTECTED]>
> Date: 13 Aug 2001 13:23:49 -0700
> 
> I've only just started reading about keywords, and am not sure I've
> got this right.  But it seems that every place in the documentation
> that says `#:key' should really say `#&key' instead -- the former
> doesn't work in Guile; it complains like this:

You are using Guile 1.4, the Reference Manual documents the behaviour
of current CVS Guile.  The NEWS file for upcoming Guile 1.6 says:

  ** Module (ice-9 optargs) now uses keywords instead of `#&'.

  Instead of #&optional, #&key, etc you should now use #:optional,
  #:key, etc.  Since #:optional is a keyword, you can write it as just
  :optional when (read-set! keywords 'prefix) is active.

  The old reader syntax `#&' is still supported, but deprecated.  It
  will be removed in the next release.

Regards,
  'martin

_______________________________________________
Bug-guile mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-guile

Reply via email to