Skip to content

Commit

Permalink
Add instance Handle IOE
Browse files Browse the repository at this point in the history
  • Loading branch information
tomjaguarpaw committed Oct 16, 2024
1 parent 3aec4cd commit 8c457fc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bluefin-internal/src/Bluefin/Internal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,9 @@ instance Handle (Coroutine a b) where
instance Handle (Writer w) where
mapHandle (Writer wr) = Writer (mapHandle wr)

instance Handle IOE where
mapHandle MkIOE = MkIOE

newtype In (a :: Effects) (b :: Effects) = In# (# #)

merge :: (# #) -> (a :& a) `In` a
Expand Down

0 comments on commit 8c457fc

Please sign in to comment.