compare generic signatures loosely