Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

6
New Release of play-cljs: 1.0.0 (better errors with clojure.spec)
Post Body

This release dramatically improves error messages using clojure.spec. You don't need to do anything to enable it -- debug mode is automatically enabled if :optimizations are set to :none. In particular, the attributes map for each entity now have specs, so if you try setting an attribute to the wrong type, or neglect to provide a required attribute, you'll see a nice error message now. Try it out in the interactive docs.

For example, try changing the :animation entity to no longer provide a :duration attribute. Or try changing the :shape entity to provide an odd number of :points. You now get spec errors, instead of silent failures. If you want to disable debugging even during development, just pass {:debug? false} to the last argument of create-game.

Author
Account Strength
100%
Account Age
17 years
Verified Email
Yes
Verified Flair
No
Total Karma
7,516
Link Karma
3,814
Comment Karma
3,692
Profile updated: 3 days ago
Posts updated: 7 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
6 years ago