first time without state - and I'm lost

2020-05-12 Thread Scaramaccai
Hi everyone, I wanted to give a try to Clojure and functional programming in general but I can't really stop thinking "object oriented" or "with state everywhere". After 20+ years with objects + state I guess I'm lost without them :) The first thing I want to try is to get some data from an

Re: “compiling” stacktrace error

2016-02-12 Thread Scaramaccai
On Friday, February 12, 2016 at 9:51:50 AM UTC+1, Scaramaccai wrote: > > > > On Thursday, February 11, 2016 at 9:54:19 PM UTC+1, Sean Corfield wrote: >> >> Scaramaccai wrote on Thursday, February 11, 2016 at 8:32 AM: >> >I'm learning Clojure, and I f

Re: “compiling” stacktrace error

2016-02-12 Thread Scaramaccai
On Thursday, February 11, 2016 at 9:54:19 PM UTC+1, Sean Corfield wrote: > > Scaramaccai wrote on Thursday, February 11, 2016 at 8:32 AM: > >I'm learning Clojure, and I find difficult to understand where a specific > compiler error happens: > > The stacktraces can be pre

“compiling” stacktrace error

2016-02-11 Thread Scaramaccai
I'm learning Clojure, and I find difficult to understand *where* a specific compiler error happens: java.lang.ClassCastException: java.lang.Long cannot be cast to clojure.lang.IPersistentCollection, compiling:(fwpd/core.clj:100:1) Line 100 is just: (fib-seq3 5) So it says nothing,