chicken-hackers
[Top][All Lists]
Advanced

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

[Chicken-hackers] [PATCH][5] Remove unnecessary booleans inline-table-us


From: Peter Bex
Subject: [Chicken-hackers] [PATCH][5] Remove unnecessary booleans inline-table-used and constants-used
Date: Sun, 29 May 2016 16:14:38 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

Hi all,

While reviewing Evan's patch for the define-constant fix, I noticed
that these two booleans are completely redundant.

Note that the things inserted into those tables are never #f, so this
lookup should work after the other patch has been applied.  At first
I thought that this would fail if you did (define-constant foo #f),
but we insert (quote #f) in the table now so it's safe.

The inline-table has only procedures, so it can't have #f either.

Cheers,
Peter

Attachment: 0001-Remove-unnecessary-inline-table-constants-used.patch
Description: Text Data

Attachment: signature.asc
Description: Digital signature


reply via email to

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