diff options
Diffstat (limited to 'stdlib/source/documentation/lux.lux')
-rw-r--r-- | stdlib/source/documentation/lux.lux | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/stdlib/source/documentation/lux.lux b/stdlib/source/documentation/lux.lux index 184049d89..94ccb3b38 100644 --- a/stdlib/source/documentation/lux.lux +++ b/stdlib/source/documentation/lux.lux @@ -290,8 +290,10 @@ [(def: .public <name> (-> Int Int) (+ <diff>))] + [++ +1] - [-- -1])]) + [-- -1] + )]) (documentation: /.not "Bit negation." @@ -599,7 +601,7 @@ ["M" monad "*"]] [data maybe - ["." name ("#/." codec)]] + ["." name ("#\." codec)]] [macro code]] [// @@ -767,9 +769,9 @@ (documentation: /.name_of "Given an identifier or a tag, gives back a 2 tuple with the module and name parts, both as Text." - [(name_of #.doc) + [(name_of #..doc) "=>" - ["library/lux" "doc"]]) + ["documentation/lux" "doc"]]) (documentation: /.:parameter (format "WARNING: Please stay away from this macro; it's very likely to be removed in a future version of Lux." @@ -856,9 +858,11 @@ (documentation: /.for (format "Selects the appropriate code for a given target-platform when compiling Lux to it." \n "Look-up the available targets in library/lux/target.") - [(def: js "JavaScript") + [(def: js + "JavaScript") + (for {"JVM" (do jvm stuff) - ..js (do js stuff)} + js (do js stuff)} (do default stuff))]) (documentation: /.`` |