Skip to content

Commit

Permalink
Improved the copy-def utility.
Browse files Browse the repository at this point in the history
Quoting :doc note-8-1-books:

  Improved the copy-def utility (community book
  kestrel/utilities/copy-def.lisp) by adding an :expand hint in the
  recursive case, as is sometimes necessary.
  • Loading branch information
MattKaufmann committed Jan 11, 2018
1 parent 4ae5f6b commit 5366414
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions books/doc/relnotes.lisp
Expand Up @@ -117,6 +117,10 @@
<p>Added a <see topic='@(url fty)'>fixtype</see>
for <see topic='@(url set::std/osets)'>finite sets</see>.</p>
<p>Improved the @('copy-def') utility (community book
@('kestrel/utilities/copy-def.lisp')) by adding an @(':expand') hint in the
recursive case, as is sometimes necessary.</p>
<h4><see topic='@(url soft::soft)'>SOFT</see></h4>
<p>Added a @(':print') option to control screen output.</p>
Expand Down
3 changes: 2 additions & 1 deletion books/kestrel/utilities/copy-def.lisp
Expand Up @@ -175,7 +175,8 @@
,@(and (eq flagp nil)
`(:hints
(("Goal"
,@(and singly-recursivep `(:induct ,fn-call)))
,@(and singly-recursivep `(:induct ,fn-call))
:expand (,fn-call ,fn-copy-call))
,@(and hyps-preserved-thm-names
`('(:use (,@hyps-preserved-thm-names)))))))
,@(and (eq flagp t)
Expand Down

0 comments on commit 5366414

Please sign in to comment.