mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
8 lines
229 B
Text
8 lines
229 B
Text
interface Stdout
|
|
exposes [line]
|
|
imports [pf.Effect, Task.{ Task }, InternalTask]
|
|
|
|
line : Str -> Task {} * [Write [Stdout]*]*
|
|
line = \str ->
|
|
Effect.map (Effect.putLine str) (\_ -> Ok {})
|
|
|> InternalTask.fromEffect
|