Skip to content

Latest commit

 

History

History
81 lines (42 loc) · 1.96 KB

scml_base_boolean.md

File metadata and controls

81 lines (42 loc) · 1.96 KB

Module scml_base_boolean

Scheme base library for booleans

. __Authors:__ Joseph Wayne Norton ([`norton@alum.mit.edu`](mailto:norton@alum.mit.edu)).

Function Index

'$scml_exports'/0
'boolean=?'/1

Returns #t if all the arguments are booleans and all are #t or all are #f.

.
'boolean?'/1

Returns #t if obj is either #t or #f, and returns #f otherwise.

.
'not'/1

Returns #t if obj is false, and returns #f otherwise.

.

Function Details

'$scml_exports'/0


'$scml_exports'() -> [{scm_symbol(), scmi_nip()}]



'boolean=?'/1


'boolean=?'(Bs::[scm_boolean(), ...]) -> scm_boolean()



Returns #t if all the arguments are booleans and all are #t or all are #f.

'boolean?'/1


'boolean?'(X1::scm_obj()) -> scm_boolean()



Returns #t if obj is either #t or #f, and returns #f otherwise.

'not'/1


'not'(X1::scm_obj()) -> scm_boolean()



Returns #t if obj is false, and returns #f otherwise.