Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: e1d1c0e269
Fetching contributors…

Cannot retrieve contributors at this time

executable file 12 lines (8 sloc) 0.191 kB
module A3 where
data Data a = C1 a Char | C2 Int | C3 Float
f :: Data a
f = (C1 "hello" 'c')
g = case f of
(C1 x z) -> 42
(C1 x z) -> 43
_ -> 0
Jump to Line
Something went wrong with that request. Please try again.