Browse Source

Fix doc build

David Peter 1 year ago
parent
commit
c556dadd7d
1 changed files with 7 additions and 7 deletions
  1. 7 7
      book/src/list-functions-lists.md

+ 7 - 7
book/src/list-functions-lists.md

@@ -30,6 +30,13 @@ Prepend an element to a list.
 fn cons<A>(x: A, xs: List<A>) -> List<A>
 ```
 
+### `cons_end`
+Append an element to the end of a list.
+
+```nbt
+fn cons_end<A>(xs: List<A>, x: A) -> List<A>
+```
+
 ### `is_empty`
 Check if a list is empty.
 
@@ -72,13 +79,6 @@ Generate a range of integer numbers from `start` to `end` (inclusive).
 fn range(start: Scalar, end: Scalar) -> List<Scalar>
 ```
 
-### `cons_end`
-Append an element to the end of a list.
-
-```nbt
-fn cons_end<A>(xs: List<A>, x: A) -> List<A>
-```
-
 ### `reverse`
 Reverse the order of a list.