[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [CASHeW-s] Re: Mock up.....
From: |
Barry Norton |
Subject: |
RE: [CASHeW-s] Re: Mock up..... |
Date: |
Mon, 13 Dec 2004 14:57:06 -0000 |
>> I think we were to show a list function?
>> This assignment has made me a bit rusty...
>
>A list function?
Yes, polymorphic list concatenation seemed like a reasonably easy
instantiation for a 'Join' operator...
(++) :: [a] -> [a] -> [a]
[] ++ ys = ys
(x:xs) ++ ys = x : (xs++ys)
Barry