select and selectSplit

Chris Kuklewicz haskell at list.mightyreason.com
Fri Feb 15 06:15:56 EST 2008


Aaron Denney wrote:
> But I actually don't really see much utility in either of these.
> Do you have some examples of use, and how they're a commonly abstracted
> pattern that deserves using up namespace because of the utility of a
> common vocabulary?
> 

As mentioned in another reply, the select treats the source list like an 
unordered (perhaps multi) set.

I was using something quite similar in a scrabble dictionary lookup to get all 
the ways to 'select' a tile from the current hand, returning  [ (Tile,Remaining 
Hand)].


More information about the Libraries mailing list