db6c924e7738

Update docs
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Sat, 24 Feb 2018 19:12:00 -0500
parents 80f8e86b0e31
children 5e92a2e5cf49
branches/tags (none)
files DOCUMENTATION.markdown

Changes

--- a/DOCUMENTATION.markdown	Sat Feb 24 19:11:17 2018 -0500
+++ b/DOCUMENTATION.markdown	Sat Feb 24 19:12:00 2018 -0500
@@ -1350,7 +1350,7 @@
 
 ### `SOMELIST` (function)
 
-    (SOMELIST PREDICATE LIST)
+    (SOMELIST PREDICATE LIST &REST MORE-LISTS)
 
 Call `predicate` on successive sublists of `list`, returning the first true result.
 
@@ -1716,13 +1716,13 @@
 
 ### `RANDOM-AROUND` (function)
 
-    (RANDOM-AROUND VALUE SPREAD)
+    (RANDOM-AROUND VALUE SPREAD &OPTIONAL (GENERATOR #'RANDOM))
 
 Return a random number within `spread` of `value` (inclusive).
 
 ### `RANDOM-ELT` (function)
 
-    (RANDOM-ELT SEQ)
+    (RANDOM-ELT SEQ &OPTIONAL (GENERATOR #'RANDOM))
 
 Return a random element of `seq`, and whether one was available.
 
@@ -1742,37 +1742,38 @@
 
 ### `RANDOM-GAUSSIAN` (function)
 
-    (RANDOM-GAUSSIAN &OPTIONAL (MEAN 0.0) (STANDARD-DEVIATION 1.0))
+    (RANDOM-GAUSSIAN MEAN STANDARD-DEVIATION &OPTIONAL (GENERATOR #'RANDOM))
 
 Return a random float from a gaussian distribution.  NOT THREAD-SAFE (yet)!
 
 ### `RANDOM-GAUSSIAN-INTEGER` (function)
 
-    (RANDOM-GAUSSIAN-INTEGER &OPTIONAL (MEAN 0) (STANDARD-DEVIATION 1))
+    (RANDOM-GAUSSIAN-INTEGER MEAN STANDARD-DEVIATION &OPTIONAL
+                             (GENERATOR #'RANDOM))
 
 Return a random integer from a gaussian distribution.  NOT THREAD-SAFE (yet)!
 
 ### `RANDOM-RANGE` (function)
 
-    (RANDOM-RANGE MIN MAX)
+    (RANDOM-RANGE MIN MAX &OPTIONAL (GENERATOR #'RANDOM))
 
 Return a random number in [`min`, `max`).
 
 ### `RANDOM-RANGE-EXCLUSIVE` (function)
 
-    (RANDOM-RANGE-EXCLUSIVE MIN MAX)
+    (RANDOM-RANGE-EXCLUSIVE MIN MAX &OPTIONAL (GENERATOR #'RANDOM))
 
 Return a random number in (`min`, `max`).
 
 ### `RANDOM-RANGE-INCLUSIVE` (function)
 
-    (RANDOM-RANGE-INCLUSIVE MIN MAX)
+    (RANDOM-RANGE-INCLUSIVE MIN MAX &OPTIONAL (GENERATOR #'RANDOM))
 
 Return a random number in [`min`, `max`].
 
 ### `RANDOMP` (function)
 
-    (RANDOMP &OPTIONAL (CHANCE 0.5))
+    (RANDOMP &OPTIONAL (CHANCE 0.5) (GENERATOR #'RANDOM))
 
 Return a random boolean with `chance` probability of `t`.
 
@@ -1780,6 +1781,18 @@
 
 Utilities for operating on sequences.
 
+### `DOSEQ` (macro)
+
+    (DOSEQ (VAR SEQUENCE)
+      &BODY
+      BODY)
+
+Perform `body` with `var` bound to each element in `sequence` in turn.
+
+  It's like `cl:dolist`, but for all sequences.
+
+  
+
 ### `DROP` (function)
 
     (DROP N SEQ)