Changeset 14547 for src/Pugs/Eval

Show
Ignore:
Timestamp:
10/30/06 04:04:52 (2 years ago)
Author:
audreyt
Message:

* Pugs.Prim: Also export IO::close and Socket::close so that

close $fh;
close $dh;
close $sh;

all DWIM.

* Also fix the parser error that mistook "(IO::Dir:)" in the

Prim.hs decl table as "(IO : Dir)".

Files:
1 modified

Legend:

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

    r14304 r14547  
    310310    doFindSub slurpLens subSyms = do 
    311311        subs' <- subs slurpLens subSyms 
    312         -- traceM (unlines $ map (\(x, y) -> show (x, subParams y)) subs') 
     312        -- warn (unlines $ map (\(x, y) -> show (x, subParams y)) subs') "" 
    313313        return $ case sort subs' of 
    314314            ((_, sub):_)    -> Just sub