summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2017-11-13 04:44:29 -0500
committerOwen Jacobson <owen@grimoire.ca>2017-11-13 04:44:29 -0500
commit67738039c33956cc80444dce5543c8fa09e8bc9d (patch)
tree6c240fa9709b80f82b3339c5730f2ed3b2d50b70
parentd17c5d6354ab2a8a822107d59b0cf221edf99ee3 (diff)
Fix up missing (begin) in example
-rw-r--r--README.rst9
1 files changed, 5 insertions, 4 deletions
diff --git a/README.rst b/README.rst
index 9dfef88..b5e0b37 100644
--- a/README.rst
+++ b/README.rst
@@ -227,11 +227,12 @@ Actinide functions returne a tuple of results rather than a single value:
::
session.run('''
- ; Set a variable
- (define x 5)
+ (begin
+ ; Set a variable
+ (define x 5)
- ; Define a function that reads the variable
- (define (get-x) x)
+ ; Define a function that reads the variable
+ (define (get-x) x))
''')
get_x = session.get('get-x')