JanetDocs
Playground
I'm feeling lucky
GitHub sign in
Run
Format
# build own map-indexed with map (defn map-indexed [f ds] (map f (range 0 (length ds)) ds)) (map-indexed (fn [i v] [i v] ) ["a" "b" "c" "d"]) # => @[(0 "a") (1 "b") (2 "c") (3 "d")]