forked from orion/obsidian
19 lines
244 B
Markdown
19 lines
244 B
Markdown
|
Written without explicit arguments and application, e.g.
|
||
|
```haskell
|
||
|
foo a b = bar a b
|
||
|
```
|
||
|
can be written point-free as
|
||
|
```haskell
|
||
|
foo = bar
|
||
|
```
|
||
|
|
||
|
Rewriting
|
||
|
```haskell
|
||
|
\a -> g (f a)
|
||
|
```
|
||
|
as
|
||
|
```haskell
|
||
|
g << f
|
||
|
```
|
||
|
is also referred to as point-free.
|