forked from orion/obsidian
746 B
746 B
When 2 or more expressions are separated by whitespace, the left-most expression is a Functions and the others are arguments to it.
````col-md
#### Purescript
```haskell
Number.pow 2.0 10.0
```
````
````col-md
#### JS Equivalent
```javascript
Math.pow(2.0, 10.0)
```
````
````col-md
```haskell
toString a
```
````
````col-md
```javascript
a.toString()
```
````
````col-md
```haskell
intercalate ", " ["a", "b", "c"]
```
````
````col-md
```javascript
["a", "b", "c"].join(", ")
```
````
````col-md
```haskell
intercalate
", "
["a", "b", "c"]
```
````
````col-md
```javascript
["a", "b", "c"]
.join(", ")
```
````