Changeset 3476

Show
Ignore:
Timestamp:
05/20/05 00:22:11 (4 years ago)
Author:
autrijus
svk:copy_cache_prev:
5016
Message:

* correctly implement chained ops like [>].

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Prim/List.hs

    r3475 r3476  
    6767                case val of 
    6868                    VBool False -> esc val 
    69                     _           -> return val 
     69                    _           -> return y 
    7070            foldM doFold' (head args) (tail args) 
     71            return $ VBool True 
    7172        "non"   -> fail $ "Cannot reduce over non-associativity" 
    7273        _       -> foldM doFold (head args) (tail args) -- "left", "pre"