[racket-dev] Mangaging `unstable` with packages

From: Eli Barzilay (eli at barzilay.org)
Date: Mon Jun 24 03:52:46 EDT 2013

On Friday, Sam Tobin-Hochstadt wrote:
> 
> # `unstable/list`
> 
> - `remf`, `list-update` `list-set` `map/values`: move to
>   `racket/list`
> - `group-by`: rename to `group`, add keyword argument `#:by`
> defaulting to `equal?`, move to `racket/list`

All of these are used in the tree only by their authors, and almost
all of them are used between zero and time.

`remf' is the same as `filter-not'.

`map/values' can be expressed in most cases more conveniently with
`for/fold'.

`group-by' is doing something weird -- see for example clojure's
function by the same name that does something that looks more useful
(IMO).  Also, `group' sounds way too generic for something as specific
as what it does.

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!

Posted on the dev mailing list.