diff options
Diffstat (limited to 'stdlib/source/documentation/lux/control/function/memo.lux')
-rw-r--r-- | stdlib/source/documentation/lux/control/function/memo.lux | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/documentation/lux/control/function/memo.lux b/stdlib/source/documentation/lux/control/function/memo.lux index dcbda3a2d..83c4a234a 100644 --- a/stdlib/source/documentation/lux/control/function/memo.lux +++ b/stdlib/source/documentation/lux/control/function/memo.lux @@ -18,15 +18,15 @@ ($.definition /.open "Memoization where the memoized results can be re-used accross invocations." - [(open memo)]) + ($.example (open memo))) ($.definition /.closed (format "Memoization confined to a single invocation to the function (not counting any subsequent recursive invocations)." \n "Memoized results will be re-used during recursive invocations, but cannot be accessed after the main invocation has ended.") - [(closed hash memo)]) + ($.example (closed hash memo))) ($.definition /.none (format "No memoization at all." \n "This is useful as a test control when measuring the effect of using memoization.") - [(none hash memo)]) + ($.example (none hash memo))) )) |