roc/examples/interactive/tui-platform/Package-Config.roc

10 lines
344 B
Plaintext
Raw Normal View History

2022-02-11 18:35:24 +03:00
platform "tui"
requires { Model } { main : { init : ({} -> Model), update : (Model, Str -> Model), view : (Model -> Str) } }
exposes []
packages {}
imports []
provides [ mainForHost ]
mainForHost : { init : ({} -> Model) as Init, update : (Model, Str -> Model) as Update, view : (Model -> Str) as View }
mainForHost = main