Closed kejace closed 3 years ago
I think I have it down to just fixing the instance resolution for event'
.
This passes CI, requesting review.
All above issues are gone - no unsafeCoerce
is present and tests pass.
Some comments:
TokenUnit
as kind and class. Therefore opted to rename the kind to just TokenK
as it is not really exported (it is, but only because we need to for divide
).purescript-tagged
for which I have opened a PR to upstream. I leave it to the reviewer what to do about waiting for that to merge or not, or just not use it at all.v0.14
branch of eth-core
but this should change whenever there's a merge of that to master
.purty
fails because it doesn't fully support class
kind annotations
Disabled linting, for now
We have a heavy dependency on purescript-tagged
via the generator, so I don't think we can/should get rid of it. Its strange to me that it's fallen out of maintenance because it's often a useful type in haskell.
Also are the chanterelle tests in this repo running? I can't tell just by looking at it
Also are the chanterelle tests in this repo running? I can't tell just by looking at it
I'm not sure what you are referring to here. FWIW the updated chanterelle which depends on this branch passes tests. I don't see any dependency in this repo, on chanterelle itself.
Attempt to address #145
Currently getting "real" errors, as upstream dependencies have been fixed. I have a PR for
purescript-eth-core
(https://github.com/f-o-a-m/purescript-eth-core/pull/24) that passes tests. I also had to forkpurescript-tagged
(which had a similar issue to below). I think we should remove thepurescript-tagged
dependency, but leaving that outside the scope of this PR.Some kind annotations have been added, to guide the type-checker.
Currently running into
The change is basically
but it looks like the constraints aren't quite right anymore.
The reason for this change is due to the breaking changes regarding the removal of
wrap
andunwrap
forNewtype
and addition theCoercible
typeclass.Scroll down to the relevant section here: https://github.com/purescript/purescript/releases/tag/v0.14.0 and also read https://github.com/purescript/purescript-newtype/pull/22
EDIT: I resolved this by using
unsafeCoerce
for now, and re-arranging the terms in theRow.Union
constraint.