Comments (1)
Parsing for this issue has been implemented by #175. Next up is integration into name resolution and type checking for these annotations. E.g. name resolution should ensure the effects are declared names, and type inference can check this set against the inferred set to issue an error if the inferred set is not a subset of the declared set.
Open question: Should ante issue a warning during type inference if the inferred effect set is a subset of the declared set instead of equal to it? My current thinking is that this would discourage use of effect aliases like IO
which contain several effects in them that may be unused.
from ante.
Related Issues (20)
- Improve Location for "type variable is already in scope" error
- Codegen crash when using a trait that defines multiple methods
- What kind of memory management does ante use? HOT 3
- Implement Named Constructor syntax HOT 2
- Adding type annotations to an unbound type variable can crash the compiler HOT 1
- Check declared variable's types with equality instead of unification HOT 1
- Add a proper error message for unhandled effects
- Incorrect Pointer Offset Calculation When Using -O3 Optimization Level HOT 1
- Add shorthand for casting integer types
- Malloc Panics with -O0 or crane_lift HOT 1
- Require the package name to prefix all imports
- Add `./deps` as a relative root by default
- Add a command-line flag to configure the "relative_root" directories
- Create a LSP server for Ante HOT 3
- WebAssembly HOT 2
- Values declared inside conditional blocks and match arms leak to module export list HOT 2
- Monomorphisation panic HOT 3
- Implement effect variable ellision
- Panic: `Recursion limit reached in occurs`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ante.