mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
Correctly generate type constraints for required symbols in platform
This commit is contained in:
parent
e8fbda44fc
commit
c7142da116
7 changed files with 35 additions and 17 deletions
|
@ -6,7 +6,7 @@ app "deriv"
|
|||
# based on: https://github.com/koka-lang/koka/blob/master/test/bench/haskell/deriv.hs
|
||||
IO a : Task.Task a []
|
||||
|
||||
main : IO {}
|
||||
main : Task.Task {} []
|
||||
main =
|
||||
Task.after
|
||||
Task.getInt
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
platform "benchmarks"
|
||||
requires {} { main : Effect {} }
|
||||
requires {} { main : Task {} [] }
|
||||
exposes []
|
||||
packages {}
|
||||
imports [ Task.{ Task } ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue