Hi Stefan,

Multiple people asked me that how they can expect/check that a given object
uses a trait or not.
Of course one could write the concrete methods as a trait and always use a
given interface for typehints, but I can't see why shouldn't instanceof and
typehints in general work for traits.
Is the any technical or maybe theoretical argument against this?

-- 
Ferenc Kovács
@Tyr43l - http://tyrael.hu

Reply via email to