@@ -101,23 +101,6 @@ do
101101 arraybuffer <- execPut $ putArrayInt32 [1,2,3]
102102```
103103
104−
105−## `unsafePerformEffect execPut`
106−
107−Dear computer programmer, you can call `execPut` inside `unsafePerformEffect`.
108−
109−The reason why this whole library is `Effect`ful is that `ArrayBuffer`s are mutable, so the `ArrayBuffer` library functions do everything in `Effect` to to confirm that any mutations are properly sequenced.
110−
111−However, all of the `put` functions in this library are actually side-effect free, so we can use `unsafePerformEffect` to tell the compiler to trust us that we don't perform any side-effects while we're building an `ArrayBuffer`.
112−
113−```purescript
114−let serialized :: ArrayBuffer
115− serialized = unsafePerformEffect $ execPut do
116− putInt32be 3 -- ✅ Good, this has no side-effects
117− putInt32be =<< getCurrentPosixTime -- ❌ No don't do this
118− putArrayBuffer =<< readFileFromMyFilesystem -- ❌ No don’t do this either
119−```
120−
121104## Deserialization
122105
123106This package is only for writing `ArrayBuffer`s, not reading them.