From: Dave Thomas Date: 2004-06-07T01:48:41+09:00 Subject: Re: How to ducktype a Hash? On Jun 6, 2004, at 11:42, Sean O'Dell wrote: > If Hash tagged itself as complying with the "hash type" you could > depend on > certain methods doing certain things and taking a certain number of > parameters. Perhaps you'd like Objective-C, which has the concept of protocols, and where variable types can be unconstrained, partially constrained, or specified by type. Cheers Dave