Skip to content

Commit 4309ebb

Browse files
Create v0.2-design.adoc
1 parent 5ecf836 commit 4309ebb

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
= Reversibility (v0.2 Design - Proposed)
2+
3+
This document describes a proposed extension introducing reversible execution.
4+
5+
== Concept
6+
7+
A `reverse` block would invert operations:
8+
9+
[source]
10+
----
11+
reverse {
12+
x = Data { 5 + 3 };
13+
}
14+
----
15+
16+
== Status
17+
18+
- Not implemented
19+
- No runtime support
20+
- No formal semantics integrated
21+
22+
== Open Questions
23+
24+
- How inversion is defined for non-linear operations
25+
- Interaction with effects and impurity
26+
- Performance implications

0 commit comments

Comments
 (0)