UNPKG
list
Version:
latest (2.0.19)
2.0.19
2.0.18
2.0.17
2.0.16
2.0.15
2.0.14
2.0.13
2.0.12
2.0.11
2.0.10
2.0.9
2.0.8
2.0.7
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.0.0
0.9.5
0.9.4
0.9.3
0.9.2
0.9.1
0.9.0
0.8.2
0.8.1
0.0.4
0.0.3
0.0.2
0.0.1
Fast purely functional immutable lists.
list
/
dist
/
folds.d.ts
9 lines
(8 loc)
•
199 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
import { List }
from
"./core"
;
/** * Reverses a list. *
@category
Updater *
@param
l The list to reverse. *
@returns
A reversed list. */
export
declare
function
reverse
<
A
>(
l: List<A>
):
List
<
A
>
;