mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
15 lines
422 B
Text
15 lines
422 B
Text
platform folkertdev/foo
|
|
requires {model=>Model, msg=>Msg} {main : Effect {}}
|
|
exposes []
|
|
packages {}
|
|
imports [ Task.{ Task } ]
|
|
provides [ mainForHost ]
|
|
effects fx.Effect
|
|
{
|
|
putLine : Str -> Effect {},
|
|
putInt : I64 -> Effect {},
|
|
getInt : Effect { value: I64, errorCode: [ A, B ], isError: Bool }
|
|
}
|
|
|
|
mainForHost : Task {} [] as Fx
|
|
mainForHost = main
|