Commit Graph

13 Commits

Author SHA1 Message Date
Kartik Agaram dd66068298 4261 - start using literals for 'true' and 'false'
They uncovered one bug: in edit/003-shortcuts.mu
  <scroll-down> was returning 0 for an address in one place where I
  thought it was returning 0 for a boolean.

Now we've eliminated this bad interaction between tangling and punning
literals.
2018-06-17 00:29:22 -07:00
Kartik K. Agaram 4a48bedcd1 4134 - 'input' = 'ingredient' 2017-12-03 23:25:40 -08:00
Kartik K. Agaram c0d61295ed 4008
Allow list `push` operation to save result in a new list rather than
mutate the existing list.
2017-09-25 21:20:49 -07:00
Kartik K. Agaram 4092372043 4007 2017-09-25 03:35:02 -07:00
Kartik K. Agaram 4f1d194487 4006 2017-09-24 23:31:57 -07:00
Kartik K. Agaram 947c639ec6 4005
https://www.reddit.com/r/ProgrammingLanguages/comments/727va7/a_comparison_of_lisps/dnh2q6u
2017-09-24 23:25:42 -07:00
Kartik K. Agaram 93c9862fa7 3681
Couple of fixes to example programs.
2016-11-22 11:14:43 -08:00
Kartik K. Agaram f116818c7c 3656
Periodic cleanup to replace 'reply' with 'return' everywhere in the
repo.

I use 'reply' for students to help reinforce the metaphor of function
calls as being like messages through a pipe. But that causes 'reply' to
get into my muscle memory when writing Mu code for myself, and I worry
that that makes Mu seem unnecessarily alien to anybody reading on
Github.

Perhaps I should just give it up? I'll try using 'return' with my next
student.
2016-11-10 10:24:14 -08:00
Kartik K. Agaram 9458918f9e 3483 2016-10-08 10:53:06 -07:00
Kartik K. Agaram 760f683f27 3389 2016-09-17 12:55:10 -07:00
Kartik K. Agaram 192d59d3bb 3380
One more place we were missing expanding type abbreviations: inside
container definitions.
2016-09-17 00:43:20 -07:00
Kartik K. Agaram 2f02189ddc 2996 2016-05-21 17:44:53 -07:00
Kartik K. Agaram 7890b8cef2 2986 - new example: the 8-queens problem
Just playing around with edit/ and trying to find bugs.
2016-05-20 12:47:18 -07:00