Mercurial > hg > ishara
view arrows/@arrow/buffer.m @ 2:7357e1dc2ad6
Simplified scheduler library with new schedule representation.
author | samer |
---|---|
date | Sat, 22 Dec 2012 16:17:51 +0000 |
parents | 672052bd81f8 |
children |
line wrap: on
line source
% buffer - returns an arrow that collects several outputs from another arrow % % buffer :: % arrow({},{[[N]]},S) ~'arrow with no inputs and one output', % L:natural ~'width of buffer' % -> arrow({}, {[[N,L]]},S). function b=buffer(a,width), b=abuffer(a,width);