Re: Adding Identities to Peval

2012-02-18 Thread Noah Lavine
Here is another patch that fixes the first of my examples. (let* ((x (random)) (y x)) (eq? x y)) now folds to (begin (random) #t). It turned out to be much smaller than the previous approach. Is it all right if I push this? I'm not sure how to make the other one work yet, but I will think about it

CPS and Guile

2012-02-18 Thread Noah Lavine
Hello everyone, There was some discussion in the "Identities in Peval" thread about using a CPS-like intermediate representation in Guile. I think that our goal with our intermediate representation should be to make things convenient for us - we shouldn't try to match any particular model unless

Re: Trouble using (current-filename)

2012-02-18 Thread Andy Wingo
On Fri 17 Feb 2012 23:49, l...@gnu.org (Ludovic Courtès) writes: > Would it work to let the user call it themself if needed, like: > > (add-to-load-path (dirname (canonicalize-path (current-filename I would rather have current-filename do a (or (false-if-exception (canonicalize-path p))