Commits

Meikel Brandmeyer  committed 6061733

Switch from NaturalDocs to "normal" docstrings

  • Participants
  • Parent commits ec11767

Comments (0)

Files changed (1)

File src/de/kotka/lazymap/lazymap.clj

        (partition 2 kvs)))
 
 (defmacro lazy-assoc
-  "
-  | Function: lazy-assoc
-  |
-  | <lazy-assoc> associates new values to the given keys in the given lazy map.
-  | The values are not evaluated, before their first retrieval. They are
-  | evaluated at most once.
-  "
+  "<lazy-assoc> associates new values to the given keys in the given lazy map.
+  The values are not evaluated, before their first retrieval. They are
+  evaluated at most once."
   [m & kvs]
   `(reduce (fn [m# [k# v#]]
              (. m# ~'lazyAssoc k# v#))
            ~m (list ~@(quote-values kvs))))
 
 (defmacro lazy-hash-map
-  "
-  | Function: lazy-hash-map
-  |
-  | <lazy-hash-map> creates a map. The values are not evaluated before their
-  | first retrieval. Each value is evaluated at most once. The underlying map
-  | is a hash map.
-  "
+  "<lazy-hash-map> creates a map. The values are not evaluated before their
+  first retrieval. Each value is evaluated at most once. The underlying map
+  is a hash map."
   [& kvs]
   `(lazy-assoc (new LazyMapClass (hash-map)) ~@kvs))
 
 (defmacro lazy-sorted-map
-  "
-  | Function: lazy-sorted-map
-  |
-  | <lazy-sorted-map> creates a map. The values are not evaluated before their
-  | first retrieval. Each value is evaluated at most once. The underlying map
-  | is a sorted map.
-  "
+  "<lazy-sorted-map> creates a map. The values are not evaluated before their
+  first retrieval. Each value is evaluated at most once. The underlying map
+  is a sorted map."
   [& kvs]
   `(lazy-assoc (new LazyMapClass (sorted-map)) ~@kvs))