14,15. Not knowing typedefs in haskell is becoming a bottleneck quickly (11-13)