annotate arrows/dup.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
rev   line source
samer@0 1 % dup - Arrow to duplicate one input to two outputs.
samer@0 2 %
samer@0 3 % dup :: arrow({A},{A,A},empty).
samer@0 4 function u=dup, u=arr(@dupfn); end
samer@0 5 function [x,y]=dupfn(x); y=x; end