Extended the type signatures of bitwise operations to be closed on naturals.
original commit: 664ef2c0a3bb478634591b596f2473f249095e4f
This commit is contained in:
parent
312671d85d
commit
1bd4bf1e82
|
@ -422,13 +422,19 @@
|
|||
|
||||
[match:error ((list) Univ . ->* . (Un))]
|
||||
|
||||
[arithmetic-shift (-Integer -Integer . -> . -Integer)]
|
||||
[bitwise-and (null -Integer . ->* . -Integer)]
|
||||
[bitwise-ior (null -Integer . ->* . -Integer)]
|
||||
[bitwise-not (null -Integer . ->* . -Integer)]
|
||||
[bitwise-xor (null -Integer . ->* . -Integer)]
|
||||
[arithmetic-shift (cl->* (-Nat -Nat . -> . -Nat)
|
||||
(-Integer -Integer . -> . -Integer))]
|
||||
[bitwise-and (cl->* (null -Nat . ->* . -Nat)
|
||||
(null -Integer . ->* . -Integer))]
|
||||
[bitwise-ior (cl->* (null -Nat . ->* . -Nat)
|
||||
(null -Integer . ->* . -Integer))]
|
||||
[bitwise-not (cl->* (null -Nat . ->* . -Nat)
|
||||
(null -Integer . ->* . -Integer))]
|
||||
[bitwise-xor (cl->* (null -Nat . ->* . -Nat)
|
||||
(null -Integer . ->* . -Integer))]
|
||||
|
||||
[abs (-Real . -> . -Real)]
|
||||
[abs (cl->* (-Integer . -> . -Nat)
|
||||
(-Real . -> . -Real))]
|
||||
|
||||
[file-exists? (-Pathlike . -> . B)]
|
||||
[string->symbol (-String . -> . Sym)]
|
||||
|
|
Loading…
Reference in New Issue
Block a user