Comments (4)
Actually this is now fixed on dev.
from koka.
@daanx This is due to the identifier tail
in -> repro/min-by-rec<a>(tail, ordering, default, (ordering(x)), x);
being parsed as the tail fip
keyword. In this line the try parseFip
parser succeeds while consuming input (due to the catch-all case of a tail but non-fip function) Then, the next line fails but the try keyword does not span that line. I would suggest moving the try
keyword to span both the parseFip
and the dockeyword "fun"
in the parser.
from koka.
Great, I can confirm that this is fixed! There is another occurrence of try parseFip
in inlineDefSort
-- while there is currently no danger of this going wrong, I would recommend fixing that as well since confusingly try parseFip == parseFip
. Should I push a fix?
from koka.
Let's avoid that change for now. Daan has changed some parsing on the branch dev-overload, and we should wait for that to be merged.
from koka.
Related Issues (20)
- Constrained polymorphic effects
- Type variables not unique
- Collection / Vector Literals HOT 5
- String Interpolation HOT 34
- Extensible Matching via Implicits
- Versioned Identifiers
- Identifier hiding/showing and Qualified Modules
- Add let generalization HOT 1
- Structural Types & Newtype HOT 6
- Platform Imports
- Metaprogramming HOT 3
- Struct Constructor TitleCase
- Can't execute and Output "invalid argument"
- Formatting Error in last paragraph of "Tour of Koka -> Value Operations"
- LSP compatible with Eglot or lsp-mode HOT 2
- [Feature Proposal]Relocatable Sharable Memory (Zero-Copy Structural Data Packs) as an Effect
- Array programming HOT 19
- Incorrect formatting of docstrings
- windows install script does not check clang version
- Plan to support "explicit effect in result type of an operation"? HOT 1
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 koka.