summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcbaggers <chris.bagley@gmail.com>2017-09-12 20:38:07 +0200
committercbaggers <chris.bagley@gmail.com>2017-09-12 20:38:07 +0200
commit944a2aa11b73092626878fa862ada10349c473d3 (patch)
tree079d6a03d30bb820ee4959f24862bd58078d6b53
parent48280afa3a3195f7107090237f806a7b4068d2d1 (diff)
add example to readme
-rw-r--r--README.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/README.md b/README.md
index 187c867..94359ce 100644
--- a/README.md
+++ b/README.md
@@ -12,6 +12,23 @@ If you the function from an usupported implementation then the two return values
- the original form
- nil
+## Example
+
+```
+CL-USER> (trivial-macroexpand-all:macroexpand-all '(or 1 2 3 4))
+
+(LET ((#:G622 1))
+ (IF #:G622
+ #:G622
+ (LET ((#:G623 2))
+ (IF #:G623
+ #:G623
+ (LET ((#:G624 3))
+ (IF #:G624
+ #:G624
+ 4)))))
+```
+
## Trivial..again?
Yup another library using the `trivial-*` naming convention`, `but look at the source.. it's pretty damn trivial