Skip to content

Rearranging effect order #91

Answered by arybczak
chris-martin asked this question in Q&A
Discussion options

You must be logged in to vote

Currently inject only works if you deal with monomorphic stacks (as then GHC just solves the constraint) or if you pass the Subset evidence around.

This isn't particularly satisfying and I'm pretty sure through a clever trick Subset can be modified to auto resolve with stacks that share an opaque tail, I just didn't look at this in depth yet.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@arybczak
Comment options

@chris-martin
Comment options

@arybczak
Comment options

@ocharles
Comment options

@arybczak
Comment options

Answer selected by chris-martin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants