aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux/type/refinement.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/documentation/lux/type/refinement.lux')
-rw-r--r--stdlib/source/documentation/lux/type/refinement.lux30
1 files changed, 15 insertions, 15 deletions
diff --git a/stdlib/source/documentation/lux/type/refinement.lux b/stdlib/source/documentation/lux/type/refinement.lux
index 008f64e82..bbe26014b 100644
--- a/stdlib/source/documentation/lux/type/refinement.lux
+++ b/stdlib/source/documentation/lux/type/refinement.lux
@@ -1,17 +1,17 @@
(.using
- [library
- [lux {"-" type}
- ["$" documentation {"+" documentation:}]
- [control
- ["<>" parser
- ["<[0]>" code]]]
- [data
- ["[0]" text {"+" \n}
- ["%" format {"+" format}]]]
- [macro
- ["[0]" template]]]]
- [\\library
- ["[0]" /]])
+ [library
+ [lux {"-" type}
+ ["$" documentation {"+" documentation:}]
+ [control
+ ["<>" parser
+ ["<[0]>" code]]]
+ [data
+ ["[0]" text {"+" \n}
+ ["%" format {"+" format}]]]
+ [macro
+ ["[0]" template]]]]
+ [\\library
+ ["[0]" /]])
(documentation: (/.Refined it)
"A refined version of another type, using a predicate to select valid instances.")
@@ -45,8 +45,8 @@
Type
(type even))
- (: (Maybe Even)
- (even 123))])
+ (is (Maybe Even)
+ (even 123))])
(.def: .public documentation
(.List $.Module)