[plt-scheme] expand-path documentation

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Thu Nov 15 07:08:00 EST 2007

At Wed, 14 Nov 2007 22:38:11 -0800, John Clements wrote:
> The v4 porting notes state:
> 
> - Under Unix, "~" is no longer automatically expanded to a user's
>     home directory. The `expand-path' function takes an optional
>     argument to explicitly expand the abbreviation.
> 
> 
> However, I'm unable to locate documentation for this newer version of  
> expand-path. 
>
> [...]
>
> ... so perhaps this is a doc bug?

Yes, the porting note is wrong. It should be `expand-user-path' from
`scheme/base' (which just takes one argument).

The old `expand-path' function has been renamed `cleanse-path' (but
it's provided under the old name by the `mzscheme' module).

Matthew



Posted on the users mailing list.