Skip to content

Commit

Permalink
More rst tests
Browse files Browse the repository at this point in the history
  • Loading branch information
apatil committed Mar 25, 2009
1 parent ce0bc43 commit 69b9dce
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.rst
Expand Up @@ -9,16 +9,16 @@ Usage

Lazy cells dependent on a ref can be created as follows::

(def x (ref 10))
(def-cell a (sleeping /) [1 x])
(def-cell b (sleeping +) [2 3])
(def x (ref 10))
(def-cell a (sleeping /) [1 x])
(def-cell b (sleeping +) [2 3])

If you deref a lazy cell, you'll see a map::

user=> @a
{:val nil, :status :needs-update}
user=> @b
{:val nil, :status :needs-update}
user=> @a
{:val nil, :status :needs-update}
user=> @b
{:val nil, :status :needs-update}

``:status`` may be:

Expand Down

0 comments on commit 69b9dce

Please sign in to comment.