;; when used with a list, note the reversed order of the output:
user=> (fmap inc '(1 2 3))
(4 3 2)
user=> (fmap inc [1 2 3])
[2 3 4]
user=> (fmap inc #{1 2 3})
#{2 3 4}
;; when used with a map, returns a map where the values have been transformed by f:
user=> (fmap inc {:a 1, :b 2, :c 3})
{:a 2, :b 3, :c 4}
;; when used with a list, note the reversed order of the output:
user=> (fmap inc '(1 2 3))
(4 3 2)
user=> (fmap inc [1 2 3])
[2 3 4]
user=> (fmap inc #{1 2 3})
#{2 3 4}
;; when used with a map, returns a map where the values have been transformed by f:
user=> (fmap inc {:a 1, :b 2, :c 3})
{:a 2, :b 3, :c 4}