view general/funutils/TODO @ 13:03694e5c8365

Reorganised some high order list functions to correct class-based method dispatch; fixed some docs.
author samer
date Wed, 16 Jan 2013 12:12:34 +0000
parents fbc0540a9208
children 9d24b616bb06
line wrap: on
line source
Think about algebra of function handles - funseq, 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)