RE: Ambiguous type variable