Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
Adjusted README
Browse files Browse the repository at this point in the history
  • Loading branch information
luvies committed May 9, 2019
1 parent bd0aa6a commit 2d798c0
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 @@ -28,7 +28,7 @@ This module is meant to provide memory-efficient lazy-evaluation iteration for i
Use the following import:

```ts
import { Lazy } from 'https://deno.land/x/lazy@v1.6.0/mod.ts';
import { Lazy } from 'https://deno.land/x/lazy@v{version}/mod.ts';
```

Make sure the `@v{version}` tag is the correct one you want. I'd recommend against master, as it could change without notice & might be broken (although I will try not to break it).
Expand Down Expand Up @@ -79,12 +79,12 @@ The `Lazy` class is the root of the module, all things come from it and are deri

```ts
// Static method import.
import { Lazy } from 'https://deno.land/x/lazy@v1.6.0/mod.ts';
import { Lazy } from 'https://deno.land/x/lazy@v{version}/mod.ts';

const iterable = Lazy.from([1, 2, 3, 4, 5]);

// Direct function import.
import { from } from 'https://deno.land/x/lazy@v1.6.0/mod.ts';
import { from } from 'https://deno.land/x/lazy@v{version}/mod.ts';

const iterable = from([1, 2, 3, 4, 5]);
```
Expand Down

0 comments on commit 2d798c0

Please sign in to comment.