Created
October 22, 2014 09:17
-
-
Save cmonkey/5510f6182762b69d8b79 to your computer and use it in GitHub Desktop.
eq string
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
racket@> (= "str" "str") | |
2|=: contract violation | |
3| expected: number? | |
4| given: "str" | |
5| argument position: 1st | |
6| other arguments...: | |
7| "str" | |
8| context...: | |
9| /usr/share/racket/collects/racket/private/misc.rkt:87:7 | |
(define (= s1 s2) | |
(if (eq? s1 s2) | |
#t | |
#f)) | |
27|racket@> (= "str" "str") | |
28|#t |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hello