Hello,
I would like to include Array in Haskell 1.4 Standard Libraries
to be part of the language I define :
data Expression = Constant String
|Array Int Expression
anExp = array (0,1)[(0, (Constant "0")),
(1, (Constant "1"))]
This does not seem to work. Any suggestion of how to
implement this ? Thank you very much for your help.
Tina Yu
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
Department of Computer Science Phone: +44 171 419 3679
University College London Fax : +44 171 387 1397
Gower Street, E-mail: [EMAIL PROTECTED]
London WC1E 6BT http://www.cs.ucl.ac.uk/staff/t.yu
U. K.