Skip to content

Commit 8635b2e

Browse files
committed
Rename example file
1 parent d3c6166 commit 8635b2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

example/example.js renamed to example/sqrt.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* lazy-linked-lists
33
* Lazy and infinite linked lists for JavaScript.
44
*
5-
* example.js
5+
* example/sqrt.js
66
*
77
* Examples of usage for lazy-linked-lists.
88
* @license ISC
@@ -11,7 +11,7 @@
1111
import * as lazy from '../source';
1212

1313
/**
14-
* Compute the square root of a number using the Newton-Raphson method.
14+
* Compute the square root of a number using infinite lists with the Newton-Raphson method.
1515
* Adapted from "Why Functional Programming Matters" by John Hughes.
1616
* @param {number} a0 - initial estimate
1717
* @param {number} eps - tolerance

0 commit comments

Comments
 (0)