Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
inferior-shell
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
qitab
inferior-shell
Commits
89bed1d5
Commit
89bed1d5
authored
12 years ago
by
Francois-Rene Rideau
Browse files
Options
Downloads
Patches
Plain Diff
Remove redundant functions.
parent
f35dcfa0
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
run-generic.lisp
+4
-4
4 additions, 4 deletions
run-generic.lisp
run-sbcl.lisp
+0
-30
0 additions, 30 deletions
run-sbcl.lisp
with
4 additions
and
34 deletions
run-generic.lisp
+
4
−
4
View file @
89bed1d5
...
...
@@ -138,16 +138,16 @@
(
eval-pred
predicate
rest
))
(
let
((
next
(
car
rest
)))
(
generic-run-spec
next
input
output
error
predicate
(
cdr
rest
)
(
if
(
typep
next
'sequence-spec
)
r
resume
)))
(
if
(
typep
next
'sequence-spec
)
r
resume
)))
(
when
resume
(
with-slots
(
predicate
rest
resume
input
output
error
)
resume
(
when
(
and
(
consp
rest
)
(
consp
(
cdr
rest
)))
(
let
((
remainder
(
cdr
rest
)))
(
when
(
eval-pred
predicate
remainder
)
(
generic-run-spec
(
second
rest
)
input
output
error
predicate
(
cddr
rest
)
resume
))))))))))
predicate
(
cddr
rest
)
resume
))))))))))
(
defun
process-result-list
(
rl
)
(
if
(
listp
rl
)
...
...
This diff is collapsed.
Click to expand it.
run-sbcl.lisp
+
0
−
30
View file @
89bed1d5
...
...
@@ -40,36 +40,6 @@
(
defun
process-wait
(
p
)
(
sb-ext:process-wait
p
))
(
defmethod
process-result
((
r
result
))
(
labels
((
eval-pred
(
pred
rest
)
(
and
(
consp
rest
)
(
or
(
null
pred
)
(
and
(
functionp
pred
)
(
funcall
pred
(
result-process
r
)))))))
(
with-slots
(
process
predicate
rest
input
output
error
resume
)
r
(
when
process
(
sb-ext:process-wait
process
))
(
if
(
or
(
not
process
)
(
eval-pred
predicate
rest
))
(
let
((
next
(
car
rest
)))
(
generic-run-spec
next
input
output
error
predicate
(
cdr
rest
)
(
if
(
typep
next
'sequence-spec
)
r
resume
)))
(
when
resume
(
with-slots
(
predicate
rest
resume
input
output
error
)
resume
(
when
(
and
(
consp
rest
)
(
consp
(
cdr
rest
)))
(
let
((
remainder
(
cdr
rest
)))
(
when
(
eval-pred
predicate
remainder
)
(
generic-run-spec
(
second
rest
)
input
output
error
predicate
(
cddr
rest
)
resume
))))))))))
(
defun
process-result-list
(
rl
)
(
if
(
listp
rl
)
(
mapcar
#'
process-result-list
rl
)
(
let
((
next
(
process-result
rl
)))
(
when
next
(
alexandria:flatten
(
list
next
(
process-result-list
next
)))))))
(
defun
sbcl-run
(
spec
&key
input
output
error
ignore-error-status
)
(
declare
(
ignore
ignore-error-status
))
;; THIS IS A BUG!
(
labels
((
collect-threads
(
r
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment