mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-12 23:06:18 +00:00
22 lines
541 B
Text
22 lines
541 B
Text
hosted Effect
|
|
exposes [Effect, after, map, always, forever, loop, openFile, closeFile, withFileOpen, getFileLine, getFileBytes, putLine, putRaw, getLine, getChar]
|
|
imports []
|
|
generates Effect with [after, map, always, forever, loop]
|
|
|
|
openFile : Str -> Effect U64
|
|
|
|
closeFile : U64 -> Effect {}
|
|
|
|
withFileOpen : Str, (U64 -> Effect (Result ok err)) -> Effect {}
|
|
|
|
getFileLine : U64 -> Effect Str
|
|
|
|
getFileBytes : U64 -> Effect (List U8)
|
|
|
|
putLine : Str -> Effect {}
|
|
|
|
putRaw : Str -> Effect {}
|
|
|
|
getLine : Effect Str
|
|
|
|
getChar : Effect U8
|