mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
9 lines
329 B
Text
9 lines
329 B
Text
app Main provides [ main ] imports [ Effect ]
|
|
|
|
main : Effect.Effect {} as Fx
|
|
main =
|
|
Effect.always "Write a thing"
|
|
|> Effect.map (\line -> Str.concat line "!")
|
|
|> Effect.after (\line -> Effect.putLine line)
|
|
|> Effect.after (\{} -> Effect.getLine)
|
|
|> Effect.after (\line -> Effect.putLine line)
|