Re: [Haskell-beginners] Updating lists inside another list

23 Jun
2009
23 Jun
'09
3:19 a.m.
On Tue, Jun 23, 2009 at 11:29 AM, Joel Neely
WRT the first case, I would have expected something like;
addToInnerList [] a b = [(a,[b])]
on the assumption that one "grows" a structure from an empty state. Your thoughts?
I think it isn't what Aaron wants, that is "to add an element to the inner list of the pair with the head value of my choosing". Anyway, it is an option. lee
5810
Age (days ago)
5810
Last active (days ago)
0 comments
1 participants
participants (1)
-
Lee Duhem