Skip to content

Commit 775be9c

Browse files
committed
eta (for GHC 9.0)
1 parent 08acc99 commit 775be9c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ebu-examples/src/Unembedding/Examples/Forall.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ instance L (UE.EnvI Ast) where
161161

162162

163163
toAst :: (forall e. L e => e a) -> Ast '[] a
164-
toAst = UE.runClose
164+
toAst h = UE.runClose h
165165

166166
data S a where
167167
SO :: Int -> S O

ebu/tests/UnembeddingSpec.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ instance HSTLCS (EnvI STLC) (EnvI STLCS) where
7474

7575

7676
fromHOAS :: (forall f. HSTLC f => f a) -> STLC '[] a
77-
fromHOAS = runClose
77+
fromHOAS h = runClose h
7878

7979
fromHOASS :: (forall f s. HSTLCS f s => s a) -> STLCS '[] a
80-
fromHOASS = runClose'
80+
fromHOASS h = runClose' h
8181

8282

8383
sHOAS :: HSTLC f => f ((a -> b -> c) -> (a -> b) -> a -> c)

0 commit comments

Comments
 (0)