mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
15 lines
451 B
Text
15 lines
451 B
Text
platform folkertdev/foo
|
|
requires { main : Effect {} }
|
|
exposes []
|
|
packages {}
|
|
imports [ Task, File ]
|
|
provides [ mainForHost ]
|
|
effects fx.Effect
|
|
{
|
|
# TODO change sig to Effect { errno : I32, bytes : List U8 }
|
|
readAllUtf8 : Str -> Effect { errno : I64, bytes : Str },
|
|
putLine : Str -> Effect {}
|
|
}
|
|
|
|
mainForHost : Task.Task {} (File.FileReadErr [BadUtf8]) as Fx
|
|
mainForHost = main
|