On Sat, 06 Dec 2014 12:17:31 -0800, Alexander Dunn <dunn.a...@icloud.com> wrote:
> Hi readable, ...
> If I execute (readable:enable-sweet) in the REPL before I execute 
> (ql:quickload “help"), it compiles just fine.  But, I don’t understand why 
> the same doesn’t work when I put (readable:enable-sweet) inside my help.lisp. 
>  

Sorry about the bug.  I just posted to the "devel" branch an updated version of 
the "readable" library that fixes the bug.

This is a pretty important problem, so I plan to post an update to the package 
tonight on the master branch.  If anyone objects, please let me know asap.

The change is pretty straightforward; here's a quick summary.  This version 
turns the enable-* functions into macros so that they can invoke "eval-when".  
During compilation the macros can only call functions that are *already* 
compiled, so the enabling macros have been moved into a separate file (so we 
can easily ensure that the macros only call already-compiled functions).

It'll take a little time before QuickLisp picks up the updated master branch 
version.  As a temporary workaround, I suggest replacing any call to 
(readable:enable-sweet) with:
(eval-when (:compile-toplevel :load-toplevel :execute)
  (readable:enable-sweet))

Once QuickLisp picks up the update, the problem should disappear.

--- David A. Wheeler

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Readable-discuss mailing list
Readable-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/readable-discuss

Reply via email to