oetzi/echo — Issue #54: Revise 'map'
Author: oetzi
Created: 2012-02-01 14:03:53+00:00
State: open
Labels: behaviours

The 'map' function on Behaviours should be revised so it works in a more intelligent way. Instead of the current method it should be defined in the following way (for combining):

def map(func : (T, U => V), beh : Behaviour[U]) : Behaviour[V]

This should probably be extended for multiple combinations. This function should also maybe be redefined as 'comb' or something similar (to avoid confusion with 'map(fund : T => B) : Behaviour[B]').