Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC: apropos for functions/classes #16

Open
rjmacready opened this issue Oct 15, 2014 · 1 comment
Open

RFC: apropos for functions/classes #16

rjmacready opened this issue Oct 15, 2014 · 1 comment

Comments

@rjmacready
Copy link
Contributor

As an opendylan beginner, I often struggle to find the types or functions that I need; I've been resorting to google and the dylan references on the main site, but I feel that this could be improved. For instance, I can have a number of dylan foundry libraries as dependencies of a project of mine, and those don't feature at the official documentation (yet?).

My proposal was to make something that would enable searching the entire "registry base" (by "registry base" I mean all projects that can be seen by the current working registry, not just the dependencies of a project) for a function / method / class; while also giving it's module + library (so we can fix imports as we use functions / types). My initial idea was to make a search by name using regex, but I think it could be useful too to search for signature - ie, all functions that receive or return strings, all members of a class, etc etc.

@waywardmonkeys
Copy link
Member

The inspect command can probably help give some ideas on how to implement this sort of thing (at least in terms of finding definitions by name ... this just needs a different sort of comparison / matching criteria).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants