sanctuary-def
Advanced tools
Comparing version 0.10.0 to 0.10.1
{ | ||
"name": "sanctuary-def", | ||
"version": "0.10.0", | ||
"version": "0.10.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.10.0/index.js#L188">__ :: Placeholder</a></code></h4> | ||
<h4 name="__"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.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.10.0/index.js#L442">Any :: Type</a></code></h4> | ||
<h4 name="Any"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.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.10.0/index.js#L447">AnyFunction :: Type</a></code></h4> | ||
<h4 name="AnyFunction"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.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.10.0/index.js#L452">Arguments :: Type</a></code></h4> | ||
<h4 name="Arguments"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.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.10.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.10.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.10.0/index.js#L462">Boolean :: Type</a></code></h4> | ||
<h4 name="Boolean"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.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.10.0/index.js#L467">Date :: Type</a></code></h4> | ||
<h4 name="Date"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.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.10.0/index.js#L472">Error :: Type</a></code></h4> | ||
<h4 name="Error"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.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.10.0/index.js#L478">FiniteNumber :: Type</a></code></h4> | ||
<h4 name="FiniteNumber"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.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.10.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.10.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.10.0/index.js#L524">GlobalRegExp :: Type</a></code></h4> | ||
<h4 name="GlobalRegExp"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.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.10.0/index.js#L534">Integer :: Type</a></code></h4> | ||
<h4 name="Integer"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.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.10.0/index.js#L548">NegativeFiniteNumber :: Type</a></code></h4> | ||
<h4 name="NegativeFiniteNumber"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.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.10.0/index.js#L556">NegativeInteger :: Type</a></code></h4> | ||
<h4 name="NegativeInteger"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.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.10.0/index.js#L564">NegativeNumber :: Type</a></code></h4> | ||
<h4 name="NegativeNumber"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.1/index.js#L564">NegativeNumber :: Type</a></code></h4> | ||
Type comprising every [`Number`][] value less than zero. | ||
<h4 name="NonGlobalRegExp"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.0/index.js#L572">NonGlobalRegExp :: Type</a></code></h4> | ||
<h4 name="NonGlobalRegExp"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.1/index.js#L572">NonGlobalRegExp :: Type</a></code></h4> | ||
@@ -265,27 +265,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.10.0/index.js#L582">NonZeroFiniteNumber :: Type</a></code></h4> | ||
<h4 name="NonZeroFiniteNumber"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.1/index.js#L582">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.10.0/index.js#L590">NonZeroInteger :: Type</a></code></h4> | ||
<h4 name="NonZeroInteger"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.1/index.js#L590">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.10.0/index.js#L598">NonZeroValidNumber :: Type</a></code></h4> | ||
<h4 name="NonZeroValidNumber"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.1/index.js#L598">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.10.0/index.js#L606">Null :: Type</a></code></h4> | ||
<h4 name="Null"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.1/index.js#L606">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.10.0/index.js#L611">Nullable :: Type -> Type</a></code></h4> | ||
<h4 name="Nullable"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.1/index.js#L611">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.10.0/index.js#L623">Number :: Type</a></code></h4> | ||
<h4 name="Number"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.1/index.js#L623">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.10.0/index.js#L628">Object :: Type</a></code></h4> | ||
<h4 name="Object"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.1/index.js#L628">Object :: Type</a></code></h4> | ||
@@ -300,3 +300,3 @@ Type comprising every "plain" Object value. Specifically, values | ||
<h4 name="Pair"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.0/index.js#L639">Pair :: Type -> Type -> Type</a></code></h4> | ||
<h4 name="Pair"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.1/index.js#L639">Pair :: Type -> Type -> Type</a></code></h4> | ||
@@ -306,19 +306,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.10.0/index.js#L650">PositiveFiniteNumber :: Type</a></code></h4> | ||
<h4 name="PositiveFiniteNumber"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.1/index.js#L650">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.10.0/index.js#L658">PositiveInteger :: Type</a></code></h4> | ||
<h4 name="PositiveInteger"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.1/index.js#L658">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.10.0/index.js#L666">PositiveNumber :: Type</a></code></h4> | ||
<h4 name="PositiveNumber"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.1/index.js#L666">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.10.0/index.js#L674">RegExp :: Type</a></code></h4> | ||
<h4 name="RegExp"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.1/index.js#L674">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.10.0/index.js#L679">RegexFlags :: Type</a></code></h4> | ||
<h4 name="RegexFlags"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.1/index.js#L679">RegexFlags :: Type</a></code></h4> | ||
@@ -336,3 +336,3 @@ Type comprising the canonical RegExp flags: | ||
<h4 name="StrMap"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.0/index.js#L696">StrMap :: Type -> Type</a></code></h4> | ||
<h4 name="StrMap"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.1/index.js#L696">StrMap :: Type -> Type</a></code></h4> | ||
@@ -344,23 +344,23 @@ Constructor for homogeneous Object types. | ||
<h4 name="String"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.0/index.js#L711">String :: Type</a></code></h4> | ||
<h4 name="String"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.1/index.js#L711">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.10.0/index.js#L716">Symbol :: Type</a></code></h4> | ||
<h4 name="Symbol"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.1/index.js#L716">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.10.0/index.js#L721">Type :: Type</a></code></h4> | ||
<h4 name="Type"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.1/index.js#L721">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.10.0/index.js#L726">TypeClass :: Type</a></code></h4> | ||
<h4 name="TypeClass"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.1/index.js#L726">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.10.0/index.js#L732">Undefined :: Type</a></code></h4> | ||
<h4 name="Undefined"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.1/index.js#L732">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.10.0/index.js#L737">Unknown :: Type</a></code></h4> | ||
<h4 name="Unknown"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.1/index.js#L737">Unknown :: Type</a></code></h4> | ||
@@ -382,11 +382,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.10.0/index.js#L755">ValidDate :: Type</a></code></h4> | ||
<h4 name="ValidDate"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.1/index.js#L755">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.10.0/index.js#L763">ValidNumber :: Type</a></code></h4> | ||
<h4 name="ValidNumber"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.1/index.js#L763">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.10.0/index.js#L771">env :: Array Type</a></code></h4> | ||
<h4 name="env"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.1/index.js#L771">env :: Array Type</a></code></h4> | ||
@@ -410,3 +410,3 @@ An array of [types][]: | ||
<h4 name="test"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.0/index.js#L1216">test :: Array Type -> Type -> a -> Boolean</a></code></h4> | ||
<h4 name="test"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.1/index.js#L1216">test :: Array Type -> Type -> a -> Boolean</a></code></h4> | ||
@@ -438,3 +438,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.10.0/index.js#L1247">NullaryType :: String -> String -> (Any -> Boolean) -> Type</a></code></h4> | ||
<h4 name="NullaryType"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.1/index.js#L1247">NullaryType :: String -> String -> (Any -> Boolean) -> Type</a></code></h4> | ||
@@ -502,3 +502,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.10.0/index.js#L1322">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.10.1/index.js#L1322">UnaryType :: String -> String -> (Any -> Boolean) -> (t a -> Array a) -> (Type -> Type)</a></code></h4> | ||
@@ -582,3 +582,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.10.0/index.js#L1431">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.10.1/index.js#L1431">BinaryType :: String -> String -> (Any -> Boolean) -> (t a b -> Array a) -> (t a b -> Array b) -> (Type -> Type -> Type)</a></code></h4> | ||
@@ -674,3 +674,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.10.0/index.js#L1566">EnumType :: String -> String -> Array Any -> Type</a></code></h4> | ||
<h4 name="EnumType"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.1/index.js#L1566">EnumType :: String -> String -> Array Any -> Type</a></code></h4> | ||
@@ -698,3 +698,3 @@ Type constructor for [enumerated types][] (such as [`RegexFlags`][]). | ||
<h4 name="RecordType"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.0/index.js#L1595">RecordType :: StrMap Type -> Type</a></code></h4> | ||
<h4 name="RecordType"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.1/index.js#L1595">RecordType :: StrMap Type -> Type</a></code></h4> | ||
@@ -749,3 +749,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.10.0/index.js#L1673">TypeVariable :: String -> Type</a></code></h4> | ||
<h4 name="TypeVariable"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.1/index.js#L1673">TypeVariable :: String -> Type</a></code></h4> | ||
@@ -804,3 +804,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.10.0/index.js#L1733">UnaryTypeVariable :: String -> (Type -> Type)</a></code></h4> | ||
<h4 name="UnaryTypeVariable"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.1/index.js#L1733">UnaryTypeVariable :: String -> (Type -> Type)</a></code></h4> | ||
@@ -852,3 +852,3 @@ Combines [`UnaryType`][] and [`TypeVariable`][]. | ||
<h4 name="BinaryTypeVariable"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.0/index.js#L1797">BinaryTypeVariable :: String -> (Type -> Type -> Type)</a></code></h4> | ||
<h4 name="BinaryTypeVariable"><code><a href="https://github.com/sanctuary-js/sanctuary-def/blob/v0.10.1/index.js#L1797">BinaryTypeVariable :: String -> (Type -> Type -> Type)</a></code></h4> | ||
@@ -855,0 +855,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
115577
2353