cancel
Showing results for 
Search instead for 
Did you mean: 

A small typo from evolution of an empty representation

Paul1
New Contributor
Going through Dennis Shasha's primer, in chapter 6 where thedifference function is defined, we can read:difference[c;d] /returns 0#` because there is no such elementBut according to my downloaded free version it is now:difference[c;d] /returns `symbol() because there is no suchelementJust so you know.../Paul
1 REPLY 1

nml
New Contributor
Hi,I suppose you mean `symbol$()and 0#` it is correct(0#`)~(`symbol$())both are empty lists of symbols, just different style of definition:0#` /list with zero elements of symbol type`symbol$() /empty general list casted to empty symbol listCheers,nmlOn Apr 14, 10:20�pm, Paul wrote:> Going through Dennis Shasha's primer, in chapter 6 where the> difference function is defined, we can read:>> difference[c;d] /returns �0#` because there is no such element>> But according to my downloaded free version it is now:>> difference[c;d] /returns �`symbol() because there is no such> element>> Just so you know.../Paul