File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ uuid = "6f1fad26-d15e-5dc8-ae53-837a1d7b8c9f"
3
3
license = " MIT"
4
4
desc = " Tape based task copying in Turing"
5
5
repo = " https://github.com/TuringLang/Libtask.jl.git"
6
- version = " 0.9.0 "
6
+ version = " 0.9.1 "
7
7
8
8
[deps ]
9
9
MistyClosures = " dbe65cb8-6be2-42dd-bbc5-4196aaced4f4"
Original file line number Diff line number Diff line change @@ -10,15 +10,22 @@ public interface of Libtask.jl.
10
10
They divide neatly into two kinds of functions: those which are used to manipulate
11
11
[ ` TapedTask ` ] ( @ref ) s, and those which are intended to be used _ inside_ a
12
12
[ ` TapedTask ` ] ( @ref ) .
13
- First, manipulation of [ ` TapedTask ` ] ( @ref ) s:
13
+
14
+ ## Manipulation of [ ` TapedTask ` ] ( @ref ) s:
14
15
``` @docs; canonical=true
15
16
Libtask.consume
16
17
Base.copy(::Libtask.TapedTask)
17
18
Libtask.set_taped_globals!
18
19
```
19
20
20
- Functions for use inside a [ ` TapedTask ` ] ( @ref ) s are :
21
+ ## Functions for use inside a [ ` TapedTask ` ] ( @ref ) s:
21
22
``` @docs; canonical=true
22
23
Libtask.produce
23
24
Libtask.get_taped_globals
24
25
```
26
+
27
+ An opt-in mechanism marks functions that might contain ` Libtask.produce ` statements.
28
+
29
+ ``` @docs; canonical=true
30
+ Libtask.might_produce(::Type{<:Tuple})
31
+ ```
Original file line number Diff line number Diff line change 3
3
``` @docs; canonical=true
4
4
Libtask.produce_value
5
5
Libtask.is_produce_stmt
6
- Libtask.might_produce
7
6
Libtask.stmt_might_produce
8
7
Libtask.inc_args
9
8
Libtask.get_type
You can’t perform that action at this time.
0 commit comments