-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
{-# LANGUAGE LiberalTypeSynonyms #-}
test :: "arg" :! (forall a. f a -> g a) -> f b -> g b
test x = xcomplains with
• Illegal polymorphic type: forall a. f a -> g a
GHC doesn't yet support impredicative polymorphism
• In the type signature:
test :: "arg" :! (forall a. f a -> g a) -> f b -> g b
|
| test :: "arg" :! (forall a. f a -> g a) -> f b -> g b
int-index
Metadata
Metadata
Assignees
Labels
No labels