My point about variables -- interesting side-effect

If my way of thinking of variables as having an input port and an output
port, i.e. as a way of giving a pipe of flowing data a name for later
reuse, then it becomes a lightweight way of specifying the identity
step.

That is, I claim that

 ... -> ...

is equivalent to

 ... -> identity() -> ...

is equivalent to

 ... >> $foo
 [$foo] -> ...

with an added name for later reuse.

Which brings me back to thinking that the -> vs. >> distinction is
misleading at best, and I should just be able to write

 ... -> $foo -> ...
-- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
                       URL: http://www.ltg.ed.ac.uk/~ht/
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]

Received on Wednesday, 20 April 2016 18:26:27 UTC