Skip to content

Instantly share code, notes, and snippets.

@cmonkey
Created October 22, 2014 09:17
Show Gist options
  • Save cmonkey/5510f6182762b69d8b79 to your computer and use it in GitHub Desktop.
Save cmonkey/5510f6182762b69d8b79 to your computer and use it in GitHub Desktop.
eq string
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
@favourkamala
Copy link

hello

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment