type Cat = object
    proc purr(this: Cat) = echo "Purr"
    Cat().purr()
    
    Run

`purr()` is glued to the `Cat`, statically, for all Cats. 

Reply via email to