Simon Forman
f844dbab6c
Minor cleanup.
2023-03-22 14:45:54 -07:00
Simon Forman
23d6fe727e
i combinator.
...
On a lark I implemented it in recursive style, but I'm not going to keep
it that way. I have to implement next_term() first and then I'll
uncomment i_joy_combinator().
2023-03-22 11:54:17 -07:00
Simon Forman
34798b7f33
concat
2023-03-22 08:41:09 -07:00
Simon Forman
e83745e6ec
cons
2023-03-21 12:34:28 -07:00
Simon Forman
f8016a84e3
minor cleanup
2023-03-21 09:38:50 -07:00
Simon Forman
2841e53d4d
first
2023-03-21 09:33:20 -07:00
Simon Forman
f2fe704ba6
rest
2023-03-21 09:27:00 -07:00
Simon Forman
8986b8c619
rest CANNOT_TAKE_REST_OF_EMPTY_LIST
2023-03-21 09:19:12 -07:00
Simon Forman
242c98edc4
swap
2023-03-20 16:33:11 -07:00
Simon Forman
290dec513d
Check for error after cons'ing term.
2023-03-18 14:13:51 -07:00
Simon Forman
142f17fd37
pop_any()
2023-03-18 12:48:59 -07:00
Simon Forman
83a5bc46df
dup
2023-03-18 12:43:30 -07:00
Simon Forman
1600fa210c
stack function.
2023-03-18 12:31:36 -07:00
Simon Forman
fcdf8d416a
pop()
2023-03-18 11:50:18 -07:00
Simon Forman
75ba7db666
Move pop_list().
2023-03-18 11:41:16 -07:00
Simon Forman
8682135380
No reason to pass expression to function.
2023-03-18 11:40:19 -07:00
Simon Forman
13d9d83383
pop_list()
...
Kind of a misnomer, you have to take the tail() of the stack yourself.
This function only returns the list from TOS.
2023-03-18 11:31:38 -07:00
Simon Forman
e39b9460bb
Swaack and error macro.
2023-03-18 11:26:27 -07:00
Simon Forman
61039475a5
Use clear, set up for swaack.
2023-03-18 10:40:49 -07:00
Simon Forman
41438d10d9
Clear.
2023-03-17 12:10:18 -07:00
Simon Forman
c9e620c281
Did i not commit this?
2023-03-10 14:11:54 -08:00