Changeset 5493 for src/Pugs/Prim/Eval.hs

Show
Ignore:
Timestamp:
07/12/05 14:34:10 (3 years ago)
Author:
autrijus
svk:copy_cache_prev:
7501
Message:

* identity test for functions should now pass; Eq and Ord

for function and dynamics redefined to base on 'show'.

Files:
1 modified

Legend:

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

    r5474 r5493  
    3737    seen        <- findSymRef "%*INC" glob 
    3838    loaded      <- existsFromRef seen v 
    39     if (loaded) then (return $ VInt 1) else do -- XXX: SPECME: what do we return here? 
    40         pathName <- requireInc incs file (errMsg file incs) 
     39    pathName    <- requireInc incs file (errMsg file incs) 
     40    if loaded then opEval style pathName "" else do 
    4141        -- %*INC{file} = pathname 
    4242        evalExp $ Syn "="