Skip to content

Laws questions #3931

Closed Answered by armanbilge
durban asked this question in Q&A
Jan 5, 2024 · 3 comments · 6 replies
Discussion options

You must be logged in to vote

but it seems to say more or less that

Oh, indeed it does! In that case, I agree then that seems fine.

"A mess", meaning "we tend to assume things not guaranteed by the typeclasses"? Or am I misunderstanding you?

Yes, in a handful places where we actually want defer instead we assume that we have a StackSafeMonad. Also some occurrences in FS2.

(release, _) => storeFinalizer(fin => ec => F.unit >> fin(ec).guarantee(release(ec)))

// we insert a bind to get stack s…

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
3 replies
@joroKr21
Comment options

@durban
Comment options

durban Jan 6, 2024
Collaborator Author

@armanbilge
Comment options

Answer selected by durban
Comment options

durban
Jan 6, 2024
Collaborator Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@durban
Comment options

durban Jan 14, 2024
Collaborator Author

@djspiewak
Comment options

@durban
Comment options

durban Jan 15, 2024
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants