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