You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 4, 2020. It is now read-only.
I think we should start making current representation opaque, and update all deps gradually.
If folks agree on it i could open pr to address this issue here.
I don't really see why this is a problem. Eff is just one possible representation of an effectful function, and if you want to use it, you need to know its representation. Adding a layer of indirection like this would be appropriate if we wanted Eff to be the only possible representation, but it's not.
Currently runtime representation of Eff is leaked to all libraries defining new Effs using FFI
If
require('output/Control.Monad.Eff.Unsafe/index.js').unsafePerformEff
to run effectfor FFI-ing effectful code instead we could have done:
libs will use
ForiegnFff
type for doing FFI and thentoEff
for actually using it.This way representation could be changed (for example #29) without effecting users, (without major version change).
The text was updated successfully, but these errors were encountered: