in reply to Creating modules with OO and functional interfaces.

In addition to chromatic's suggestion you might want to check how many arguments you got. If you also got an odd number of arguments then you (probably) got the object.

Needless to say, these methods are not perfect. I too advice against it.

-Anomo
  • Comment on Re: Creating modules with OO and functional interfaces.