[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] De-Duplification revisited (Was: Re: What is a
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:
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".
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|