Skip to content

furqanZafar/prelude-extension

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published