[Larceny-users] apropos for Larceny

KenD Ken.Dickey at Whidbey.com
Fri Jul 1 17:18:10 EDT 2016


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: apropos.scm
Type: application/octet-stream
Size: 5115 bytes
Desc: not available
URL: <http://lists.ccs.neu.edu/pipermail/larceny-users/attachments/20160701/29b08d31/attachment.obj>


More information about the Larceny-users mailing list