From 7a977d8e823b8f7fed4c16d769d39fbb805fb3bb Mon Sep 17 00:00:00 2001 From: Irakli Safareli Date: Tue, 31 Jan 2017 20:53:42 +0400 Subject: [PATCH] fix incorrect use of sequence in example sequence should take `TypeRep` and in example we are passing a function --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 4bcf583..079d984 100644 --- a/index.js +++ b/index.js @@ -1422,7 +1422,7 @@ //. This function is derived from [`traverse`](#traverse). //. //. ```javascript - //. > sequence(x => [x], Identity([1, 2, 3])) + //. > sequence(Array, Identity([1, 2, 3])) //. [Identity(1), Identity(2), Identity(3)] //. //. > sequence(Identity, [Identity(1), Identity(2), Identity(3)])