Skip to content

kingsleyh/array-extra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Extra array functions for Mint

Includes:

  • flatMap - Map over a nested array and then flatten
  • append - Put 2 lists together
  • concat - Concatenate a bunch of lists into a single lists
  • foldr - Reduce a list from the right
  • foldl - Reduce a list from the left
  • take - Take n items from an array
  • drop - Drop n items from an array
  • groupsOf - Group an array into sub groups of specified size

See tests for usages

"dependencies": {
  "array-extra": {
    "repository": "https://github.com/kingsleyh/array-extra",
    "constraint": "0.0.0 <= v < 1.0.0"
  }
}

About

Extra Array functions for mint

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published