Re: Future of spec/explain-data, spec/and, etc.

2016-07-24 Thread Alex Miller
On Sunday, July 24, 2016 at 10:40:41 PM UTC-5, Mars0i wrote: > > spec/explain-data seems very important. It allows programmatic responses > to spec failures. Maybe explain-data's behavior hasn't yet stabilized, > though? The structure of the return value has changed between 1.9.0-alpha7 > t

Future of spec/explain-data, spec/and, etc.

2016-07-24 Thread Mars0i
spec/explain-data seems very important. It allows programmatic responses to spec failures. Maybe explain-data's behavior hasn't yet stabilized, though? The structure of the return value has changed between 1.9.0-alpha7 to the current 1.9.0-alpha10, the docstring is a bit vague, and the Spec

Re: Exception : cannot create ISeq from Long when empty list is present.. ?

2016-07-24 Thread James Reeves
"solve" is a recursive function that expects a collection of mazes to be returned. By adding "first" you change the return type, stripping off a layer each recursive call until you get integers instead of vectors. - James On 24 July 2016 at 08:32, Ashish Negi wrote: > the code throwing exceptio

Re: Exception : cannot create ISeq from Long when empty list is present.. ?

2016-07-24 Thread Ashish Negi
the code throwing exceptions is below it : https://github.com/ashishnegi/joy-of-clojure/blob/master/src/joy_of_clojure/chap16_thinking_programs.clj#L76 -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googl

Exception : cannot create ISeq from Long when empty list is present.. ?

2016-07-24 Thread Ashish Negi
I am writing a soduku solver.. Everything works but since i am interested in first solution.. when i write `first` after https://github.com/ashishnegi/joy-of-clojure/blob/master/src/joy_of_clojure/chap16_thinking_programs.clj#L58 I get {:type java.lang.IllegalArgumentException ;; :message "Do