this doesn't happen for me, it looks like you have something weird going on with your environment.
how are you starting your repl? what does (clojure-version) return? has map somehow been redefined? is your namespace importing something that clobbers map? does (doc map) print the standard docs for that function? On Mon, Jan 11, 2016 at 5:08 PM, Igwe Ogba <daiba...@gmail.com> wrote: > > > <https://lh3.googleusercontent.com/-Vuz2LtQhRdk/VpPhWsVjObI/AAAAAAAAAUc/zNzJ-PEnPrc/s1600/clojure_map_error.PNG> > Hello. I'm still a Clojure newbie and had a bit of code return what seems > to be the wrong value. > > > > <https://lh3.googleusercontent.com/-Vuz2LtQhRdk/VpPhWsVjObI/AAAAAAAAAUc/zNzJ-PEnPrc/s1600/clojure_map_error.PNG> > After typing in (map inc [1 2 3 4]) I would expect to get [2 3 4 5]. > However my Clojure repl returns [1 2 3 4]. This is happening on windows. > I've included a screenshot as well. Is this sort of behaviour (where the > wrong answer appears) normal in Clojure and are there any implications for > real time code? > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.