diff --git a/src/Data/Record.hs b/src/Data/Record.hs index d0f2e3b21..0fe74b1b1 100644 --- a/src/Data/Record.hs +++ b/src/Data/Record.hs @@ -24,6 +24,7 @@ field = Tagged -- Classes +-- | HasField enables indexing a Record by (phantom) type tags. class HasField (fields :: [*]) (field :: *) where getField :: Record fields -> field