rev: release-0.15 scopes/doc/module-Capture.rst -rw-r--r-- 644 bytes View raw Log this file
e53de6d7cb89 — Leonard Ritter * win32 build fix 1 year, 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Capture
=======

A capture is a runtime closure that transparently captures (hence the name)
runtime values outside of the function.

.. type:: Capture

   An opaque type.

   .. inline:: (__call self args...)
   .. inline:: (__drop self)
   .. inline:: (__typecall cls args...)
   .. inline:: (make-type ...)
.. type:: CaptureTemplate

   An opaque type.

   .. spice:: (__imply ...)
   .. inline:: (build-instance self f)
   .. inline:: (instance self types...)
   .. inline:: (typify-function cls types...)
.. type:: SpiceCapture

   An opaque type.

.. sugar:: (capture ...)
.. sugar:: (decorate-capture ...)
.. sugar:: (spice-capture ...)