Skip to content
This repository was archived by the owner on Aug 15, 2018. It is now read-only.

collect, but don't assert, types from all modules #7

Open
mndrix opened this issue Mar 2, 2013 · 1 comment
Open

collect, but don't assert, types from all modules #7

mndrix opened this issue Mar 2, 2013 · 1 comment

Comments

@mndrix
Copy link
Owner

mndrix commented Mar 2, 2013

We currently ignore structured comments from modules that don't explicitly use mavis. Instead, we should process all structured comments and add the details to our database but don't perform term_expansion on them.

This will facilitate type inference and mode inference later.

@mndrix
Copy link
Owner Author

mndrix commented Mar 8, 2013

Now that library(pldoc) collects comments for us, we should instead facilitate type inference by creating a single predicate which gives access to normalized mode information based on a predicate indicator or predicate head.

This is similar to pldoc_modes:mode/2 which accepts a module-qualified head term and populates it with mode information and determinism. The only difference between that predicate and ours is that we retain the name of each argument.

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

No branches or pull requests

1 participant