Skip to content

Commit

Permalink
Update README.MD
Browse files Browse the repository at this point in the history
  • Loading branch information
bgrieder authored May 31, 2017
1 parent a9e44fe commit 8c2186f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -139,17 +139,17 @@ A Range is a special case of Seq.
/**
* Create a range of integers of the specified length starting at 0
*/
export function range( length: number ): Range;
function range( length: number ): Range;

/**
* Create a range from the specified start to the element (end - 1) included in steps of 1
*/
export function range( start: number, end: number ): Range
function range( start: number, end: number ): Range

/**
* Create a range from start to (end - step) included
*/
export function range( start: number, end: number, step: number ): Range
function range( start: number, end: number, step: number ): Range
```

Ranges are not indexed but based on (lazy) iterators; it is therefore possible to manipulate `Infinity` in Ranges:
Expand Down

0 comments on commit 8c2186f

Please sign in to comment.