Generate character sequence from 'a' to 'z' in clojure

后端 未结 4 1426
夕颜
夕颜 2021-01-01 20:28

I want to generate character sequence from \'a\' to \'z\'. In scala, I can generate character sequence very simply:

(\'a\' to \'z\')

But in

4条回答
  •  时光说笑
    2021-01-01 21:05

    According to this StackOverflow Answer a simple solution would be:

    (map char (range 97 123))

提交回复
热议问题