mirror of
https://github.com/roc-lang/roc.git
synced 2025-11-03 22:13:35 +00:00
Revert "Avoid defining unsized platform Tasks"
This reverts commit d3732b4440.
This commit is contained in:
parent
d3732b4440
commit
ca7d1cb3fa
18 changed files with 105 additions and 109 deletions
|
|
@ -8,9 +8,8 @@ main =
|
|||
tree = insert 0 {} Empty
|
||||
|
||||
tree
|
||||
|> show
|
||||
|> PlatformTasks.putLine
|
||||
|> Task.mapErr! \_ -> crash "unreachable"
|
||||
|> show
|
||||
|> PlatformTasks.putLine
|
||||
|
||||
show : RedBlackTree I64 {} -> Str
|
||||
show = \tree -> showRBTree tree Num.toStr (\{} -> "{}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue