-
Would people be open to the following syntactic sugar for function definitions, where:
```dhall
let f (x : A) (y : B) = e
```
… is syntactic sugar for:
```dhall
let f = λ(x : a) → λ(y : B)…
-
[@FroMage] Compare:
``` ceylon
import ceylon.language.model { Annotation }
shared annotation final class Annot() satisfies Annotation {}
shared annotation Annot annot() => Annot();
```
With:
``` j…
-
You should be able to specify an action in any of these ways:
`pipe.on('default', 'before', 'pre-process')`
`pipe.on('default', 'before', ['pre-process', 'other-action'])`
`pipe.on('default', 'before…
-
### Describe the project you are working on
A 2.5d resource management game
### Describe the problem or limitation you are having in your project
One-liner lambda expressions are needlessly v…
-
```python
""" a[x:int = ] """
""" a[x:str = "hello world" ] """
""" b[x:ExpNode = 5 ] """
type="ExpNode"
val = "a~1"
constructor = getName("ExpNode")
try:
instance = construct…
-
### Checklist
- [X] There are [no similar issues or pull requests](https://github.com/Midnighter/structurizr-python/issues) for this yet.
### Is your feature related to a problem? Please des…
yt-ms updated
3 years ago
-
Calls to "syntactic sugar" could be distinguished with `!` for example, like macro calls in Rust. Current items of syntactic sugar we have are:
- `assert e`
- `succeeds e1, e2`
- `returns e1, e2…
-
I have a component factory that use JSX.
```
export default userOptions => {
...
return {
functional: true,
render: function(h, { data, props }) {
return
-
@davidweichiang says "Maybe we should add numbers to PERPL. Whenever I demo it, that is always what people balk at."
Something like Agda's [`BUILTIN NATURAL`](https://agda.readthedocs.io/en/v2.6.2.…
-
The syntactic sugars `a \is b` and `a \is a b` allow for very readable statement. However, they doesn't play nice with coercions:
The following code works as expected:
```
Definition is_pos (n : …