Fork me on GitHub
#cljs-dev
<
2020-05-09
>
frozar12:05:23

Hi guys, I had to create/use a non standard range function like this:

(range-math 0 1 5)
;; => (0 0.25 0.5 0.75 1)

(range-math 0 1 5 :log)
;; => (0 0.5118833609788743 0.7403626894942438 0.8893017025063101 1)
And I was wondering, do you know a clojurescript lib that gives this functionality?

frozar12:05:09

If it's not the right place to ask this question, please just tell me 🙂

favila13:05:15

#clojurescript is a better place. This channel is for working on cljs not in it—ie changes to the language implementation itself

frozar13:05:29

Ok, I'll try there, thank you 🙂