Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/tests/conformance98/FFI/foreignobj/foreignobj.stdout
f <- fopen temporary fwrite "hello world\n" 7 f fwrite "orld\n" 5 f fclose f f <- fopen /dev/null mapM_ (\n-> fwrite (show n) 1 f) [1..1000] done