Debian Codegraph @

tests/haskell/Types/TypeFamilies/3/Main.hs

raw symbols SCIP
1 {-# LANGUAGE NoImplicitPrelude #-}
2
3 import Data.Maybe
4
5 class C a where
6 method :: a -> a
7
8 instance C (Maybe a) where
9 method x = x
10
11 type family F a
12
13 func :: a ~ Maybe (F a) => a -> a
14 func x = method x