roc/compiler/load/tests/fixtures/build/interface_with_deps/Primary.roc
ayazhafiz 352754960f Remove stale todos in load tests
These no longer seem to be issues.
2021-12-23 15:29:27 -06:00

30 lines
511 B
Text

interface Primary
exposes [ blah2, blah3, str, alwaysThree, identity, z, w, succeed, withDefault, yay ]
imports [ Dep1, Dep2.{ two, foo }, Dep3.Blah.{ bar }, Res ]
blah2 = Dep2.two
blah3 = bar
str = Dep1.str
alwaysThree = \_ -> Dep1.three
identity = \a -> a
z = identity (alwaysThree {})
w : Dep1.Identity {}
w = Identity {}
succeed : a -> Dep1.Identity a
succeed = \x -> Identity x
withDefault = Res.withDefault
yay : Res.Res {} err
yay =
ok = Ok "foo"
f = \_ -> {}
Res.map ok f