Diffstat (limited to 'stackd')
-rw-r--r--stackd13
1 files changed, 3 insertions, 10 deletions
diff --git a/stackd b/stackd
index 656220e..6a64b8e 100644
--- a/stackd
+++ b/stackd
@@ -1,22 +1,15 @@
"1abc25hriwm4"
-/ { str β†’ int } /
+/ { str β†’ int }
(
(('0'β‰₯)πŸ—Ί)
(('9'≀)πŸ—Ί)&∧
πŸ”“0 1Β―πŸ”’
- ⬇10Γ—+⬆
+ (10Γ—+)⬇
) β†’ l
(^0<¯🐬) β†’ ⟐
-/ [x] -> [x] int /
-(^(1)πŸ—Ί+β†˜οΈ) β†’ 'πŸ“'
-
-/ run function on all values, pushing to the stack /
-⏭️line
-/ reduce the stack /
-+β†˜οΈ
("\n"β‰’)πŸ‘©β€πŸ‘©β€πŸ‘§β€πŸ‘§ lπŸ—Ί
@@ -26,4 +19,4 @@
2πŸͺŸ (s-(πŸ”€-)πŸ‹ (β‰₯1)(≀3)&s∧!)πŸ—Ί+β†˜οΈ0≑
) β†’ 'd2p1'
-(πŸ“1+⏫( / array, int / ^πŸ‡½ 'd2p1')πŸ—Ί+β†˜οΈ0β‰’) β†’ 'd2p2'
+(πŸ“1+⏫(^πŸ‡½ 'd2p1')πŸ—Ί+β†˜οΈ0β‰’) β†’ 'd2p2'