roc/examples/balance/Main.roc
2020-12-05 09:17:03 +01:00

8 lines
201 B
Plaintext

app "main" imports [ Effect ] provides [ rocMain ] to "./platform"
rocMain : Effect.Effect {} as Fx
rocMain =
when List.len (Str.split "hello" "JJJJ there") is
_ -> Effect.putLine "Yay"