annotate general/rec.m @ 61:eff6bddf82e3 tip

Finally implemented perceptual brightness thing.
author samer
date Sun, 11 Oct 2015 10:20:42 +0100
parents 3cedfd4549ef
children
rev   line source
samer@44 1 % rec - elementary struct constructor
samer@44 2 %
samer@44 3 % rec :: N:string, A -> struct { N::A }.
samer@44 4 function s=rec(fn,val)
samer@44 5 s.(fn)=val;