| ... | ... | @@ -35,14 +35,16 @@ This doesn't even require any new syntax, because `.#` is a valid infix operator |
|
|
|
|
|
|
|
A more useful definition of '!' would be
|
|
|
|
|
|
|
|
|
|
|
|
```wiki
|
|
|
|
f ! x = x `seq` f x
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
where '!' has the exact same fixity as function application. so
|
|
|
|
|
|
|
|
|
|
|
|
```wiki
|
|
|
|
foo !x !y
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
could be used to call foo with x and y evaluated strictly beforehand. |