☰
Debian Codegraph
@
4.1+dfsg-1
/
/
tests
/
haskell
/
Types
/
GADT
/
1
/
Main.hs
☽
☼
tests/haskell/Types/GADT/1/Main.hs
code
plain
raw
symbols
SCIP
GPL-2.0+
2004-2024 Benjamin Redelings <
[email protected]
>
debian/copyright
1
{-# LANGUAGE NoImplicitPrelude #-}
2
3
data
T
a
=
T1
a
| (
a
~
Int
) =>
T2
4
5
f
(
T1
x
)
=
x
6
f
T2
=
2#
7
8
g
=
f
(
T1
"hello"
)