(Left e) = (Left e, Left "Parsing disabled", w)
= case contents of
(Left e) = (Left e, Left "", w)
- (Right cs) = let lexOut = lexer cs in (lexOut, parser lexOut, w)
+ (Right cs)
+ # lexout = lexer cs
+ # parsout = parser lexout
+ # stdin = stdin <<< (either (const "") toString parsout)
+ # (_, w) = fclose stdin w
+ = (lexout, parser lexout, w)
parseArgs :: *World -> (Opts, *World)
parseArgs w