I have a collection of records spread across a number of types in a large Haskell application that reference each other. All of the types involved implement a common typeclass. The typeclass contains
I\'m wondering why this piece of code doesn\'t type-check: {-# LANGUAGE ScopedTypeVariables, Rank2Types, RankNTypes #-}
I have been reading thru the documentation however it is not immediatly clear to me how to draw a polygon using CGPath. All I need to do is to draw CGPath around something like this: