aboutsummaryrefslogtreecommitdiff
path: root/tests/combinators.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-03-15 17:22:30 +0100
committerLudovic Courtès <ludo@gnu.org>2020-03-19 15:14:08 +0100
commit2b0a370d00e72aba7385eba0fa5db2e3ca7085fb (patch)
treef331fa9246b6c2dba55e16fd6fc421cbb2d3952b /tests/combinators.scm
parentec0a8661728f915c21058076327b398ac5c38bbe (diff)
downloadguix-2b0a370d00e72aba7385eba0fa5db2e3ca7085fb.tar
guix-2b0a370d00e72aba7385eba0fa5db2e3ca7085fb.tar.gz
repl: Return stack traces along with exceptions.
* guix/repl.scm (repl-prompt): New variable. (stack->frames): New procedure. (send-repl-response)[frame->sexp, handle-exception]: New procedure. Pass HANDLE-EXCEPTION as a pre-unwind handler. (machine-repl): Define 'tag'. Bump protocol version to (0 1 1). Wrap 'loop' call in 'call-with-prompt'.
Diffstat (limited to 'tests/combinators.scm')
0 files changed, 0 insertions, 0 deletions