I thought to see if something was "true" in scheme I could do the following:
(lambda (x) (= x #t)))
However, that gives me some sort of error, and I fell back to use something like the following which works (for now):
(lambda (x) x)
What would be the closest to a isTrue function in scheme similar to the python:
>>> bool(1)
True
>>> bool(0)
False
Also, why doesn't doing something like (= 4 #t) work? Does = only work on numeric types in scheme?