Mercurial > hg > ishara
view arrows/@unfolder/unfolder.m @ 6:0ce3c2070089
Removed duplicate code and fixed doc in timed_action.
author | samer |
---|---|
date | Mon, 14 Jan 2013 14:33:37 +0000 |
parents | 672052bd81f8 |
children | ae596261e75f |
line wrap: on
line source
% unfolder - unfolding arrow % % unfolder :: % (S -> B, S) ~'function to state to output and next state', % S ~'initial state' % -> arrow({},{B},S) ~'arrow from A to B with state of type S'. function o=unfolder(fn,s0) s.fn=fn; s.s0=s0; o=class(s,'unfolder',arrow(0,1)); end