☰
Debian Codegraph
@
4.1+dfsg-1
/
/
tests
/
haskell
/
Types
/
GADT
/
3
/
Main.hs
☽
☼
tests/haskell/Types/GADT/3/Main.hs
code
plain
raw
symbols
SCIP
GPL-2.0+
2004-2024 Benjamin Redelings <
[email protected]
>
debian/copyright
1
{-# LANGUAGE GADTs #-}
2
3
data
T
a
=
Eq
a
=>
MkT
a
4
5
check
(
MkT
x
)
=
x
==
x
6
7
data
S
=
forall
x
.
Eq
x
=>
MkS
x
8
9
check2
(
MkS
x
)
=
x
==
x