diff options
Diffstat (limited to 'compiler/types/Class.hs')
-rw-r--r-- | compiler/types/Class.hs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/compiler/types/Class.hs b/compiler/types/Class.hs index 946ed3d345..9ccece9802 100644 --- a/compiler/types/Class.hs +++ b/compiler/types/Class.hs @@ -78,8 +78,14 @@ data Class } deriving Typeable -type FunDep a = ([a],[a]) -- e.g. class C a b c | a b -> c, a c -> b where... - -- Here fun-deps are [([a,b],[c]), ([a,c],[b])] +-- | e.g. +-- +-- > class C a b c | a b -> c, a c -> b where... +-- +-- Here fun-deps are [([a,b],[c]), ([a,c],[b])] +-- +-- - 'ApiAnnotation.AnnKeywordId' : 'ApiAnnotation.AnnRarrow'', +type FunDep a = ([a],[a]) type ClassOpItem = (Id, DefMeth) -- Selector function; contains unfolding |