aboutsummaryrefslogtreecommitdiff
path: root/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/exception.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/stdlib/exception.ts b/stdlib/exception.ts
new file mode 100644
index 0000000..731b3b0
--- /dev/null
+++ b/stdlib/exception.ts
@@ -0,0 +1,5 @@
+import { Effect, Kind1 } from "./effect";
+
+export interface Try<_E extends Effect, _Catch extends Kind1> extends Effect {}
+
+export interface Throw<_E> extends Effect {}