We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29de859 commit 1468252Copy full SHA for 1468252
effect/ref.py
@@ -19,12 +19,11 @@ class Reference(object):
19
20
:note: Warning: Instantiating a Reference causes an implicit side-effect.
21
In other words, ``Reference`` is not a referentially transparent
22
- function, and you can't use equational reasoning on it: the a call to
+ function, and you can't use equational reasoning on it: a call to
23
Reference is not interchangeable with the *result of* a call to
24
Reference, since identity matters. If you want to create references in
25
purely functional code, you can use the :obj:`effect.Func` intent:
26
`effect.Effect(effect.Func(Reference))`.
27
-
28
"""
29
30
# TODO: Add modify_atomic that either uses a lock or a low-level
0 commit comments