aboutsummaryrefslogtreecommitdiff
path: root/stm.go
diff options
context:
space:
mode:
Diffstat (limited to 'stm.go')
-rw-r--r--stm.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/stm.go b/stm.go
index cb745a1..fc4a125 100644
--- a/stm.go
+++ b/stm.go
@@ -74,6 +74,7 @@ is not entirely possible due to Go's type system; we are forced to use
interface{} and type assertions. Furthermore, Haskell can enforce at compile
time that STM variables are not modified outside the STM monad. This is not
possible in Go, so be especially careful when using pointers in your STM code.
+Remember: modifying a pointer is a side effect!
*/
package stm