store/[org.clojure/clojure "1.8.0"] clj::clojure.core/aset-char

Official Documentation

Add notes
Arities
==================================================
   [array idx val]
   [array idx idx2 & idxv]

Docstring
==================================================
  Sets the value at the index/indices. Works on arrays of char. Returns val.

Source

(def-aset
  ^{:doc "Sets the value at the index/indices. Works on arrays of char. Returns val."
    :added "1.0"}
  aset-char setChar char)

Example 1

Edit
;; create an array of 10 characters (initially set to blank by default)
;; and set one of the elements to the character "a"

(def cs (char-array 10))
;; => #'user/cs

(vec cs)
;; => [\  \  \  \  \  \  \  \  \  \ ]

(aset-char cs 3 \a)
;; => \a

(vec cs)
;; => [\  \  \  \a \  \  \  \  \  \ ]

Uses on crossclj