prelude-extension

0.1.0 • Public • Published

Prelude Extension

Build Status Coverage Status

Install

npm install prelude-extension

Functions

batch :: Number -> [a] -> [[a]]

clamp :: Number -> Number -> Number

find-all :: String -> String -> Int -> [Int]

get :: a -> [String] -> b

is-empty-object :: object -> Boolean

is-equal-to-object :: a -> b -> Boolean

mappend :: a -> [String] -> b -> (b -> b -> b) -> a

partition-string :: String -> String -> [[Int, Int, Bool]]

rextend :: a -> b -> c

set :: a -> [String] -> b -> a

transpose :: [[a]] -> [[a]]

unwrap :: ([String] -> a -> b) -> Int -> c -> [b]

Development

  • run gulp to watch and build changes to index.ls
  • npm test for running unit tests
  • npm run coverage for running unit tests with code coverage

Readme

Keywords

none

Package Sidebar

Install

npm i prelude-extension

Weekly Downloads

5,622

Version

0.1.0

License

ISC

Last publish

Collaborators

  • furqan.zafar