The Artima Developer Community
Sponsored Link

Java Buzz Forum
In Clojure, Those Parenthesis Really Matter

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Sam Newman

Posts: 800
Nickname: padark
Registered: Feb, 2004

Sam Newman is quite lazy
In Clojure, Those Parenthesis Really Matter Posted: Jun 13, 2010 12:52 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Sam Newman.
Original Post: In Clojure, Those Parenthesis Really Matter
Feed Title: magpiebrain
Feed URL: http://feeds.feedburner.com/Magpiebrain
Feed Description: A Java Blog
Latest Java Buzz Posts
Latest Java Buzz Posts by Sam Newman
Latest Posts From magpiebrain

Advertisement
Posted in the “I hope no-one else has to go through this” category in the hope that Google surfaces this for some other poor soul. Picture a rather trivial split function: (defn split [str delimiter] ((seq (.split str delimiter)))) Which helpfully spits out: java.lang.ClassCastException: clojure.lang.ArraySeq cannot be cast to clojure.lang.IFn The issue here is the additional set of parentheses [...]

Read: In Clojure, Those Parenthesis Really Matter

Topic: US says nuclear sanctions are toughest ever; Iran's leader dismisses them as `annoying flies' Previous Topic   Next Topic Topic: Great Scott! `Back to the Future,' `Jurassic Park' to become episodic video games

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use