[Haskell-cafe] Re: Why no merge and listDiff?

2010-01-28 Thread Heinrich Apfelmus
Will Ness wrote: > Heinrich Apfelmus writes: > >> (Just for historical reference, credit for the data structure that works >> with infinite merges goes to Dave Bayer, I merely contributed the >> mnemonic aid of interpreting it in terms of VIPs.) > > yes, yes, my bad. GMANE is very unreliable at p

[Haskell-cafe] Re: Why no merge and listDiff?

2010-01-26 Thread Will Ness
Heinrich Apfelmus quantentunnel.de> writes: > > Will Ness wrote: > > You can check it out on the Haskellwiki Prime Numbers page (work still in > > progress, the comparison tables are missing). We had also a recent thread here > > in cafe under "FASTER primes". The original idea of Heinrich Ap

[Haskell-cafe] Re: Why no merge and listDiff?

2010-01-26 Thread Heinrich Apfelmus
Will Ness wrote: > You can check it out on the Haskellwiki Prime Numbers page (work still in > progress, the comparison tables are missing). We had also a recent thread > here > in cafe under "FASTER primes". The original idea of Heinrich Apfelmus of > treefold merging the composites really pan

[Haskell-cafe] Re: Why no merge and listDiff?

2010-01-26 Thread Will Ness
Derek Elkins gmail.com> writes: > > On Wed, Jan 20, 2010 at 9:42 AM, Will Ness yahoo.com> wrote: > > Derek Elkins gmail.com> writes: > >> On Sun, Jan 17, 2010 at 2:22 PM, Will Ness yahoo.com> wrote: > >> > Hello cafe, > >> > > >> > I wonder, if we have List.insert and List.union, why > >> >

Re: [Haskell-cafe] Re: Why no merge and listDiff?

2010-01-22 Thread Derek Elkins
On Wed, Jan 20, 2010 at 9:42 AM, Will Ness wrote: > Derek Elkins gmail.com> writes: >> On Sun, Jan 17, 2010 at 2:22 PM, Will Ness yahoo.com> wrote: >> > Hello cafe, >> > >> > I wonder, if we have List.insert and List.union, why no List.merge (:: Ord > a => >> > [a] -> [a] -> [a]) and no List.min

[Haskell-cafe] Re: Why no merge and listDiff?

2010-01-22 Thread Christian Maeder
Will Ness schrieb: > Christian Maeder dfki.de> writes: > >> Will Ness schrieb: >>> I meant strictly increasing ordered lists, without multiples, for which the > two >>> operations, 'merge' and 'minus', would also have to produce like lists, i.e >>> strictly increasing, without multiples. >> Wh

[Haskell-cafe] Re: Why no merge and listDiff?

2010-01-20 Thread Will Ness
Christian Maeder dfki.de> writes: > Will Ness schrieb: > > I meant strictly increasing ordered lists, without multiples, for which the two > > operations, 'merge' and 'minus', would also have to produce like lists, i.e > > strictly increasing, without multiples. > > Why don't you use directly

[Haskell-cafe] Re: Why no merge and listDiff?

2010-01-20 Thread Christian Maeder
Will Ness schrieb: > I meant strictly increasing ordered lists, without multiples, for which the > two > operations, 'merge' and 'minus', would also have to produce like lists, i.e > strictly increasing, without multiples. Why don't you use directly Data.Set? > I guess the first variety is mor

[Haskell-cafe] Re: Why no merge and listDiff?

2010-01-20 Thread Will Ness
Derek Elkins gmail.com> writes: > > On Sun, Jan 17, 2010 at 2:22 PM, Will Ness yahoo.com> wrote: > > Hello cafe, > > > > I wonder, if we have List.insert and List.union, why no List.merge (:: Ord a => > > [a] -> [a] -> [a]) and no List.minus ? These seem to be pretty general > > operations. >

[Haskell-cafe] Re: Why no merge and listDiff?

2010-01-18 Thread Will Ness
Derek Elkins gmail.com> writes: > > On Sun, Jan 17, 2010 at 2:22 PM, Will Ness yahoo.com> wrote: > > Hello cafe, > > > > I wonder, if we have List.insert and List.union, why no List.merge (:: Ord a => > > [a] -> [a] -> [a]) and no List.minus ? These seem to be pretty general > > operations. >