Haskell #3: Add type declaration to factors