Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
raviqqe committed Dec 29, 2024
1 parent da7c52a commit 95e0482
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 16 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ GEM
cucumber-messages (22.0.0)
cucumber-tag-expressions (6.1.1)
diff-lcs (1.5.1)
ffi (1.17.0-arm64-darwin)
ffi (1.17.0)
mini_mime (1.1.5)
multi_test (1.1.0)
rspec-expectations (3.13.3)
Expand Down
4 changes: 2 additions & 2 deletions prelude.scm
Original file line number Diff line number Diff line change
Expand Up @@ -1576,7 +1576,7 @@
(import (stak base))

(begin
(define $halt (primitive 19))
(define $halt (primitive 18))
(define $read-input (primitive 100))
(define $write-output (primitive 101))
(define $write-error (primitive 102))
Expand Down Expand Up @@ -2377,7 +2377,7 @@
(only (stak base) data-rib code-points->string primitive procedure-type))

(begin
(define $halt (primitive 19))
(define $halt (primitive 18))
(define $command-line (primitive 300))
(define $get-environment-variables (primitive 301))

Expand Down
13 changes: 0 additions & 13 deletions r7rs/src/small.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,19 +115,6 @@ impl<D: Device, F: FileSystem, P: ProcessContext, C: Clock> SmallPrimitiveSet<D,
.into()
})
}

fn check_type(memory: &mut Memory, r#type: Type) -> Result<(), Error> {
Self::operate_top(memory, |memory, value| {
memory
.boolean(
value
.to_cons()
.map(|cons| memory.cdr(cons).tag() == r#type as _)
.unwrap_or_default(),
)
.into()
})
}
}

impl<D: Device, F: FileSystem, P: ProcessContext, C: Clock> PrimitiveSet
Expand Down

0 comments on commit 95e0482

Please sign in to comment.