mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-09 22:54:44 +03:00
remove unneeded file
This commit is contained in:
parent
b8b79f86d9
commit
fe1b153a55
@ -1,12 +0,0 @@
|
||||
app "effect-example"
|
||||
packages { base: "platform" }
|
||||
imports [ base.Task.{ Task, after }, base.File, base.Path ]
|
||||
provides [ main ] to base
|
||||
|
||||
main : Task.Task {} (File.FileReadErr [BadUtf8])
|
||||
main =
|
||||
when Path.fromStr "Cargo.toml" is
|
||||
Ok path ->
|
||||
Task.after (Task.putLine "Our Cargo.toml:") \_ ->
|
||||
Task.after (File.readUtf8 path) (\line -> Task.putLine line)
|
||||
_ -> Task.putLine "invalid path"
|
Loading…
Reference in New Issue
Block a user