annotate arrows/anull.m @ 61:eff6bddf82e3 tip

Finally implemented perceptual brightness thing.
author samer
date Sun, 11 Oct 2015 10:20:42 +0100
parents ae596261e75f
children
rev   line source
samer@42 1 % anull - arrow to absorb given number of inputs
samer@0 2 %
samer@27 3 % asink :: N:natural -> arrow(_@typelist(N),{},empty).
samer@0 4 function a=asink(nin)
samer@0 5 if nargin<1, nin=1; end
samer@0 6 a=arr(@nop,'nargin',nin,'nargout',0);
samer@0 7 end