chicken-hackers
[Top][All Lists]
Advanced

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

Re: [Chicken-hackers] [PATCH] Generalize deprecation type warnings


From: Evan Hanson
Subject: Re: [Chicken-hackers] [PATCH] Generalize deprecation type warnings
Date: Mon, 19 May 2014 00:09:21 -0700
User-agent: OpenSMTPD enqueuer (Demoosh)

On 2014-05-19  8:58, "Jörg F. Wittenberger" wrote:
> Though for no good reason I'd have the tendency to
> write the URL as a string.  After all it might contain characters,
> which make them not readable as Symbols.  But that's rejected by
> chicken.  So:
> 
> (: dangerous (deprecated "http://cwcc.org/ticket/0815#Advisory";))
> 
> will does not work.  (Or did I overlook anything here?)

Indeed, the alternative must still be a symbol. However, consider:

    (: dangerous (deprecated |http://cwcc.org/ticket/0815#Advisory|))
    
    Warning: at toplevel:
      use of deprecated `dangerous' - consider 
`http://cwcc.org/ticket/0815#Advisory'

Evan



reply via email to

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