changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > core / lisp/lib/doc/reprex.lisp

changeset 698: 96958d3eb5b0
parent: 6432d0ee2750
author: Richard Westhaver <ellis@rwest.io>
date: Fri, 04 Oct 2024 22:04:59 -0400
permissions: -rw-r--r--
description: fixes
1 ;;; reprex.lisp --- Reproducible Examples
2 
3 ;; Reproducible Examples API
4 
5 ;;; Commentary:
6 
7 ;; ref: https://reprex.tidyverse.org/
8 
9 ;;; Code:
10 (in-package :doc)
11 (defvar *reprex-format*)
12 
13 (defgeneric print-reprex (forms &optional stream))
14 
15 (defgeneric format-reprex (formatter forms &optional stream))
16 
17 (defmacro reprex (&body body)
18  "Produce a 'reproducible example' from the forms in BODY."
19  `(progn ,@body))