Changeset 22317 for src/Pugs/Prim.hs

Show
Ignore:
Timestamp:
09/23/08 18:23:52 (2 months ago)
Author:
masak
Message:

[Prim.hs] renamed s/system/run/

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Prim.hs

    r22309 r22317  
    519519               "as they would be invalid at runtime." 
    520520    return rv 
    521 op1 "system" = \v -> do 
     521op1 "run" = \v -> do 
    522522    cmd         <- fromVal v 
    523523    exitCode    <- tryIO (ExitFailure (-1)) $ system (encodeUTF8 cmd) 
     
    11301130       VStr s -> printf str s 
    11311131       _      -> fail "should never be reached given the type declared below" 
    1132 op2 "system" = \x y -> do 
     1132op2 "run" = \x y -> do 
    11331133    prog        <- fromVal x 
    11341134    args        <- fromVals y 
     
    20522052\\n   List      pre     readdir unsafe (Str)\ 
    20532053\\n   Bool      pre     Pugs::Internals::exec    unsafe (Str, Bool, List)\ 
    2054 \\n   Int       pre     system  unsafe (Str)\ 
    2055 \\n   Int       pre     system  unsafe (Str: List)\ 
     2054\\n   Int       pre     run  unsafe (Str)\ 
     2055\\n   Int       pre     run  unsafe (Str: List)\ 
    20562056\\n   Bool      pre     binmode unsafe (IO: ?Int=1)\ 
    20572057\\n   Void      pre     return  safe   ()\