Where did the name <*>
first begin to appear in literature or code, and did it come with any explanation for the choice of symbol?
Asked
Active
Viewed 624 times
26

Cactus
- 27,075
- 9
- 69
- 149

Chris Martin
- 30,334
- 10
- 78
- 137
2 Answers
28
It's an ASCIIification of the notation used in the original idioms paper: "Idioms: applicative programming with effects". That notation, was in turn, inspired by an already ASCIIified version from Sweirstra's and Duponcheel's paper on error-correcting parser combinators: "Deterministic, Error-Correcting Combinator Parsers". That came from "Functional Parsers" by Jeroen Fokker. This paper does not indicate where it came from which may mean it originated it. I would not be surprised if it was used for parsing before then.

Derek Elkins left SE
- 2,079
- 12
- 14
-
1Just to help in finding this notation in the Fokker paper: it’s introduced on p.5, at the start of §4. – PLL Mar 18 '16 at 14:23
14
The original idioms paper already uses ⊛
for application; <*>
was picked as an ASCII-art approximation of that, since (*)
isn't available (it is the syntax of the prefix form of the infix operator *
).

Cactus
- 27,075
- 9
- 69
- 149