Mercurial > hg > ishara
annotate arrows/obs_with.m @ 42:ae596261e75f
Various fixes and development to audio handling
author | samer |
---|---|
date | Tue, 02 Dec 2014 14:51:13 +0000 |
parents | 672052bd81f8 |
children |
rev | line source |
---|---|
samer@0 | 1 % obs_with - arrow to observe a signal while passing it through |
samer@0 | 2 % |
samer@0 | 3 % obs_with :: |
samer@0 | 4 % arrow({A},{},S) ~'arrow sink to observe values of type A', |
samer@0 | 5 % -> arrow({A},{A},pair(empty,S)). |
samer@0 | 6 |
samer@0 | 7 function b=obs_with(a), b=dup*first(a); end |