[plt-scheme] Request for comments on possible planet functions

From: Noel Welsh (noelwelsh at yahoo.com)
Date: Fri Jan 19 11:55:28 EST 2007

--- Corey Sweeney <corey.sweeney at gmail.com> wrote:

> ;sexp functions
> ;;sexp->string
> ;;string->sexp

See expr->string and read-from-string, both in string.ss in
> ;map related functions
> ;;maprec
> ;;any-rec

I would call these tree-map and tree-any.  More consistent
with other code (e.g. SRFI 43).

> ;;unique

Perhaps something in SRFI-1 does this?  It has various
procedures for dealing with lists as sets.

> ;;compose-functions-by-fold

Interesting and useful function.  Name is a bit verbose. 
Maybe 'chain' would do?  I might make it a variable arity
function, rather than accepting a list of functions.

> ;;flatten

Perhaps tree-flatten or tree->list? 


Email: noelwelsh <at> yahoo <dot> com   noel <at> untyped <dot> com
AIM: noelhwelsh
Blogs: http://monospaced.blogspot.com/  http://www.untyped.com/untyping/

Food fight? Enjoy some healthy debate 
in the Yahoo! Answers Food & Drink Q&A.

Posted on the users mailing list.