I'm not really expert in Windows, but it looks like some output
problem, because REPL prints not the real result, but last element of
the previously entered form: map should return sequence (e. g., (1 2 3
4)) and not vector ([0 1 2 4]). Also, REPL stores result of the last
evaluated expression in *1, so you could check what is stored in it
right after evaluating (map ...).
Написано пн, січ 11, 2016 at 7:08 , Igwe Ogba
<daiba...@gmail.com>:
Hello. I'm still a Clojure newbie and had a bit of code return what
seems to be the wrong value.
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.