Inline code in the docs - the correct way

Timon Gehr timon.gehr at gmx.ch
Mon Feb 5 23:11:17 UTC 2018


On 05.02.2018 16:27, H. S. Teoh wrote:
> 
> Apparently it's a prevailing style for Lisp and Lisp dialects like
> Scheme.  Random example (this is in Guile, a Scheme dialect, quoted from
> open source code):
> 
> 	(define (match-predicate obj alist)
> 	  (if (null? alist)
> 	      "Unknown type"
> 	      (if (apply (caar alist) obj)
> 		  (cdar alist)
> 		  (match-predicate obj (cdr alist)))))
> 
> The only way I can keep my sanity while editing this sort of code is
> vim's jump-to-match feature.

I additionally use: https://www.emacswiki.org/emacs/RainbowDelimiters


More information about the Digitalmars-d mailing list