Wrap FormData effects.#120
Wrap FormData effects.#120i-am-tom wants to merge 2 commits intopurescript-deprecated:masterfrom i-am-tom:master
Conversation
As the FormData manipulations are effectful, they should live within the ST monad. This commit exposes the methods for mutating the object behind the ST wrapper!
|
I'm not generally much involved with this repo but since you mentioned it on Slack I thought I might do a quick drive-by review... Often for an API based on ST you'll want to provide two versions of things: a mutable and immutable version. The mutable version should have a type variable which will match the type variable given to |
|
I think there are some other APIs in this repo which make use of mutation but don't use |
|
I'm afraid this isn't quite right. We'll need a |
|
Damn it Harry 😆 |
|
lmao |
As the FormData manipulations are effectful, they should live within the
ST monad. This commit exposes the methods for mutating the object behind
the ST wrapper!