2 ██╗ ██╗██████╗ ██████╗ █████╗ ██████╗ ██╗ ██╗
3 ██║ ██║██╔══██╗██╔══██╗██╔══██╗██╔══██╗╚██╗ ██╔╝
4 ██║ ██║██████╔╝██████╔╝███████║██████╔╝ ╚████╔╝
5 ██║ ██║██╔══██╗██╔══██╗██╔══██║██╔══██╗ ╚██╔╝
6 ███████╗██║██████╔╝██║ ██║██║ ██║██║ ██║ ██║
7 ╚══════╝╚═╝╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝
10 Start with increment and decrement:
15 Common symbols for operations:
47 && ≡ nulco [nullary [false]] dip branch
48 || ≡ nulco [nullary] dip [true] branch
56 abs ≡ dup 0 < [] [neg] branch
58 anamorphism ≡ [pop []] swap [dip swons] genrec
61 app2 ≡ [grba swap grba swap] dip [infrst] cons ii
63 appN ≡ [grabN] codi map reverse disenstacken
69 genrec ≡ [[genrec] ccccons] nullary swons concat ifte
71 ifte ≡ [nullary] dipd swap branch
73 infra ≡ swons swaack [i] dip swaack
78 nullary ≡ [stack] dip infra first
92 cmp ≡ [[>] swap] dipd [ifte] ccons [=] swons ifte
97 dinfrirst ≡ dip infrst
100 disenstacken ≡ ? [uncons ?] loop pop
101 enstacken ≡ stack [clear] dip
103 down_to_zero ≡ [0 >] [dup --] while
120 flatten ≡ <{} [concat] step
122 gcd ≡ true [tuck mod dup 0 >] loop pop
125 grabN ≡ <{} [cons] times
126 grba ≡ [stack popd] dip
128 hypot [sqr] ii + sqrt
132 make_generator ≡ [codireco] ccons
134 manual ≡ [] words [help] step pop
137 not ≡ [true] [false] branch
139 nulco ≡ [nullary] cons
142 over ≡ [dup] dip swap
151 popopdd ≡ [popop] dipd
153 product ≡ 1 swap [*] step
157 range ≡ [0 <=] [1 - dup] anamorphism
158 range_to_zero ≡ unit [down_to_zero] infra
173 shift ≡ uncons [swons] dip
175 size ≡ [pop ++] step_zero
176 spiral_next ≡ [[[abs] ii <=] [[<>] [pop !-] ||] &&] [[!-] [[++]] [[--]] ifte dip] [[pop !-] [--] [++] ifte] ifte
177 split_at ≡ [drop] [take] clop
178 split_list ≡ [take reverse] [drop] clop
181 step_zero ≡ 0 roll> step
182 stuncons ≡ stack uncons
186 swoncat ≡ swap concat
188 take ≡ <<{} [shift] times pop
190 uncons ≡ [first] [rest] cleave
193 unswons ≡ uncons swap
194 while ≡ swap nulco dupdipd concat loop
197 _step0 ≡ _step1 [popopop] [_stept] branch
198 _step1 ≡ [?] dipd roll<
199 _stept ≡ [uncons] dipd [dupdipd] dip x
202 _times0 ≡ _times1 [popopop] [_timest] branch
203 _times1 ≡ [dup 0 >] dipd roll<
204 _timest ≡ [[--] dip dupdipd] dip x
206 map ≡ [_map0] cons [[] [_map?] [_mape]] dip tailrec
209 _map0 ≡ [_map1] dipd _map2
211 _map2 ≡ [infrst] cons dipd roll< swons