Safe Haskell | None |
---|---|
Language | Haskell2010 |
The HList library
(C) 2004, Oleg Kiselyov, Ralf Laemmel, Keean Schupke
Generic type equality predicate: The implementation based on overlapping instances The only place where overlapping instances are really used besides Label5
Documentation
class IsKeyFN (t :: *) (flag :: Bool) | t -> flag Source #
All our keywords must be registered
(~) Bool False flag => IsKeyFN t flag Source # | overlapping/fallback case |
(~) * r (c -> b) => IsKeyFN (K k s c -> r) True Source # | The purpose of this instance is to be able to use the same Symbol
(type-level string) at different types. If they are supposed to be the same,
then use
therefore the following options works:
But you cannot leave off all |