You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can be replaced with TypeApplications and AllowAmbiguousTypes:
{-# LANGUAGE TypeFamilies, RankNTypes, TypeApplications, AllowAmbiguousTypes #-}
class Foo a where
foo :: forall a' . (a ~ a') => Int
data Bar
instance Foo Bar where
foo = 42
answer :: Int
answer = foo @Bar
The text was updated successfully, but these errors were encountered:
You can use Symbol-kinded labels since Ether supports poly-kinds. But there's no way I'm declaring this as the official way to use the lib. I have argued against Symbol labels on multiple occasions:
Can be replaced with
TypeApplications
andAllowAmbiguousTypes
:The text was updated successfully, but these errors were encountered: