sanctuary-def
Advanced tools
Comparing version 0.11.0 to 0.11.1
{ | ||
"name": "sanctuary-def", | ||
"version": "0.11.0", | ||
"version": "0.11.1", | ||
"description": "Run-time type system for JavaScript", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -159,3 +159,3 @@ # sanctuary-def | ||
<h4 name="__"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L188">__ :: Placeholder</a></code></h4> | ||
<h4 name="__"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L188">__ :: Placeholder</a></code></h4> | ||
@@ -186,27 +186,27 @@ The special placeholder value. | ||
<h4 name="Any"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L442">Any :: Type</a></code></h4> | ||
<h4 name="Any"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L442">Any :: Type</a></code></h4> | ||
Type comprising every JavaScript value. | ||
<h4 name="AnyFunction"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L447">AnyFunction :: Type</a></code></h4> | ||
<h4 name="AnyFunction"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L447">AnyFunction :: Type</a></code></h4> | ||
Type comprising every Function value. | ||
<h4 name="Arguments"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L452">Arguments :: Type</a></code></h4> | ||
<h4 name="Arguments"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L452">Arguments :: Type</a></code></h4> | ||
Type comprising every [`arguments`][arguments] object. | ||
<h4 name="Array"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L457">Array :: Type -> Type</a></code></h4> | ||
<h4 name="Array"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L457">Array :: Type -> Type</a></code></h4> | ||
Constructor for homogeneous Array types. | ||
<h4 name="Boolean"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L462">Boolean :: Type</a></code></h4> | ||
<h4 name="Boolean"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L462">Boolean :: Type</a></code></h4> | ||
Type comprising `true` and `false`. | ||
<h4 name="Date"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L467">Date :: Type</a></code></h4> | ||
<h4 name="Date"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L467">Date :: Type</a></code></h4> | ||
Type comprising every Date value. | ||
<h4 name="Error"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L472">Error :: Type</a></code></h4> | ||
<h4 name="Error"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L472">Error :: Type</a></code></h4> | ||
@@ -216,3 +216,3 @@ Type comprising every Error value, including values of more specific | ||
<h4 name="FiniteNumber"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L478">FiniteNumber :: Type</a></code></h4> | ||
<h4 name="FiniteNumber"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L478">FiniteNumber :: Type</a></code></h4> | ||
@@ -222,3 +222,3 @@ Type comprising every [`ValidNumber`][] value except `Infinity` and | ||
<h4 name="Function"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L487">Function :: Array Type -> Type</a></code></h4> | ||
<h4 name="Function"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L487">Function :: Array Type -> Type</a></code></h4> | ||
@@ -233,3 +233,3 @@ Constructor for Function types. | ||
<h4 name="GlobalRegExp"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L524">GlobalRegExp :: Type</a></code></h4> | ||
<h4 name="GlobalRegExp"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L524">GlobalRegExp :: Type</a></code></h4> | ||
@@ -240,3 +240,3 @@ Type comprising every [`RegExp`][] value whose `global` flag is `true`. | ||
<h4 name="Integer"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L534">Integer :: Type</a></code></h4> | ||
<h4 name="Integer"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L534">Integer :: Type</a></code></h4> | ||
@@ -246,15 +246,15 @@ Type comprising every integer in the range | ||
<h4 name="NegativeFiniteNumber"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L548">NegativeFiniteNumber :: Type</a></code></h4> | ||
<h4 name="NegativeFiniteNumber"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L548">NegativeFiniteNumber :: Type</a></code></h4> | ||
Type comprising every [`FiniteNumber`][] value less than zero. | ||
<h4 name="NegativeInteger"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L556">NegativeInteger :: Type</a></code></h4> | ||
<h4 name="NegativeInteger"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L556">NegativeInteger :: Type</a></code></h4> | ||
Type comprising every [`Integer`][] value less than zero. | ||
<h4 name="NegativeNumber"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L564">NegativeNumber :: Type</a></code></h4> | ||
<h4 name="NegativeNumber"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L564">NegativeNumber :: Type</a></code></h4> | ||
Type comprising every [`Number`][] value less than zero. | ||
<h4 name="NonEmpty"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L572">NonEmpty :: Type -> Type</a></code></h4> | ||
<h4 name="NonEmpty"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L572">NonEmpty :: Type -> Type</a></code></h4> | ||
@@ -266,3 +266,3 @@ Constructor for non-empty types. `$.NonEmpty($.String)`, for example, is | ||
<h4 name="NonGlobalRegExp"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L589">NonGlobalRegExp :: Type</a></code></h4> | ||
<h4 name="NonGlobalRegExp"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L589">NonGlobalRegExp :: Type</a></code></h4> | ||
@@ -273,27 +273,27 @@ Type comprising every [`RegExp`][] value whose `global` flag is `false`. | ||
<h4 name="NonZeroFiniteNumber"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L599">NonZeroFiniteNumber :: Type</a></code></h4> | ||
<h4 name="NonZeroFiniteNumber"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L599">NonZeroFiniteNumber :: Type</a></code></h4> | ||
Type comprising every [`FiniteNumber`][] value except `0` and `-0`. | ||
<h4 name="NonZeroInteger"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L607">NonZeroInteger :: Type</a></code></h4> | ||
<h4 name="NonZeroInteger"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L607">NonZeroInteger :: Type</a></code></h4> | ||
Type comprising every [`Integer`][] value except `0` and `-0`. | ||
<h4 name="NonZeroValidNumber"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L615">NonZeroValidNumber :: Type</a></code></h4> | ||
<h4 name="NonZeroValidNumber"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L615">NonZeroValidNumber :: Type</a></code></h4> | ||
Type comprising every [`ValidNumber`][] value except `0` and `-0`. | ||
<h4 name="Null"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L623">Null :: Type</a></code></h4> | ||
<h4 name="Null"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L623">Null :: Type</a></code></h4> | ||
Type whose sole member is `null`. | ||
<h4 name="Nullable"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L628">Nullable :: Type -> Type</a></code></h4> | ||
<h4 name="Nullable"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L628">Nullable :: Type -> Type</a></code></h4> | ||
Constructor for types which include `null` as a member. | ||
<h4 name="Number"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L640">Number :: Type</a></code></h4> | ||
<h4 name="Number"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L640">Number :: Type</a></code></h4> | ||
Type comprising every primitive Number value (including `NaN`). | ||
<h4 name="Object"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L645">Object :: Type</a></code></h4> | ||
<h4 name="Object"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L645">Object :: Type</a></code></h4> | ||
@@ -308,3 +308,3 @@ Type comprising every "plain" Object value. Specifically, values | ||
<h4 name="Pair"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L656">Pair :: Type -> Type -> Type</a></code></h4> | ||
<h4 name="Pair"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L656">Pair :: Type -> Type -> Type</a></code></h4> | ||
@@ -314,19 +314,19 @@ Constructor for tuple types of length 2. Arrays are said to represent | ||
<h4 name="PositiveFiniteNumber"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L667">PositiveFiniteNumber :: Type</a></code></h4> | ||
<h4 name="PositiveFiniteNumber"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L667">PositiveFiniteNumber :: Type</a></code></h4> | ||
Type comprising every [`FiniteNumber`][] value greater than zero. | ||
<h4 name="PositiveInteger"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L675">PositiveInteger :: Type</a></code></h4> | ||
<h4 name="PositiveInteger"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L675">PositiveInteger :: Type</a></code></h4> | ||
Type comprising every [`Integer`][] value greater than zero. | ||
<h4 name="PositiveNumber"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L683">PositiveNumber :: Type</a></code></h4> | ||
<h4 name="PositiveNumber"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L683">PositiveNumber :: Type</a></code></h4> | ||
Type comprising every [`Number`][] value greater than zero. | ||
<h4 name="RegExp"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L691">RegExp :: Type</a></code></h4> | ||
<h4 name="RegExp"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L691">RegExp :: Type</a></code></h4> | ||
Type comprising every RegExp value. | ||
<h4 name="RegexFlags"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L696">RegexFlags :: Type</a></code></h4> | ||
<h4 name="RegexFlags"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L696">RegexFlags :: Type</a></code></h4> | ||
@@ -344,3 +344,3 @@ Type comprising the canonical RegExp flags: | ||
<h4 name="StrMap"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L713">StrMap :: Type -> Type</a></code></h4> | ||
<h4 name="StrMap"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L713">StrMap :: Type -> Type</a></code></h4> | ||
@@ -352,23 +352,23 @@ Constructor for homogeneous Object types. | ||
<h4 name="String"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L727">String :: Type</a></code></h4> | ||
<h4 name="String"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L727">String :: Type</a></code></h4> | ||
Type comprising every primitive String value. | ||
<h4 name="Symbol"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L732">Symbol :: Type</a></code></h4> | ||
<h4 name="Symbol"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L732">Symbol :: Type</a></code></h4> | ||
Type comprising every Symbol value. | ||
<h4 name="Type"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L737">Type :: Type</a></code></h4> | ||
<h4 name="Type"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L737">Type :: Type</a></code></h4> | ||
Type comprising every `Type` value. | ||
<h4 name="TypeClass"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L742">TypeClass :: Type</a></code></h4> | ||
<h4 name="TypeClass"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L742">TypeClass :: Type</a></code></h4> | ||
Type comprising every [`TypeClass`][] value. | ||
<h4 name="Undefined"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L748">Undefined :: Type</a></code></h4> | ||
<h4 name="Undefined"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L748">Undefined :: Type</a></code></h4> | ||
Type whose sole member is `undefined`. | ||
<h4 name="Unknown"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L753">Unknown :: Type</a></code></h4> | ||
<h4 name="Unknown"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L753">Unknown :: Type</a></code></h4> | ||
@@ -390,11 +390,11 @@ Type used to represent missing type information. The type of `[]`, | ||
<h4 name="ValidDate"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L771">ValidDate :: Type</a></code></h4> | ||
<h4 name="ValidDate"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L771">ValidDate :: Type</a></code></h4> | ||
Type comprising every [`Date`][] value except `new Date(NaN)`. | ||
<h4 name="ValidNumber"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L779">ValidNumber :: Type</a></code></h4> | ||
<h4 name="ValidNumber"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L779">ValidNumber :: Type</a></code></h4> | ||
Type comprising every [`Number`][] value except `NaN`. | ||
<h4 name="env"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L787">env :: Array Type</a></code></h4> | ||
<h4 name="env"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L787">env :: Array Type</a></code></h4> | ||
@@ -418,3 +418,3 @@ An array of [types][]: | ||
<h4 name="test"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L1232">test :: Array Type -> Type -> a -> Boolean</a></code></h4> | ||
<h4 name="test"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L1248">test :: Array Type -> Type -> a -> Boolean</a></code></h4> | ||
@@ -446,3 +446,3 @@ Takes an environment, a type, and any value. Returns `true` if the value | ||
<h4 name="NullaryType"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L1263">NullaryType :: String -> String -> (Any -> Boolean) -> Type</a></code></h4> | ||
<h4 name="NullaryType"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L1279">NullaryType :: String -> String -> (Any -> Boolean) -> Type</a></code></h4> | ||
@@ -510,3 +510,3 @@ Type constructor for types with no type variables (such as [`Number`][]). | ||
<h4 name="UnaryType"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L1338">UnaryType :: String -> String -> (Any -> Boolean) -> (t a -> Array a) -> (Type -> Type)</a></code></h4> | ||
<h4 name="UnaryType"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L1354">UnaryType :: String -> String -> (Any -> Boolean) -> (t a -> Array a) -> (Type -> Type)</a></code></h4> | ||
@@ -590,3 +590,3 @@ Type constructor for types with one type variable (such as [`Array`][]). | ||
<h4 name="BinaryType"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L1447">BinaryType :: String -> String -> (Any -> Boolean) -> (t a b -> Array a) -> (t a b -> Array b) -> (Type -> Type -> Type)</a></code></h4> | ||
<h4 name="BinaryType"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L1463">BinaryType :: String -> String -> (Any -> Boolean) -> (t a b -> Array a) -> (t a b -> Array b) -> (Type -> Type -> Type)</a></code></h4> | ||
@@ -682,3 +682,3 @@ Type constructor for types with two type variables (such as [`Pair`][]). | ||
<h4 name="EnumType"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L1582">EnumType :: String -> String -> Array Any -> Type</a></code></h4> | ||
<h4 name="EnumType"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L1598">EnumType :: String -> String -> Array Any -> Type</a></code></h4> | ||
@@ -706,3 +706,3 @@ Type constructor for [enumerated types][] (such as [`RegexFlags`][]). | ||
<h4 name="RecordType"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L1611">RecordType :: StrMap Type -> Type</a></code></h4> | ||
<h4 name="RecordType"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L1627">RecordType :: StrMap Type -> Type</a></code></h4> | ||
@@ -757,3 +757,3 @@ `RecordType` is used to construct record types. The type definition | ||
<h4 name="TypeVariable"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L1689">TypeVariable :: String -> Type</a></code></h4> | ||
<h4 name="TypeVariable"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L1705">TypeVariable :: String -> Type</a></code></h4> | ||
@@ -812,3 +812,3 @@ Polymorphism is powerful. Not being able to define a function for | ||
<h4 name="UnaryTypeVariable"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L1749">UnaryTypeVariable :: String -> (Type -> Type)</a></code></h4> | ||
<h4 name="UnaryTypeVariable"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L1765">UnaryTypeVariable :: String -> (Type -> Type)</a></code></h4> | ||
@@ -860,3 +860,3 @@ Combines [`UnaryType`][] and [`TypeVariable`][]. | ||
<h4 name="BinaryTypeVariable"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.0/index.js#L1813">BinaryTypeVariable :: String -> (Type -> Type -> Type)</a></code></h4> | ||
<h4 name="BinaryTypeVariable"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.11.1/index.js#L1829">BinaryTypeVariable :: String -> (Type -> Type -> Type)</a></code></h4> | ||
@@ -863,0 +863,0 @@ Combines [`BinaryType`][] and [`TypeVariable`][]. |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
117651
2378