Changeset 13770 for src/Pugs/Eval

Show
Ignore:
Timestamp:
10/01/06 17:20:00 (2 years ago)
Author:
audreyt
Message:

* Remove support for reduce+posthyper form "[+]<<" because

as specced the hyper will recurse into arrays, so the reduce
never got a chance to run.

* Also add "Loop" as a subtype of "Block" (not used yet)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Eval/Var.hs

    r13752 r13770  
    410410        MFold           -> buildReduce varInfix MFold MNil MNil     -- [+] 
    411411        MScan           -> buildReduce varInfix MScan MNil MNil     -- [\+] 
    412         MFoldPost       -> buildReduce varInfix MFold MNil MPost    -- [+] 
    413         MScanPost       -> buildReduce varInfix MScan MNil MPost    -- [\+] 
     412--      MFoldPost       -> buildReduce varInfix MFold MNil MPost    -- [+] 
     413--      MScanPost       -> buildReduce varInfix MScan MNil MPost    -- [\+] 
    414414        MHyperFold      -> buildReduce varInfix MFold MHyper MNil   -- [>>+<<] 
    415415        MHyperScan      -> buildReduce varInfix MScan MHyper MNil   -- [>>+<<] 
    416         MHyperFoldPost  -> buildReduce varInfix MFold MHyper MPost  -- [>>+<<] 
    417         MHyperScanPost  -> buildReduce varInfix MScan MHyper MPost  -- [>>+<<] 
     416--      MHyperFoldPost  -> buildReduce varInfix MFold MHyper MPost  -- [>>+<<] 
     417--      MHyperScanPost  -> buildReduce varInfix MScan MHyper MPost  -- [>>+<<] 
    418418        _               -> return Nothing 
    419419        where