lambda-notebook icon indicating copy to clipboard operation
lambda-notebook copied to clipboard

Better support for multiword expressions

Open rawlins opened this issue 9 years ago • 2 comments

We often want to be able to write something like the following in a %%lamb block (Lucas Champollion):

||a sandwich|| = Lx_e: sandwich(x)
||a_sandwich|| = Lx_e: sandwich(x)

That the second doesn't work is just a bug, underscore is being parsed wrong. The first should probably try to find a usable variable name based on the item name.

Secondary issue: Item.name isn't settable.

rawlins avatar Feb 10 '16 20:02 rawlins

Also, need to add a general solution to the issue of variable name shadowing.

rawlins avatar Feb 10 '16 20:02 rawlins

Quick fix to allow spaces/underscores in item names added in https://github.com/rawlins/lambda-notebook/commit/96ef1c3e66d1784d2a6e8f5f12153c7173d3b33b . This isn't a general solution to the variable name issues though.

rawlins avatar Feb 19 '16 18:02 rawlins