chicken-users
[Top][All Lists]
Advanced

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

[Chicken-users] eval works different in Chicken 4.7 from 3.4?


From: Matt Welland
Subject: [Chicken-users] eval works different in Chicken 4.7 from 3.4?
Date: Sun, 2 Oct 2011 21:53:00 -0700

The below code used to do a fine job of eval'ing a hodge-podge file of lists and strings but in Chicken4.7 the eval doesn't seem to see compiled routines in the parent code. Has eval changed in some incompatible way or do I need to keep digging for some other bug :) ?

(let* ((p      (open-input-file view))
        (map (lambda (x)
            (cond
             ((list? x) x)
             ((string? x) x)
             (else '())))
              (port-map eval (lambda ()(read p))))))

reply via email to

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