Comments (2)
I supported that format in my MLElixir project as well for explicit partial application as well, however I also supported _1
, _2
, _3
, etc... for repositioning arguments as well, like via foo(_3, a, _1, _2, b)
became fun a1 a2 a3 -> foo(a3, a, a1, a2, b)
. I found it very useful. :-)
EDIT: You could mix and match them as well, the _
's just took whatever missing _#
's as expected, though honestly I wouldn't support that, only one form or the other in a given partial application, would be useful for partial applications inside partial applications then.
from gleam.
That's a nice suggestion, thanks!
from gleam.
Related Issues (20)
- usage not propagated/counted for aliased funcs/types HOT 1
- proposal: did u mean X module when such a module exists on any of the declared deps HOT 1
- Have `gleam update` display a summary of updates + any later versions that could not be updated to HOT 1
- Offer to create an API token if the Hex API rate limit is set
- `gleam remove pkg` does not work when gleam.toml has dependencies on 1 line HOT 1
- Poor formatting of boolean operators in cases clause guards HOT 2
- Incorrect warning 'unused variable' when default implementation is given, in addition to @external/ffi binding HOT 1
- Can't use a package with bit array segment on JS even if it is only used within the Erlang target HOT 1
- utf16 serialization segment flag forgotten HOT 6
- Raise error if building with an enforced target when previously building without enforcing and the target is not fully supported
- build order of modules not stable HOT 4
- `v1.0.0-rc1` lsp crash! HOT 1
- shared build lock between gleam and gleam lsp HOT 1
- exaustiveness panic (rc 1.0) HOT 6
- Runtime error: crash when calling functions from constants when function is unexported HOT 1
- error: Fatal compiler bug! HOT 3
- Formatter shouldn't indent an inner item after a comment HOT 1
- Formatter shouldn't move a comment from the end of a bounded expression to the beginning of the following expression HOT 2
- Formatter breaks a case guard if it is preceded by a comment
- `gleam export package-interface` recompiles project and dependencies every time 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 gleam.