purescript-event
purescript-event copied to clipboard
add note on why use of unsafePerformEffect is safe
When you first look at definition of fix it's not clear why use of unsafePerformEffect is safe, would be great if an explanation is added
Agreed, I'll be happy to merge a PR which adds a note along these lines.
Use of unsafePerformEffect is safe, as it's effects are not observable (i tried but i couldn't), but I can't really prove or explain well why it's like that.