| ... | @@ -112,11 +112,11 @@ This proposal simplifies the story for composition: we don't have to worry about |
... | @@ -112,11 +112,11 @@ This proposal simplifies the story for composition: we don't have to worry about |
|
|
- we lose some consistency with sections, which become quite unwieldy with the new syntax:
|
|
- we lose some consistency with sections, which become quite unwieldy with the new syntax:
|
|
|
|
|
|
|
|
```wiki
|
|
```wiki
|
|
|
left section right section prefix
|
|
left section right section prefix
|
|
|
unqualified (+ 1) (1 +) (+)
|
|
unqualified (+ 1) (1 +) (+)
|
|
|
Haskell 98 (M.+ 1) (1 M.+) (M.+)
|
|
Haskell 98 (M.+ 1) (1 M.+) (M.+)
|
|
|
proposed (`M.(+)` 1) (1 `M.(+)`) M.(+)
|
|
proposed (`M.(+)` 1) (1 `M.(+)`) M.(+)
|
|
|
or(*) (M.(+) 1) (flip M.(+) 1)
|
|
or(*) (flip M.(+) 1) (M.(+) 1)
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
|
|
|
| ... | | ... | |