Haskell types for portage