-
-
Save philip-doctor/5cbf329ae6f69bb33058 to your computer and use it in GitHub Desktop.
This file contains 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
=> (defrecord Foo [bar] | |
#_=> Object | |
#_=> (toString [this] "toString representation")) | |
Foo | |
=> (log/info (->Foo "t")) | |
INFO [nREPL-worker-2] 2015-10-14 09:54:25,539 #Foo{:bar t} | |
nil | |
=> (log/info (str (->Foo "t"))) | |
INFO [nREPL-worker-2] 2015-10-14 09:54:32,499 toString representation | |
nil |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment