diff --git a/docs/RefMan/OverloadedOperations.rst b/docs/RefMan/OverloadedOperations.rst index 98312b4e2..d77103718 100644 --- a/docs/RefMan/OverloadedOperations.rst +++ b/docs/RefMan/OverloadedOperations.rst @@ -12,6 +12,28 @@ Equality (===) : {a, b} (Eq b) => (a -> b) -> (a -> b) -> (a -> Bit) (!==) : {a, b} (Eq b) => (a -> b) -> (a -> b) -> (a -> Bit) + +.. list-table:: Instances + + * - Type + - Condition + * - ``Bit`` + - + * - ``Integer`` + - + * - ``Rational`` + - + * - ``Z n`` + - ``fin n``, ``n >= 1`` + * - ``Float e p`` + - ``ValidFloat e p`` + * - ``[n] a`` + - ``fin n``, ``Eq a`` + * - ``(a,b)`` + - ``Eq a``, ``Eq b`` + + + Comparisons ----------- @@ -27,6 +49,27 @@ Comparisons abs : {a} (Cmp a, Ring a) => a -> a +.. list-table:: Instances + + * - Type + - Condition + * - ``Bit`` + - + * - ``Integer`` + - + * - ``Rational`` + - + * - ``Float e p`` + - ``ValidFloat e p`` + * - ``[n] a`` + - ``fin n``, ``Cmp a`` + * - ``(a,b)`` + - ``Cmp a``, ``Cmp b`` + + + + + Signed Comparisons ------------------ @@ -38,6 +81,17 @@ Signed Comparisons (<=$) : {a} (SignedCmp a) => a -> a -> Bit (>=$) : {a} (SignedCmp a) => a -> a -> Bit +.. list-table:: Instances + + * - Type + - Condition + * - ``[n] Bit`` + - ``fin n``, ``n >= 1`` + * - ``[n] a`` + - ``fin n``, ``SignedCmp a``, ``a /= Bit`` + * - ``(a,b)`` + - ``SignedCmp a``, ``SignedCmp b`` + Zero ---- @@ -47,6 +101,27 @@ Zero Zero zero : {a} (Zero a) => a +.. list-table:: Instances + + * - Type + - Condition + * - ``Bit`` + - + * - ``Integer`` + - + * - ``Rational`` + - + * - ``Z n`` + - ``fin n``, ``n >= 1`` + * - ``Float e p`` + - ``ValidFloat e p`` + * - ``[n] a`` + - ``Zero a`` + * - ``a -> b`` + - ``Zero b`` + * - ``(a,b)`` + - ``Zero a``, ``Zero b`` + Logical Operations ------------------ @@ -58,6 +133,21 @@ Logical Operations (^) : {a} (Logic a) => a -> a -> a complement : {a} (Logic a) => a -> a +.. list-table:: Instances + + * - Type + - Condition + * - ``Bit`` + - + * - ``[n] a`` + - ``Logic a`` + * - ``a -> b`` + - ``Logic b`` + * - ``(a,b)`` + - ``Logic a``, ``Logic b`` + + + Basic Arithmetic ---------------- @@ -71,6 +161,29 @@ Basic Arithmetic negate : {a} (Ring a) => a -> a (^^) : {a, e} (Ring a, Integral e) => a -> e -> a +.. list-table:: Instances + + * - Type + - Condition + * - ``Integer`` + - + * - ``Rational`` + - + * - ``Z n`` + - ``fin n``, ``n >= 1`` + * - ``Float e p`` + - ``ValidFloat e p`` + * - ``[n] Bit`` + - ``fin n`` + * - ``[n] a`` + - ``Ring a``, ``a /= Bit`` + * - ``a -> b`` + - ``Ring b`` + * - ``(a,b)`` + - ``Ring a``, ``Ring b`` + + + Integral Operations ------------------- @@ -84,6 +197,18 @@ Integral Operations infFrom : {a} (Integral a) => a -> [inf]a infFromThen : {a} (Integral a) => a -> a -> [inf]a +.. list-table:: Instances + + * - Type + - Condition + * - ``Integer`` + - + * - ``[n] Bit`` + - ``fin n`` + + + + Division -------- @@ -94,6 +219,20 @@ Division recip : {a} (Field a) => a -> a (/.) : {a} (Field a) => a -> a -> a + +.. list-table:: Instances + + * - Type + - Condition + * - ``Rational`` + - + * - ``Z n`` + - ``prime n`` + * - ``Float e p`` + - ``ValidFloat e p`` + + + Rounding -------- @@ -105,3 +244,13 @@ Rounding trunc : {a} (Round a) => a -> Integer roundAway : {a} (Round a) => a -> Integer roundToEven : {a} (Round a) => a -> Integer + + +.. list-table:: Instances + + * - Type + - Condition + * - ``Float e p`` + - ``ValidFloat e p`` + + diff --git a/docs/RefMan/_build/doctrees/BasicSyntax.doctree b/docs/RefMan/_build/doctrees/BasicSyntax.doctree index 61a0b9c4a..71e9f8f57 100644 Binary files a/docs/RefMan/_build/doctrees/BasicSyntax.doctree and b/docs/RefMan/_build/doctrees/BasicSyntax.doctree differ diff --git a/docs/RefMan/_build/doctrees/BasicTypes.doctree b/docs/RefMan/_build/doctrees/BasicTypes.doctree index dade46df2..b926627f5 100644 Binary files a/docs/RefMan/_build/doctrees/BasicTypes.doctree and b/docs/RefMan/_build/doctrees/BasicTypes.doctree differ diff --git a/docs/RefMan/_build/doctrees/Expressions.doctree b/docs/RefMan/_build/doctrees/Expressions.doctree index 3b164e8fa..fcbe41616 100644 Binary files a/docs/RefMan/_build/doctrees/Expressions.doctree and b/docs/RefMan/_build/doctrees/Expressions.doctree differ diff --git a/docs/RefMan/_build/doctrees/FFI.doctree b/docs/RefMan/_build/doctrees/FFI.doctree index 4223404b1..f04546bef 100644 Binary files a/docs/RefMan/_build/doctrees/FFI.doctree and b/docs/RefMan/_build/doctrees/FFI.doctree differ diff --git a/docs/RefMan/_build/doctrees/Modules.doctree b/docs/RefMan/_build/doctrees/Modules.doctree index 5de0831f5..5d454794f 100644 Binary files a/docs/RefMan/_build/doctrees/Modules.doctree and b/docs/RefMan/_build/doctrees/Modules.doctree differ diff --git a/docs/RefMan/_build/doctrees/OverloadedOperations.doctree b/docs/RefMan/_build/doctrees/OverloadedOperations.doctree index 8797caaeb..cc25280c8 100644 Binary files a/docs/RefMan/_build/doctrees/OverloadedOperations.doctree and b/docs/RefMan/_build/doctrees/OverloadedOperations.doctree differ diff --git a/docs/RefMan/_build/doctrees/RefMan.doctree b/docs/RefMan/_build/doctrees/RefMan.doctree index b6debdce8..591dca751 100644 Binary files a/docs/RefMan/_build/doctrees/RefMan.doctree and b/docs/RefMan/_build/doctrees/RefMan.doctree differ diff --git a/docs/RefMan/_build/doctrees/TypeDeclarations.doctree b/docs/RefMan/_build/doctrees/TypeDeclarations.doctree index 353c3286b..8fcbf879e 100644 Binary files a/docs/RefMan/_build/doctrees/TypeDeclarations.doctree and b/docs/RefMan/_build/doctrees/TypeDeclarations.doctree differ diff --git a/docs/RefMan/_build/doctrees/environment.pickle b/docs/RefMan/_build/doctrees/environment.pickle index a6a301772..6ee73c587 100644 Binary files a/docs/RefMan/_build/doctrees/environment.pickle and b/docs/RefMan/_build/doctrees/environment.pickle differ diff --git a/docs/RefMan/_build/html/.buildinfo b/docs/RefMan/_build/html/.buildinfo index b0149fc3a..31b3902b4 100644 --- a/docs/RefMan/_build/html/.buildinfo +++ b/docs/RefMan/_build/html/.buildinfo @@ -1,4 +1,4 @@ # Sphinx build info version 1 # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. -config: 69485412ee215e2257ea16f8a42506fe +config: 49d6d89345e8bba027ef627e0adeb689 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/docs/RefMan/_build/html/BasicSyntax.html b/docs/RefMan/_build/html/BasicSyntax.html index 3bbc07fbb..ce1524dff 100644 --- a/docs/RefMan/_build/html/BasicSyntax.html +++ b/docs/RefMan/_build/html/BasicSyntax.html @@ -1,85 +1,46 @@ - - - - +
- - - - -