Hi all,
I have posted a new %eval.r script to the library.

Excerpt from scipt documentation:
    The functional language Haskell, my (other :-)) prefered
    computer language provides two basic language structures
    for evaluation of expressions with local assignments: the
    'let clause and the 'where clause. I am quite fond of the
    latter kind, since it let me work the way I like: starting
    with a main concept and deferring the details to the 'where
    clause. For example, this is a simple expression with
    the 'where clause:

        x * y + z where
            x = 12 * sin y
            y = 3 * z
            z = 7
    ......
    and in Rebol:

    eval [x * y + z] [
            x: 12 * sin y
            y: 3 * z
            z: 7]
    ....
    I had to change the name from 'where to 'eval for readability.
    Rebol does not provide for user defined infix operations, does it?
    [No, 'eval is not exactly the same as the 'use function.]
    Jan



-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to