Tee-arrow notation for pure functions
- To: mathgroup at smc.vnet.net
- Subject: [mg123222] Tee-arrow notation for pure functions
- From: Chris Young <cy56 at comcast.net>
- Date: Sun, 27 Nov 2011 04:13:35 -0500 (EST)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
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}}