[Larceny-users] apropos for Larceny

Lars T Hansen lth at acm.org
Fri Jul 1 18:17:15 EDT 2016


There's also an apropos function already. Try (require 'apropos) to load
it.

--lars
On Jul 1, 2016 23:18, "KenD" <Ken.Dickey at whidbey.com> wrote:

> Greetings,
>
> As an occasional Scheme user, I forget the details and find an "apropos"
> function useful.
>
> (apropos "foo")
>
> will look in Larceny's interaction-environment and return a list of
> variable-name symbols which contain a match to "foo".
>
> e.g.
>
> > (import (scheme load))
> > (load "apropos.scm")
> > (apropos "conso")
> (console-error-port
>   console-error-port-factory
>   console-input-port
>   console-input-port-factory
>   console-output-port
>   console-output-port-factory)
>
> -----
> -KenD
> -----
> PS: Sorry about the legal boiler plate.
> If you (re)distribute, feel free to substitute any open source licence you
> are currently using.
>
> _______________________________________________
> Larceny-users mailing list
> Larceny-users at lists.ccs.neu.edu
> https://lists.ccs.neu.edu/bin/listinfo/larceny-users
>
>
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the Larceny-users mailing list