CLIM mail archive

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

Accepting a function?



    Date: Wed, 4 Sep 1991 11:51 EDT
    From: John Doleac <jd05@gte.com>

    I'm trying to write a clim:accept dialog where the 
    value to be accepted and applied is a lambda function IE.:

    (apply (clim:accept 'clim:expression) 1)

    ENTER AN EXPRESSION> #'(lambda (x) (print x))


    When I try to do this, I get an error message claiming that the 
    object #'(LAMBDA # #) is not a valid function.

It isn't, but the object (LAMBDA (X) (PRINT X)) *is*.  That is, you
should have typed in (LAMBDA (X) (PRINT X)) when CLIM asked you to
"enter an expression".

    Is there a special type I should be using? Do I need to write my own?

    Any solutions?


0,,

References:

Main Index | Thread Index