From 4934489d06e647e612becfe96e1fb5ac70ab9003 Mon Sep 17 00:00:00 2001 From: vindarel Date: Wed, 7 Aug 2019 18:56:03 +0200 Subject: [PATCH] doc quotes --- README.org | 33 +++++++++++++++++++++++---------- 1 file changed, 23 insertions(+), 10 deletions(-) diff --git a/README.org b/README.org index 4de3ddb..59ca3e3 100644 --- a/README.org +++ b/README.org @@ -18,20 +18,33 @@ TODO: contribute a defmethod example. #+END_SRC * Libraries -** cl-annot: Python-like annotations +** Syntax extensions +*** Pythonic triple quotes docstring - https://github.com/m2ym/cl-annot +https://github.com/smithzvk/pythonic-string-reader - Without the slime helper, can't use it in the REPL ?? +We can use triple quotes for docstrings, and single quotes within it. - #+BEGIN_QUOTE - If you use Emacs, it is recommended to install misc/slime-annot.el - which contains some features of annotations. After locating - misc/slime-annot.el into your loadpath, write the following code into - your .emacs. - #+END_QUOTE +#+BEGIN_SRC lisp +(defun foo () + """foo "bar".""" + t) +#+end_src - : (require 'slime-annot) +*** cl-annot: Python-like annotations + + https://github.com/m2ym/cl-annot + + Without the slime helper, can't use it in the REPL ?? + + #+BEGIN_QUOTE + If you use Emacs, it is recommended to install misc/slime-annot.el + which contains some features of annotations. After locating + misc/slime-annot.el into your loadpath, write the following code into + your .emacs. + #+END_QUOTE + + : (require 'slime-annot) ** Parsing numbers, floats, decimals *** cl-decimals: parse and format decimal numbers