Richard Stallman

From APL Wiki
Revision as of 21:31, 10 September 2022 by Adám Brudzewsky (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")
Jump to navigation Jump to search
This article is about Stallman's relationship with APL. For more complete information about Stallman, see Wikipedia.

Richard Matthew Stallman, founder of the GNU Project, was an early adopter of APL, and used it to write a text editor as a high school student in the summer of 1969[1]. The same year, he also wrote a now famous rhyme:

Rho, rho, rho of X
Always equals 1
Rho is dimension, rho rho rank.
APL is fun![2]

This plays on the fact that <syntaxhighlight lang=apl inline>⍴X</source> gives the shape (length of each axis; "dimension") of <syntaxhighlight lang=apl inline>X</source> while <syntaxhighlight lang=apl inline>⍴⍴X</source> gives the rank (number of axes/dimensions) and since the number of axes is always a count, it is a single number, which has the shape <syntaxhighlight lang=apl inline>1</source> if a vector, and <syntaxhighlight lang=apl inline>⍴</source> always returns a vector:

<syntaxhighlight lang=apl>

     ⎕←X←3 1 4∘.+2 7 1 8

5 10 4 11 3 8 2 9 6 11 5 12

     ⍴X

3 4

     ⍴⍴X

2

     ⍴⍴⍴X

1 </source>

References

  1. Stallman, Richard M. "RMS Berättar".
  2. Stallman, Richard M. "Doggerel"
APL community [edit]
Activities ConferencesUser groups and meetupsIverson AwardExercises
Chat rooms and forums APL FarmAPL OrchardAPL Wiki
People Phil AbramsBrian BeckerBob BerneckyLarry BreedCharles BrennerJim BrownAdám BrudzewskyGitte ChristensenPeter DonnellyJohn EarnestAdin FalkoffGarth FosterLib GibsonAaron HsuRoger HuiKen IversonMorten KrombergDick LathwellMarshall LochbaumEugene McDonnellRoger MooreTrenchard MoreAlan PerlisRaghu RanganathanHenry RichAl RoseJohn ScholesIan SharpBob SmithGeoff StreeterJoey TuttleArthur Whitney
Other APL TrustAPL Quote QuadBlogsBooksCase studiesFamous APL usersHumourJobsMerchandisePapersPodcastsTryAPLTry It OnlineVideo channels