diff options
author | Andy Wingo <wingo@pobox.com> | 2010-09-24 18:24:41 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2010-09-24 18:24:41 +0200 |
commit | d2c7e7de405682c043c8e4f2d7285824aafca71f (patch) | |
tree | 2c6bc22745508ac218aca29b6abcb6c60da40fb8 /module/ice-9/debugging/example-fns.scm | |
parent | 3b494f511ad6966acfa5bad751e27b152254fad5 (diff) | |
download | guile-d2c7e7de405682c043c8e4f2d7285824aafca71f.tar.gz |
remove (ice-9 debugger) and (ice-9 debugging)
* module/ice-9/debugger.scm:
* module/ice-9/debugger/command-loop.scm:
* module/ice-9/debugger/commands.scm:
* module/ice-9/debugger/state.scm:
* module/ice-9/debugger/trc.scm:
* module/ice-9/debugger/utils.scm:
* module/ice-9/debugging/breakpoints.scm:
* module/ice-9/debugging/example-fns.scm:
* module/ice-9/debugging/ice-9-debugger-extensions.scm:
* module/ice-9/debugging/load-hooks.scm:
* module/ice-9/debugging/steps.scm:
* module/ice-9/debugging/trace.scm:
* module/ice-9/debugging/traps.scm:
* module/ice-9/debugging/trc.scm: Remove these files, as we will favor
the REPL's implementation of a debugger, and (system vm traps) and
(system vm trap-state). But these old files will continue to inspire
the rest of the new debugger interface.
Diffstat (limited to 'module/ice-9/debugging/example-fns.scm')
-rw-r--r-- | module/ice-9/debugging/example-fns.scm | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/module/ice-9/debugging/example-fns.scm b/module/ice-9/debugging/example-fns.scm deleted file mode 100644 index 30d412f00..000000000 --- a/module/ice-9/debugging/example-fns.scm +++ /dev/null @@ -1,17 +0,0 @@ -(define-module (ice-9 debugging example-fns) - #:export (fact1 fact2 facti)) - -(define (fact1 n) - (if (= n 0) - 1 - (* n (fact1 (- n 1))))) - -(define (facti n a) - (if (= n 0) - a - (facti (- n 1) (* a n)))) - -(define (fact2 n) - (facti n 1)) - -; Test: (fact2 3) |