Stu White [EMAIL PROTECTED] writes:
type Triple = Triple {
data Triple = Triple {-- 'type' is for synonyms, 'data' for user-defined
entry 1 :: a;
entry 2 :: a;
entry 3 :: a;
entry_1 :: a; -- field names must be a single identifier
entry_2 :: a;
Hi
I'm not especially experienced in using haskell, and I could use some help.
As part of a project, I'm trying to construct a data typethat canrepresent three values as a 'triple' (as opposed to a 'tuple'), and then make a function so that I can sort these values into ascending order.
I'm
On 2004-07-26 at 18:10BST =?iso-8859-1?q?Stu=20White?= wrote:
Hi
I'm not especially experienced in using haskell, and I could use some help.
As part of a project, I'm trying to construct a data type
that can represent three values as a 'triple' (as opposed
to a 'tuple'),
you could just
On Mon, 26 Jul 2004, Stu White wrote:
As part of a project, I'm trying to construct a data type that can
represent three values as a 'triple' (as opposed to a 'tuple'), and then
make a function so that I can sort these values into ascending ord er.
Since sorting requires equal types of the