Revert "Avoid defining unsized platform Tasks"

This reverts commit d3732b4440.
This commit is contained in:
Anton-4 2024-08-28 16:37:01 +02:00
parent d3732b4440
commit ca7d1cb3fa
No known key found for this signature in database
GPG key ID: 0971D718C0A9B937
18 changed files with 105 additions and 109 deletions

View file

@ -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 (\{} -> "{}")