[Haskell-beginners] how to input a Let expression
Chaddaï Fouché
chaddai.fouche at gmail.com
Wed Dec 22 21:29:56 CET 2010
On Wed, Dec 22, 2010 at 9:19 PM, John Moore <john.moore54 at gmail.com> wrote:
> Hi,
> I'm missing something basic here, I wrote this program a while back. But I
> cant remember how to work it.
> Would someone please explain how I enter a value for a variable x,y etc and
> get this to work.
> It goes by entering evaluate [][test1]test1 but I cant remember how to write
> in The Let part and not have it keep ending in -no definotion of a variable.
Something like :
> Let "x" (Val 5) (Var "x")
should work (if your program is correct).
--
Jedaï
More information about the Beginners
mailing list