there's a type error in golf.hs