We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v0.10.0...v0.11.1
Breaking changes:
require('sanctuary').unchecked
require('sanctuary').create({…})
catMaybes
justs
encase2
encase2_
encase3
encase3_
encaseEither2
encaseEither2_
encaseEither3
encaseEither3_
parseJson
reduce
reduce_
Improvements:
Either
New exports:
T :: a -> (a -> b) -> b
append :: a -> Array a -> Array a
concat :: Semigroup a => a -> a -> a
create :: { checkTypes :: Boolean, env :: Array Type } -> Module
eitherToMaybe :: Either a b -> Maybe b
encase2 :: (a -> b -> c) -> a -> b -> Maybe c
encase3 :: (a -> b -> c -> d) -> a -> b -> c -> Maybe d
encaseEither2 :: (Error -> l) -> (a -> b -> r) -> a -> b -> Either l r
encaseEither3 :: (Error -> l) -> (a -> b -> c -> r) -> a -> b -> c -> Either l r
env :: Array Type
keys :: StrMap a -> Array String
maybeToNullable :: Maybe a -> Nullable a
pairs :: StrMap a -> Array (Pair String a)
prepend :: a -> Array a -> Array a
product :: Foldable f => f FiniteNumber -> FiniteNumber
prop :: Accessible a => String -> a -> b
range :: Integer -> Integer -> Array Integer
reduce :: Foldable f => (a -> b -> a) -> a -> f b -> a
reverse :: [a] -> [a]
sum :: Foldable f => f FiniteNumber -> FiniteNumber
trim :: String -> String
values :: StrMap a -> Array a
Contributors:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
v0.10.0...v0.11.1
Breaking changes:
require('sanctuary').unchecked
is now writtenrequire('sanctuary').create({…})
(add S.create for creating Sanctuary modules with custom environments #206)catMaybes
is now known asjusts
(maybe: rename S.catMaybes #181)encase2
is now known asencase2_
(Changes higher order functions to expect curried functions #182)encase3
is now known asencase3_
(Changes higher order functions to expect curried functions #182)encaseEither2
is now known asencaseEither2_
(Changes higher order functions to expect curried functions #182)encaseEither3
is now known asencaseEither3_
(Changes higher order functions to expect curried functions #182)parseJson
now takes an additional argument, a type representative (Change parseJson to perform type validation #168)reduce
is now known asreduce_
(Changes higher order functions to expect curried functions #182)Improvements:
Either
now implements Foldable (either: implement Foldable #204) and Traversable (either: implement Traversable #212)New exports:
T :: a -> (a -> b) -> b
(combinator: add S.T #221)append :: a -> Array a -> Array a
(Add S.append #184)concat :: Semigroup a => a -> a -> a
(list: add S.concat #175)create :: { checkTypes :: Boolean, env :: Array Type } -> Module
(add S.create for creating Sanctuary modules with custom environments #206)eitherToMaybe :: Either a b -> Maybe b
(either: add S.eitherToMaybe #215)encase2 :: (a -> b -> c) -> a -> b -> Maybe c
(Changes higher order functions to expect curried functions #182)encase3 :: (a -> b -> c -> d) -> a -> b -> c -> Maybe d
(Changes higher order functions to expect curried functions #182)encaseEither2 :: (Error -> l) -> (a -> b -> r) -> a -> b -> Either l r
(Changes higher order functions to expect curried functions #182)encaseEither3 :: (Error -> l) -> (a -> b -> c -> r) -> a -> b -> c -> Either l r
(Changes higher order functions to expect curried functions #182)env :: Array Type
(add S.create for creating Sanctuary modules with custom environments #206)keys :: StrMap a -> Array String
(Add S.keys, S.values and S.pairs #214)maybeToNullable :: Maybe a -> Nullable a
(maybe: add S.maybeToNullable #190)pairs :: StrMap a -> Array (Pair String a)
(Add S.keys, S.values and S.pairs #214)prepend :: a -> Array a -> Array a
(array: add S.prepend #205)product :: Foldable f => f FiniteNumber -> FiniteNumber
(Add S.sum and S.product #192)prop :: Accessible a => String -> a -> b
(Add prop function #161)range :: Integer -> Integer -> Array Integer
(array: add S.range #218)reduce :: Foldable f => (a -> b -> a) -> a -> f b -> a
(Changes higher order functions to expect curried functions #182)reverse :: [a] -> [a]
(Add S.reverse #220)sum :: Foldable f => f FiniteNumber -> FiniteNumber
(Add S.sum and S.product #192)trim :: String -> String
(string: add S.trim #176)values :: StrMap a -> Array a
(Add S.keys, S.values and S.pairs #214)Contributors:
The text was updated successfully, but these errors were encountered: