We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3c6166 commit 8635b2eCopy full SHA for 8635b2e
example/example.js renamed to example/sqrt.js
@@ -2,7 +2,7 @@
2
* lazy-linked-lists
3
* Lazy and infinite linked lists for JavaScript.
4
*
5
- * example.js
+ * example/sqrt.js
6
7
* Examples of usage for lazy-linked-lists.
8
* @license ISC
@@ -11,7 +11,7 @@
11
import * as lazy from '../source';
12
13
/**
14
- * Compute the square root of a number using the Newton-Raphson method.
+ * Compute the square root of a number using infinite lists with the Newton-Raphson method.
15
* Adapted from "Why Functional Programming Matters" by John Hughes.
16
* @param {number} a0 - initial estimate
17
* @param {number} eps - tolerance
0 commit comments