view general/funutils/TODO @ 61:eff6bddf82e3 tip

Finally implemented perceptual brightness thing.
author samer
date Sun, 11 Oct 2015 10:20:42 +0100
parents 9d24b616bb06
children
line wrap: on
line source
Think about algebra of function handles - scanner_add_plotter etc
are special cases function combinators. What is the most general language
for function algebra? Is it the arrow algebra restricted to functional arrows?


Function combinators
	composition :        f*g(x) = f(g(x))
	parallel composition f+g(x,y)=f(x),g(y)

Function types
	state transformers: S->S
	scanner:            Y,X->Y
	folder:             X,S->S
	accum:              Y,S->X,S

Current special cases:
	scanner_add_plotter
	decorate

Also what about actions? (Function with side-effects or dependence on global state)