Closed
Description
Yay classes! Maybe we could have Ruby's extend/include to mix in stuff in our classes? We can make it way cooler than Ruby by allowing any Object to be mixed in!
nameMixin: { name: 'Steve' }
makeSteveMixin: { steve: -> new this() }
class Person
include nameMixin
extend makeSteveMixin
steve: new Person
steve.name() #=> 'Steve'
steve2: Person.steve