Zetawar / zetawar

Zetawar is a turn based tactical strategy game implemented in 100% ClojureScript.
MIT License
169 stars 14 forks source link

Replace 'spy' with 'inspect' #12

Closed djwhitt closed 7 years ago

djwhitt commented 8 years ago

Inspect should function like spy, but should take any number of arguments and inspect them all.

See: https://github.com/shaunlebron/How-To-Debug-CLJS/blob/master/src/example/macros.clj

It probably should not pretty print by default. Consider 'inspect-pprint' or 'inspect-pp' for a version that pretty prints expressions and output.

Also consider a shorter name for convenience. Maybe just 'i'???