aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux/type
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/documentation/lux/type')
-rw-r--r--stdlib/source/documentation/lux/type/check.lux2
-rw-r--r--stdlib/source/documentation/lux/type/dynamic.lux2
-rw-r--r--stdlib/source/documentation/lux/type/implicit.lux2
-rw-r--r--stdlib/source/documentation/lux/type/poly.lux2
-rw-r--r--stdlib/source/documentation/lux/type/primitive.lux22
-rw-r--r--stdlib/source/documentation/lux/type/quotient.lux6
-rw-r--r--stdlib/source/documentation/lux/type/refinement.lux6
-rw-r--r--stdlib/source/documentation/lux/type/resource.lux2
-rw-r--r--stdlib/source/documentation/lux/type/unit.lux6
-rw-r--r--stdlib/source/documentation/lux/type/variance.lux2
10 files changed, 26 insertions, 26 deletions
diff --git a/stdlib/source/documentation/lux/type/check.lux b/stdlib/source/documentation/lux/type/check.lux
index c0bef5b1b..e65a1ccd6 100644
--- a/stdlib/source/documentation/lux/type/check.lux
+++ b/stdlib/source/documentation/lux/type/check.lux
@@ -64,7 +64,7 @@
"Resolves every bound type-variable to yield a new type that is as resolved as possible."
[(clean inputT)])
-(.def: .public documentation
+(.def .public documentation
(.List $.Module)
($.module /._
"Type-checking functionality."
diff --git a/stdlib/source/documentation/lux/type/dynamic.lux b/stdlib/source/documentation/lux/type/dynamic.lux
index 613fb0167..511642334 100644
--- a/stdlib/source/documentation/lux/type/dynamic.lux
+++ b/stdlib/source/documentation/lux/type/dynamic.lux
@@ -26,7 +26,7 @@
[(is (try.Try Nat)
(static Nat (dynamic 123)))])
-(.def: .public documentation
+(.def .public documentation
(.List $.Module)
($.module /._
""
diff --git a/stdlib/source/documentation/lux/type/implicit.lux b/stdlib/source/documentation/lux/type/implicit.lux
index 95cafb20a..869295b0e 100644
--- a/stdlib/source/documentation/lux/type/implicit.lux
+++ b/stdlib/source/documentation/lux/type/implicit.lux
@@ -50,7 +50,7 @@
(n.= (at n.multiplication composite left right)
(a/an composite left right))])
-(.def: .public documentation
+(.def .public documentation
(.List $.Module)
($.module /._
""
diff --git a/stdlib/source/documentation/lux/type/poly.lux b/stdlib/source/documentation/lux/type/poly.lux
index 92183f398..5bcc6ceb2 100644
--- a/stdlib/source/documentation/lux/type/poly.lux
+++ b/stdlib/source/documentation/lux/type/poly.lux
@@ -21,7 +21,7 @@
""
[(code env type)])
-(.def: .public documentation
+(.def .public documentation
(.List $.Module)
($.module /._
""
diff --git a/stdlib/source/documentation/lux/type/primitive.lux b/stdlib/source/documentation/lux/type/primitive.lux
index cbb9ac7bf..d8d651188 100644
--- a/stdlib/source/documentation/lux/type/primitive.lux
+++ b/stdlib/source/documentation/lux/type/primitive.lux
@@ -41,36 +41,36 @@
[(primitive String
Text
- (def: (string value)
+ (def (string value)
(-> Text String)
(abstraction value))
- (def: (text value)
+ (def (text value)
(-> String Text)
(representation value)))]
["Type-parameters are optional."
(primitive (Duplicate a)
[a a]
- (def: (duplicate value)
+ (def (duplicate value)
(All (_ a) (-> a (Duplicate a)))
(abstraction [value value])))]
["Definitions can be nested."
(primitive (Single a)
a
- (def: (single value)
+ (def (single value)
(All (_ a) (-> a (Single a)))
(abstraction value))
(primitive (Double a)
[a a]
- (def: (double value)
+ (def (double value)
(All (_ a) (-> a (Double a)))
(abstraction [value value]))
- (def: (single' value)
+ (def (single' value)
(All (_ a) (-> a (Single a)))
(abstraction Single [value value]))
@@ -89,12 +89,12 @@
(primitive Expression Any)
(primitive Statement Any)
- (def: (+ x y)
+ (def (+ x y)
(-> (JavaScript Expression) (JavaScript Expression) (JavaScript Expression))
(abstraction
(format "(" (representation x) "+" (representation y) ")")))
- (def: (while test body)
+ (def (while test body)
(-> (JavaScript Expression) (JavaScript Statement) (JavaScript Statement))
(abstraction
(format "while(" (representation test) ") {"
@@ -109,15 +109,15 @@
(primitive Expression Any)
(primitive Statement Any)
- (def: (statement expression)
+ (def (statement expression)
(-> (JavaScript Expression) (JavaScript Statement))
(transmutation expression))
- (def: (statement' expression)
+ (def (statement' expression)
(-> (JavaScript Expression) (JavaScript Statement))
(transmutation JavaScript expression)))])
-(.def: .public documentation
+(.def .public documentation
(.List $.Module)
($.module /._
""
diff --git a/stdlib/source/documentation/lux/type/quotient.lux b/stdlib/source/documentation/lux/type/quotient.lux
index ffa3075ff..573d9bdfd 100644
--- a/stdlib/source/documentation/lux/type/quotient.lux
+++ b/stdlib/source/documentation/lux/type/quotient.lux
@@ -27,17 +27,17 @@
(documentation: /.type
"The Quotient type associated with a Class type."
- [(def: even
+ [(def even
(class even?))
- (def: Even
+ (def Even
Type
(type even))
(is Even
(quotient even 123))])
-(.def: .public documentation
+(.def .public documentation
(.List $.Module)
($.module /._
""
diff --git a/stdlib/source/documentation/lux/type/refinement.lux b/stdlib/source/documentation/lux/type/refinement.lux
index ddeee3c95..b663e9f41 100644
--- a/stdlib/source/documentation/lux/type/refinement.lux
+++ b/stdlib/source/documentation/lux/type/refinement.lux
@@ -38,17 +38,17 @@
(documentation: /.type
"The Refined type associated with a Refiner type."
- [(def: even
+ [(def even
(refiner even?))
- (def: Even
+ (def Even
Type
(type even))
(is (Maybe Even)
(even 123))])
-(.def: .public documentation
+(.def .public documentation
(.List $.Module)
($.module /._
""
diff --git a/stdlib/source/documentation/lux/type/resource.lux b/stdlib/source/documentation/lux/type/resource.lux
index 439fbbbce..1fbd8997e 100644
--- a/stdlib/source/documentation/lux/type/resource.lux
+++ b/stdlib/source/documentation/lux/type/resource.lux
@@ -91,7 +91,7 @@
[/.un_group]
)
-(.def: .public documentation
+(.def .public documentation
(.List $.Module)
($.module /._
""
diff --git a/stdlib/source/documentation/lux/type/unit.lux b/stdlib/source/documentation/lux/type/unit.lux
index fd518779f..fafcdf14a 100644
--- a/stdlib/source/documentation/lux/type/unit.lux
+++ b/stdlib/source/documentation/lux/type/unit.lux
@@ -31,11 +31,11 @@
(documentation: /.unit
(format "Define a unit of measurement."
\n "Both the name of the type, and the name of the Unit implementation must be specified.")
- [(def: feet (unit []))])
+ [(def feet (unit []))])
(documentation: /.scale
"Define a scale of magnitude."
- [(def: bajillion (scale [1 1,234,567,890]))])
+ [(def bajillion (scale [1 1,234,567,890]))])
(documentation: /.re_scaled
""
@@ -66,7 +66,7 @@
[/.second]
)
-(.def: .public documentation
+(.def .public documentation
(.List $.Module)
($.module /._
""
diff --git a/stdlib/source/documentation/lux/type/variance.lux b/stdlib/source/documentation/lux/type/variance.lux
index 6501ab999..4a504d3dd 100644
--- a/stdlib/source/documentation/lux/type/variance.lux
+++ b/stdlib/source/documentation/lux/type/variance.lux
@@ -22,7 +22,7 @@
(documentation: (/.In it)
"A constraint for invariant types.")
-(.def: .public documentation
+(.def .public documentation
(.List $.Module)
($.module /._
""