[1 of 1] Compiling Main ( prog.hs, prog.o )
prog.hs:10:7:
Could not deduce (b ~ [b])
from the context (FooC a b)
bound by the type signature for foo :: FooC a b => [FooE a b] -> b
at prog.hs:9:8-47
`b' is a rigid type variable bound by
the type signature for foo :: FooC a b => [FooE a b] -> b
at prog.hs:9:17
Expected type: [FooE a b] -> b
Actual type: [FooE a0 b] -> [b]
In the return type of a call of `map'
In the expression: map (foob :: FooE a b -> b)
In an equation for `foo': foo = map (foob :: FooE a b -> b)