Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
brekk committed Mar 30, 2024
1 parent ca0b917 commit 813d0f5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions prelude/__internal__/Byte.mad
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ instance Scan Byte {
*
* @since 0.23.1
* @example
* range(3, 3) // []
* range(3, 5) // [3, 4]
* range(3_b, 3_b) // []
* range(3_b, 5_b) // [3_b, 4_b]
*/
range :: Byte -> Byte -> List Byte
export range = (start, end) => List.repeatWith((i) => i + start, end - start)
Expand Down
4 changes: 2 additions & 2 deletions prelude/__internal__/Float.mad
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ instance Scan Float {
*
* @since 0.23.1
* @example
* range(3, 3) // []
* range(3, 5) // [3, 4]
* range(3.0, 3.0) // []
* range(3.0, 5.0) // [3.0, 4.0]
*/
range :: Float -> Float -> List Float
export range = (start, end) => List.repeatWith((i) => i + start, end - start)
Expand Down
4 changes: 2 additions & 2 deletions prelude/__internal__/Short.mad
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ instance Scan Short {
*
* @since 0.23.1
* @example
* range(3, 3) // []
* range(3, 5) // [3, 4]
* range(3_s, 3_s) // []
* range(3_s, 5_s) // [3_s, 4_s]
*/
range :: Short -> Short -> List Short
export range = (start, end) => List.repeatWith((i) => i + start, end - start)
Expand Down

0 comments on commit 813d0f5

Please sign in to comment.