ityonemo / ityonemo/mavis

Create Type.Api

Open
#32 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Elixir
Stars
110
Forks
4
PR merge metrics
No merged PRs in 30d

Description

This is the general behaviour of something which can supply a types:

following functionality is expected:

- fetch_spec -> gets a typespec, as defined in a module
- fetch_type -> gets a type, as defined in a module
- ...? of?

Should be generalizable to several different concepts:
- An "override" which lets you define how a type works.
- A "cache system" which lets you store as PLTs or in ets tables.
- An inferencing system which actually looks at the machine code to find the types.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files, tests, or entry points. First map the existing type-related modules and their public interfaces, then determine how Type.Api should support fetch_spec and fetch_type across overrides, caches, and inference. Done means the API design and its supported concepts are defined clearly enough to implement and verify.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.