diff --git a/README.md b/README.md index da6f2dc3..0b767a94 100644 --- a/README.md +++ b/README.md @@ -133,7 +133,7 @@ const S = create({checkTypes: checkTypes, env: env}); ## API -
create :: { checkTypes :: Boolean, env :: Array Type } -> Module
create :: { checkTypes :: Boolean, env :: Array Type } -> Module
env :: Array Type
env :: Array Type
type :: a -> String
type :: a -> String
is :: TypeRep a -> b -> Boolean
is :: TypeRep a -> b -> Boolean
I :: a -> a
I :: a -> a
K :: a -> b -> a
K :: a -> b -> a
A :: (a -> b) -> a -> b
A :: (a -> b) -> a -> b
T :: a -> (a -> b) -> b
T :: a -> (a -> b) -> b
C :: (a -> b -> c) -> b -> a -> c
C :: (a -> b -> c) -> b -> a -> c
B :: (b -> c) -> (a -> b) -> a -> c
B :: (b -> c) -> (a -> b) -> a -> c
S :: (a -> b -> c) -> (a -> b) -> a -> c
S :: (a -> b -> c) -> (a -> b) -> a -> c
flip :: ((a, b) -> c) -> b -> a -> c
flip :: ((a, b) -> c) -> b -> a -> c
lift :: Functor f => (a -> b) -> f a -> f b
lift :: Functor f => (a -> b) -> f a -> f b
lift2 :: Apply f => (a -> b -> c) -> f a -> f b -> f c
lift2 :: Apply f => (a -> b -> c) -> f a -> f b -> f c
lift3 :: Apply f => (a -> b -> c -> d) -> f a -> f b -> f c -> f d
lift3 :: Apply f => (a -> b -> c -> d) -> f a -> f b -> f c -> f d
compose :: (b -> c) -> (a -> b) -> a -> c
compose :: (b -> c) -> (a -> b) -> a -> c
pipe :: [(a -> b), (b -> c), ..., (m -> n)] -> a -> n
pipe :: [(a -> b), (b -> c), ..., (m -> n)] -> a -> n
meld :: [** -> *] -> (* -> * -> ... -> *)
meld :: [** -> *] -> (* -> * -> ... -> *)
MaybeType :: Type -> Type
MaybeType :: Type -> Type
Maybe :: TypeRep Maybe
Maybe :: TypeRep Maybe
Maybe.empty :: -> Maybe a
Maybe.empty :: -> Maybe a
Maybe.of :: a -> Maybe a
Maybe.of :: a -> Maybe a
Maybe#@@type :: String
Maybe#@@type :: String
Maybe#isNothing :: Boolean
Maybe#isNothing :: Boolean
Maybe#isJust :: Boolean
Maybe#isJust :: Boolean
Maybe#ap :: Maybe (a -> b) ~> Maybe a -> Maybe b
Maybe#ap :: Maybe (a -> b) ~> Maybe a -> Maybe b
Maybe#chain :: Maybe a ~> (a -> Maybe b) -> Maybe b
Maybe#chain :: Maybe a ~> (a -> Maybe b) -> Maybe b
Maybe#concat :: Semigroup a => Maybe a ~> Maybe a -> Maybe a
Maybe#concat :: Semigroup a => Maybe a ~> Maybe a -> Maybe a
Maybe#empty :: Maybe a ~> Maybe a
Maybe#empty :: Maybe a ~> Maybe a
Maybe#equals :: Maybe a ~> b -> Boolean
Maybe#equals :: Maybe a ~> b -> Boolean
Maybe#extend :: Maybe a ~> (Maybe a -> a) -> Maybe a
Maybe#extend :: Maybe a ~> (Maybe a -> a) -> Maybe a
Maybe#filter :: Maybe a ~> (a -> Boolean) -> Maybe a
Maybe#filter :: Maybe a ~> (a -> Boolean) -> Maybe a
Maybe#map :: Maybe a ~> (a -> b) -> Maybe b
Maybe#map :: Maybe a ~> (a -> b) -> Maybe b
Maybe#of :: Maybe a ~> b -> Maybe b
Maybe#of :: Maybe a ~> b -> Maybe b
Maybe#reduce :: Maybe a ~> ((b, a) -> b) -> b -> b
Maybe#reduce :: Maybe a ~> ((b, a) -> b) -> b -> b
Maybe#sequence :: Applicative f => Maybe (f a) ~> (a -> f a) -> f (Maybe a)
Maybe#sequence :: Applicative f => Maybe (f a) ~> (a -> f a) -> f (Maybe a)
Maybe#toBoolean :: Maybe a ~> Boolean
Maybe#toBoolean :: Maybe a ~> Boolean
Maybe#toString :: Maybe a ~> String
Maybe#toString :: Maybe a ~> String
Maybe#inspect :: Maybe a ~> String
Maybe#inspect :: Maybe a ~> String
Nothing :: -> Maybe a
Nothing :: -> Maybe a
Just :: a -> Maybe a
Just :: a -> Maybe a
isNothing :: Maybe a -> Boolean
isNothing :: Maybe a -> Boolean
isJust :: Maybe a -> Boolean
isJust :: Maybe a -> Boolean
fromMaybe :: a -> Maybe a -> a
fromMaybe :: a -> Maybe a -> a
maybeToNullable :: Maybe a -> Nullable a
maybeToNullable :: Maybe a -> Nullable a
toMaybe :: a? -> Maybe a
toMaybe :: a? -> Maybe a
maybe :: b -> (a -> b) -> Maybe a -> b
maybe :: b -> (a -> b) -> Maybe a -> b
justs :: Array (Maybe a) -> Array a
justs :: Array (Maybe a) -> Array a
mapMaybe :: (a -> Maybe b) -> Array a -> Array b
mapMaybe :: (a -> Maybe b) -> Array a -> Array b
encase :: (a -> b) -> a -> Maybe b
encase :: (a -> b) -> a -> Maybe b
encase2 :: (a -> b -> c) -> a -> b -> Maybe c
encase2 :: (a -> b -> c) -> a -> b -> Maybe c
encase2_ :: ((a, b) -> c) -> a -> b -> Maybe c
encase2_ :: ((a, b) -> c) -> a -> b -> Maybe c
encase3 :: (a -> b -> c -> d) -> a -> b -> c -> Maybe d
encase3 :: (a -> b -> c -> d) -> a -> b -> c -> Maybe d
encase3_ :: ((a, b, c) -> d) -> a -> b -> c -> Maybe d
encase3_ :: ((a, b, c) -> d) -> a -> b -> c -> Maybe d
maybeToEither :: a -> Maybe b -> Either a b
maybeToEither :: a -> Maybe b -> Either a b
EitherType :: Type -> Type -> Type
EitherType :: Type -> Type -> Type
Either :: TypeRep Either
Either :: TypeRep Either
Either.of :: b -> Either a b
Either.of :: b -> Either a b
Either#@@type :: String
Either#@@type :: String
Either#isLeft :: Boolean
Either#isLeft :: Boolean
Either#isRight :: Boolean
Either#isRight :: Boolean
Either#ap :: Either a (b -> c) ~> Either a b -> Either a c
Either#ap :: Either a (b -> c) ~> Either a b -> Either a c
Either#chain :: Either a b ~> (b -> Either a c) -> Either a c
Either#chain :: Either a b ~> (b -> Either a c) -> Either a c
Either#concat :: (Semigroup a, Semigroup b) => Either a b ~> Either a b -> Either a b
Either#concat :: (Semigroup a, Semigroup b) => Either a b ~> Either a b -> Either a b
Either#equals :: Either a b ~> c -> Boolean
Either#equals :: Either a b ~> c -> Boolean
Either#extend :: Either a b ~> (Either a b -> b) -> Either a b
Either#extend :: Either a b ~> (Either a b -> b) -> Either a b
Either#map :: Either a b ~> (b -> c) -> Either a c
Either#map :: Either a b ~> (b -> c) -> Either a c
Either#of :: Either a b ~> c -> Either a c
Either#of :: Either a b ~> c -> Either a c
Either#reduce :: Either a b ~> ((c, b) -> c) -> c -> c
Either#reduce :: Either a b ~> ((c, b) -> c) -> c -> c
Either#sequence :: Applicative f => Either a (f b) ~> (b -> f b) -> f (Either a b)
Either#sequence :: Applicative f => Either a (f b) ~> (b -> f b) -> f (Either a b)
Either#toBoolean :: Either a b ~> Boolean
Either#toBoolean :: Either a b ~> Boolean
Either#toString :: Either a b ~> String
Either#toString :: Either a b ~> String
Either#inspect :: Either a b ~> String
Either#inspect :: Either a b ~> String
Left :: a -> Either a b
Left :: a -> Either a b
Right :: b -> Either a b
Right :: b -> Either a b
isLeft :: Either a b -> Boolean
isLeft :: Either a b -> Boolean
isRight :: Either a b -> Boolean
isRight :: Either a b -> Boolean
either :: (a -> c) -> (b -> c) -> Either a b -> c
either :: (a -> c) -> (b -> c) -> Either a b -> c
lefts :: Array (Either a b) -> Array a
lefts :: Array (Either a b) -> Array a
rights :: Array (Either a b) -> Array b
rights :: Array (Either a b) -> Array b
encaseEither :: (Error -> l) -> (a -> r) -> a -> Either l r
encaseEither :: (Error -> l) -> (a -> r) -> a -> Either l r
encaseEither2 :: (Error -> l) -> (a -> b -> r) -> a -> b -> Either l r
encaseEither2 :: (Error -> l) -> (a -> b -> r) -> a -> b -> Either l r
encaseEither2_ :: (Error -> l) -> ((a, b) -> r) -> a -> b -> Either l r
encaseEither2_ :: (Error -> l) -> ((a, b) -> r) -> a -> b -> Either l r
encaseEither3 :: (Error -> l) -> (a -> b -> c -> r) -> a -> b -> c -> Either l r
encaseEither3 :: (Error -> l) -> (a -> b -> c -> r) -> a -> b -> c -> Either l r
encaseEither3_ :: (Error -> l) -> ((a, b, c) -> r) -> a -> b -> c -> Either l r
encaseEither3_ :: (Error -> l) -> ((a, b, c) -> r) -> a -> b -> c -> Either l r
eitherToMaybe :: Either a b -> Maybe b
eitherToMaybe :: Either a b -> Maybe b
and :: Alternative a => a -> a -> a
and :: Alternative a => a -> a -> a
or :: Alternative a => a -> a -> a
or :: Alternative a => a -> a -> a
xor :: (Alternative a, Monoid a) => a -> a -> a
xor :: (Alternative a, Monoid a) => a -> a -> a
not :: Boolean -> Boolean
not :: Boolean -> Boolean
ifElse :: (a -> Boolean) -> (a -> b) -> (a -> b) -> a -> b
ifElse :: (a -> Boolean) -> (a -> b) -> (a -> b) -> a -> b
allPass :: Array (a -> Boolean) -> a -> Boolean
allPass :: Array (a -> Boolean) -> a -> Boolean
anyPass :: Array (a -> Boolean) -> a -> Boolean
anyPass :: Array (a -> Boolean) -> a -> Boolean
concat :: Semigroup a => a -> a -> a
concat :: Semigroup a => a -> a -> a
slice :: Integer -> Integer -> [a] -> Maybe [a]
slice :: Integer -> Integer -> [a] -> Maybe [a]
at :: Integer -> [a] -> Maybe a
at :: Integer -> [a] -> Maybe a
head :: [a] -> Maybe a
head :: [a] -> Maybe a
last :: [a] -> Maybe a
last :: [a] -> Maybe a
tail :: [a] -> Maybe [a]
tail :: [a] -> Maybe [a]
init :: [a] -> Maybe [a]
init :: [a] -> Maybe [a]
take :: Integer -> [a] -> Maybe [a]
take :: Integer -> [a] -> Maybe [a]
takeLast :: Integer -> [a] -> Maybe [a]
takeLast :: Integer -> [a] -> Maybe [a]
drop :: Integer -> [a] -> Maybe [a]
drop :: Integer -> [a] -> Maybe [a]
dropLast :: Integer -> [a] -> Maybe [a]
dropLast :: Integer -> [a] -> Maybe [a]
reverse :: [a] -> [a]
reverse :: [a] -> [a]
indexOf :: a -> [a] -> Maybe Integer
indexOf :: a -> [a] -> Maybe Integer
lastIndexOf :: a -> [a] -> Maybe Integer
lastIndexOf :: a -> [a] -> Maybe Integer
append :: a -> Array a -> Array a
append :: a -> Array a -> Array a
prepend :: a -> Array a -> Array a
prepend :: a -> Array a -> Array a
find :: (a -> Boolean) -> Array a -> Maybe a
find :: (a -> Boolean) -> Array a -> Maybe a
pluck :: Accessible a => TypeRep b -> String -> Array a -> Array (Maybe b)
pluck :: Accessible a => TypeRep b -> String -> Array a -> Array (Maybe b)
reduce :: Foldable f => (a -> b -> a) -> a -> f b -> a
reduce :: Foldable f => (a -> b -> a) -> a -> f b -> a
reduce_ :: Foldable f => ((a, b) -> a) -> a -> f b -> a
reduce_ :: Foldable f => ((a, b) -> a) -> a -> f b -> a
unfoldr :: (b -> Maybe (Pair a b)) -> b -> Array a
unfoldr :: (b -> Maybe (Pair a b)) -> b -> Array a
range :: Integer -> Integer -> Array Integer
range :: Integer -> Integer -> Array Integer
prop :: Accessible a => String -> a -> b
prop :: Accessible a => String -> a -> b
get :: Accessible a => TypeRep b -> String -> a -> Maybe b
get :: Accessible a => TypeRep b -> String -> a -> Maybe b
gets :: Accessible a => TypeRep b -> Array String -> a -> Maybe b
gets :: Accessible a => TypeRep b -> Array String -> a -> Maybe b
keys :: StrMap a -> Array String
keys :: StrMap a -> Array String
values :: StrMap a -> Array a
values :: StrMap a -> Array a
toPairs :: StrMap a -> Array (Pair String a)
pairs :: StrMap a -> Array (Pair String a)
negate :: ValidNumber -> ValidNumber
negate :: ValidNumber -> ValidNumber
add :: FiniteNumber -> FiniteNumber -> FiniteNumber
add :: FiniteNumber -> FiniteNumber -> FiniteNumber
sum :: Foldable f => f FiniteNumber -> FiniteNumber
sum :: Foldable f => f FiniteNumber -> FiniteNumber
sub :: FiniteNumber -> FiniteNumber -> FiniteNumber
sub :: FiniteNumber -> FiniteNumber -> FiniteNumber
inc :: FiniteNumber -> FiniteNumber
inc :: FiniteNumber -> FiniteNumber
dec :: FiniteNumber -> FiniteNumber
dec :: FiniteNumber -> FiniteNumber
mult :: FiniteNumber -> FiniteNumber -> FiniteNumber
mult :: FiniteNumber -> FiniteNumber -> FiniteNumber
product :: Foldable f => f FiniteNumber -> FiniteNumber
product :: Foldable f => f FiniteNumber -> FiniteNumber
div :: FiniteNumber -> NonZeroFiniteNumber -> FiniteNumber
div :: FiniteNumber -> NonZeroFiniteNumber -> FiniteNumber
min :: Ord a => a -> a -> a
min :: Ord a => a -> a -> a
max :: Ord a => a -> a -> a
max :: Ord a => a -> a -> a
even :: Integer -> Boolean
even :: Integer -> Boolean
odd :: Integer -> Boolean
odd :: Integer -> Boolean
parseDate :: String -> Maybe Date
parseDate :: String -> Maybe Date
parseFloat :: String -> Maybe Number
parseFloat :: String -> Maybe Number
parseInt :: Integer -> String -> Maybe Integer
parseInt :: Integer -> String -> Maybe Integer
parseJson :: TypeRep a -> String -> Maybe a
parseJson :: TypeRep a -> String -> Maybe a
regex :: RegexFlags -> String -> RegExp
regex :: RegexFlags -> String -> RegExp
regexEscape :: String -> String
regexEscape :: String -> String
test :: RegExp -> String -> Boolean
test :: RegExp -> String -> Boolean
match :: RegExp -> String -> Maybe (Array (Maybe String))
match :: RegExp -> String -> Maybe (Array (Maybe String))
toUpper :: String -> String
toUpper :: String -> String
toLower :: String -> String
toLower :: String -> String
trim :: String -> String
trim :: String -> String
words :: String -> Array String
words :: String -> Array String
unwords :: Array String -> String
unwords :: Array String -> String
lines :: String -> Array String
lines :: String -> Array String
unlines :: Array String -> String
unlines :: Array String -> String