Skip to content

Commit

Permalink
📚 docs(group): Fix typos in examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
make-github-pseudonymous-again committed Sep 2, 2020
1 parent c786164 commit 022e90d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/map/group.js
Expand Up @@ -6,11 +6,11 @@ import {iter} from '..';
*
* @example
* // A B C D A B
* list( map( ( k , g ) => k , group( x => x , 'AAAABBBCCDAABBB' ) ) )
* list( map( ( [ k , g ] ) => k , group( x => x , 'AAAABBBCCDAABBB' ) ) )
*
* @example
* // AAAA BBB CC D
* list( map( ( k , g ) => list( g ) , group( x => x , 'AAAABBBCCD' ) ) )
* list( map( ( [ k , g ] ) => list( g ) , group( x => x , 'AAAABBBCCD' ) ) )
*
* @param {Function} key - The function used to determine the equivalence class
* of an element.
Expand Down

0 comments on commit 022e90d

Please sign in to comment.