Name that tune
2 posts
• Page 1 of 1
Name that tune
I think I'd have a lot more than my current 46 D-ops if I found it easier to name them.
I've coded the following conjunction many times but only ever in-line because I can't think of a name for it. It's a very clear concept but ...
thus:
while:
Anyone out there with an idea?
I've coded the following conjunction many times but only ever in-line because I can't think of a name for it. It's a very clear concept but ...
ummm←{⍺←⍵ ⋄ (⍺⍺ ⍺)⍵⍵ ⍵}
thus:
f ummm g w ←→ (f w)g w
while:
a f ummm g w ←→ (f a)g w
Anyone out there with an idea?
-
Phil Last - Posts: 628
- Joined: Thu Jun 18, 2009 6:29 pm
- Location: Wessex
Re: Name that tune
Since "hook" is
ummm also resembles the til operator in Iverson and Whitney's 1982 paper, Practical Uses of a Model of APL http://www.jsoftware.com/papers/APLModel.htm.
- Code: Select all
(f g) ⍵ ←→ ⍵ f (g ⍵)
⍺ (f g) ⍵ ←→ ⍺ f (g ⍵)
- Code: Select all
f ummm g w ←→ (f ⍵) g ⍵
⍺ f ummm g w ←→ (f ⍺) g ⍵
ummm also resembles the til operator in Iverson and Whitney's 1982 paper, Practical Uses of a Model of APL http://www.jsoftware.com/papers/APLModel.htm.
- Code: Select all
f⍨g ⍵ ←→ (g ⍵) f ⍵
⍺ f⍨g ⍵ ←→ (g ⍺) f ⍵
- Roger|Dyalog
- Posts: 238
- Joined: Thu Jul 28, 2011 10:53 am
2 posts
• Page 1 of 1
Return to Functional Programming
Who is online
Users browsing this forum: No registered users and 1 guest
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group