E
Size: a a a
E
E
JS
• Illegal polymorphic type:
forall a. ((String, Integer, Integer) -> a) -> a
GHC doesn't yet support impredicative polymorphism
• In the expansion of type synonym ‘Robot’
In the type signature:
fightOneRound :: Robot -> Robot -> (Robot, Robot)
E
E
JS
E
ЗП
JS
ЗП
• Illegal polymorphic type:
forall a. ((String, Integer, Integer) -> a) -> a
GHC doesn't yet support impredicative polymorphism
• In the expansion of type synonym ‘Robot’
In the type signature:
fightOneRound :: Robot -> Robot -> (Robot, Robot)
E
JS
type Robot = forall a. ((String, Integer, Integer) -> a) -> a
fightOneRound :: Robot -> Robot -> String
JS
JS
IK
E
ЗП
E
E
IK