summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/prog001/Read007.hs
blob: a0c2ec0f449611f384acc9578449f7bd47a34d84 (plain)
1
2
3
4
5
6
7
8
module ShouldCompile where

import Read006

myLength :: MyList a -> Int
myLength Empty = 0
myLength (x ::: xs) = 1 + myLength xs