Skip to content

Commit 5a31dfd

Browse files
Use forall proxy. proxy sym to make current SProxy code still compile
1 parent 05cc6ba commit 5a31dfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Data/Symbol.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ data SProxy (sym :: Symbol) = SProxy
1212

1313
-- | A class for known symbols
1414
class IsSymbol (sym :: Symbol) where
15-
reflectSymbol :: Proxy sym -> String
15+
reflectSymbol :: forall proxy. proxy sym -> String
1616

1717
-- local definition for use in `reifySymbol`
1818
foreign import unsafeCoerce :: forall a b. a -> b

0 commit comments

Comments
 (0)