chicken-hackers
[Top][All Lists]
Advanced

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

Re: [Chicken-hackers] [PATCH] Allow assert to accept an arbitrary expres


From: Felix
Subject: Re: [Chicken-hackers] [PATCH] Allow assert to accept an arbitrary expression as the message
Date: Mon, 12 Mar 2012 15:03:45 +0100 (CET)

From: Alaric Snell-Pym <address@hidden>
Subject: Re: [Chicken-hackers] [PATCH] Allow assert to accept an arbitrary 
expression as the message
Date: Mon, 12 Mar 2012 12:12:20 +0000

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 03/12/2012 11:52 AM, Felix wrote:
> 
>> In the case of "assert", I think it is not too much to expect the user
>> to pass a string.
> 
> Tell you what, shall I make it say (if (string? msg) msg "<no valid
> assertion message was supplied>") or something like that? I'll think of
> better wording.

At run-time (I'd not recommend this, as it produces more code than necessary)
or at expansion time? The latter is ok, I guess.


cheers,
felix



reply via email to

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