From efe0ab336144d2d965bf355db02762f5cf539c7f Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sat, 14 Jan 2023 10:37:51 +0530 Subject: feat: adds func to try/catch --- stdlib/exception.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stdlib/exception.ts') diff --git a/stdlib/exception.ts b/stdlib/exception.ts index ddb980c..d137a87 100644 --- a/stdlib/exception.ts +++ b/stdlib/exception.ts @@ -1,5 +1,5 @@ -import { Effect, Kind1 } from './effect' +import { Effect, Func } from './effect' -export interface Try<_E extends Effect, _Catch extends Kind1> extends Effect {} +export interface Try<_E extends Effect, _Catch extends Func> extends Effect {} export interface Throw<_E> extends Effect {} -- cgit v1.3.1