Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (let (binop? (lambda (expr) (if (pair? expr) ;; z racji chwilowego braku 'and' / 'andmap' uzywam condow
- (cond
- [(eq? '+ (car expr)) true]
- [(eq? '- (car expr)) true]
- [(eq? '* (car expr)) true]
- [(eq? '/ (car expr)) true]
- [true false])
- false)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement