about summary refs log tree commit diff stats
path: root/apl/playground.apl
diff options
context:
space:
mode:
authorelioat <elioat@tilde.institute>2023-05-17 21:51:28 -0400
committerelioat <elioat@tilde.institute>2023-05-17 21:51:28 -0400
commit20aff289a67e35fad85c14ad5ed6882e4082848c (patch)
tree2807cb75eea0e001e537941b45f302658025df7e /apl/playground.apl
parenta55e6ceb5d8034b2913e19e3151854bd20a5e474 (diff)
downloadtour-20aff289a67e35fad85c14ad5ed6882e4082848c.tar.gz
*
Diffstat (limited to 'apl/playground.apl')
-rw-r--r--apl/playground.apl7
1 files changed, 5 insertions, 2 deletions
diff --git a/apl/playground.apl b/apl/playground.apl
index 2128c63..b331693 100644
--- a/apl/playground.apl
+++ b/apl/playground.apl
@@ -1,2 +1,5 @@
-F←∘.×⍨⍳
-F 10
\ No newline at end of file
+F←∘.×⍨⍳ ⍝ simple function to generate a multiplcation table
+F 10
+
+G←{+⍀⍵ ⍵ ⍴ ⍳⍵} ⍝ same problem, different solution
+G 10
\ No newline at end of file