☰
Debian Codegraph
@
4.1+dfsg-1
/
/
tests
/
haskell
/
Types
/
TypeFamilies
/
3
/
Main.hs
☽
☼
tests/haskell/Types/TypeFamilies/3/Main.hs
code
plain
raw
symbols
SCIP
GPL-2.0+
2004-2024 Benjamin Redelings <
[email protected]
>
debian/copyright
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