Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #6776

Tee-arrow notation for pure functions

From Chris Young <cy56@comcast.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Tee-arrow notation for pure functions
Date 2011-11-27 09:16 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jasv4u$75i$1@smc.vnet.net> (permalink)

Show all headers | View raw


With a little work, I've been able to convert every example on the Help 
page for Function into tee-arrow notation. It's even possible to use 
symbols like small boxes and triangles as place holders. Bringing back 
the "New Math"! (It wasn't _all_ bad!)

A picture is at http://home.comcast.net/~cy56/TeeArrow.png

and a notebook is at http://home.comcast.net/~cy56/TeeArrow.nb


Sort by comparing the second part of each element:

Sort[{{a, 2}, {c, 1}, {d, 3}}, #1[[2]] < #2[[2]] &]
{{c, 1}, {a, 2}, {d, 3}}

Sort[{{a, 2}, {c, 1}, {d,
   3}}, {\[EmptyUpTriangle], \[EmptySquare]} \[Function] \
\[EmptyUpTriangle][[2]] < \[EmptySquare][[2]]]
{{c, 1}, {a, 2}, {d, 3}}

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Tee-arrow notation for pure functions Chris Young <cy56@comcast.net> - 2011-11-27 09:16 +0000

csiph-web