Sun Jan 20 21:13:15 CET 2013


The argument to feedback is a function that takes delayed streams to
streams.  The trick here is the representation of a stream.  It
somehow needs to be lazy.

A neat lambda-trick is hiding here...

Let's think of it the other way around: what is the output of the
compilation step?  Can it be just an update function?

Passing values to the feedback function should return a function that
takes a number of inputs.

Let's just make all primitives delayed, see what happens

Yeah I don't see it...

I've updated ai-scheme.rkt to include a wrapper for stream processing,
so this now works:

(define intgr (ai-scheme-stream integrate))
box> (intgr '(1 1 1))
((1 2 3))