... This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
... If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.

(.require
 [library
  [lux (.except)
   ["$" documentation]]]
 [\\library
  ["[0]" /]])

(the .public documentation
  (List $.Documentation)
  (list ($.module /._
                  "")

        ($.definition (/.Object brand))
        ($.definition /.Nil)
        ($.definition /.Function)
        ($.definition /.Integer)
        ($.definition /.Float)
        ($.definition /.String)

        ($.definition /.import
          "Easily import types, methods, functions and constants."
          ($.example (' (import Stat
                          "[1]::[0]"
                          (executable? [] Bit)
                          (size Integer))))
          ($.example (' (import File "as" RubyFile
                          "[1]::[0]"
                          ("static" SEPARATOR ..String)
                          ("static" open [Path ..String] "io" "try" RubyFile)
                          ("static" stat [Path] "io" "try" Stat)
                          ("static" delete [Path] "io" "try" Integer)
                          ("static" file? [Path] "io" "try" Bit)
                          ("static" directory? [Path] "io" "try" Bit)

                          (read [] "io" "try" Binary)
                          (write [Binary] "io" "try" Integer)
                          (flush [] "io" "try" "?" Any)
                          (close [] "io" "try" "?" Any)))))
        ))
