mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
13 lines
298 B
Text
13 lines
298 B
Text
module [line, raw]
|
|
|
|
import pf.PlatformTasks
|
|
|
|
line : Str -> Task {} *
|
|
line = \text ->
|
|
PlatformTasks.putLine text
|
|
|> Task.mapErr \_ -> crash "unreachable Stdout.line"
|
|
|
|
raw : Str -> Task {} *
|
|
raw = \text ->
|
|
PlatformTasks.putRaw text
|
|
|> Task.mapErr \_ -> crash "unreachable Stdout.raw"
|