[xsl] De-Duplification revisited (Was: Re: [xsl] What is a better word for "de-duplication"?)

Subject: [xsl] De-Duplification revisited (Was: Re: [xsl] What is a better word for "de-duplication"?)
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Thu, 12 Oct 2006 16:07:49 -0700
Reflecting on the recent discussion on finding a better word for
"de-duplication" and in particular for "de-duplicated", here is what
name is used in Haskell:

nub

Here's the definition from the List.hs library module:


nub :: (Eq a) => [a] -> [a] nub = nubBy (==)

nubBy                   :: (a -> a -> Bool) -> [a] -> [a]
nubBy eq []              = []
nubBy eq (x:xs)          = x : nubBy eq (filter (\y -> not (eq x y)) xs)


So, in Haskellese, de-duplicated will be just "nubbed".


Current Thread