Compiler/lexical analyzer: Difference between revisions

→‎{{header|Haskell}}: fixed bug which caused ghci to crash
(Added Haskell implementation)
(→‎{{header|Haskell}}: fixed bug which caused ghci to crash)
Line 3,900:
hPutStr out_handle $ f contents'
 
unless (in_handle == stdin) $ hClose in_handle
unless (out_handle == stdout) $ hClose out_handle