oetzi/echo — Issue #23: Design and Implement Mixin Behaviour types
Author: oetzi
Created: 2011-10-28 16:09:33+00:00
State: open
Labels: behaviours, spec

Instead of embedding numeric functions in Behaviours there should be implicit conversions to Numeric Behaviours. There should also be similar conversions for other basic types.

To achieve this Behaviour should possibly be a trait but I need to look at some Scala stuff to look at the best way to do this. Not sure if this will work as Behaviours have to be concrete for most uses. Basically I think Numeric Behaviour for example should be a trait that adds implemented +, -, * functions.