On Oct 12, 2013, at 2:47 PM, Niklas Hambüchen <m...@nh2.me> wrote:
> 
> I would like to come back to the original question:
> 
> How can ordNub be added to base?
> 
> I guess we agree that Data.List is the right module for a function of
> type Ord a => [a] -> [a], but this introduces
> 
> * a cyclic dependency between Data.List and Data.Set
> * a base dependency on containers.
> 
> What is the right way to go with that?
> 
> Should ordNub be introduced as part of Data.Set, as Conrad suggested?
> 
> It does not really have anything to do with Set, apart from being
> implemented with it.

I think nub's behavior is rather set-related, so I don't really understand the 
objection to putting it in Data.Set.

Anthony

> 
>> On 14/07/13 14:12, Roman Cheplyaka wrote:
>> Something like that should definitely be included in Data.List.
>> Thanks for working on it.
>> 
>> Roman
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe@haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to