Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (defrecord Record [^bytes field])
- (def rec1 (->Record (byte-array (map byte "abc"))))
- (def rec2 (->Record (byte-array (map byte "abc"))))
- (= rec1 rec2)
- ; => false
- (defrecord Record [^bytes field])
- Object
- (equals [this other] (Arrays/equals this other)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement