Removing "named let", and traces of other "let" constructs.
commit11f2d1f9b34310ccd106d31f9ea50989b9548149
authorHenrik Tidefelt <tidefelt@isy.liu.se>
Tue, 25 Nov 2008 19:26:09 +0000 (25 20:26 +0100)
committerHenrik Tidefelt <tidefelt@isy.liu.se>
Tue, 2 Dec 2008 00:54:06 +0000 (2 01:54 +0100)
tree8d21de337e84a7731e3b1438a76aeaae6aaf0ed9
parent817b391f1f24196b6d3faa83bf8675abfd96e781
Removing "named let", and traces of other "let" constructs.

Since the named let was not used anywhere in the examples, I decided to remove it.  If one want's it back later, one may always take the code for it prior to this commit.

Anyway, the Shapes syntax for a named let was a rather odd bird, since there was no ordinary let to generalize.  Note also, that the effect of a named let can easily be achieved in Shapes, for instance:
factorial: \ n0 .>
  { a : \ n:n0 -> [if n=='0 '1 n*[a n-'1]]
  [a] }
source/shapesparser.yy
source/shapesyylex.ll