this article may be helpful:
http://insideclojure.org/2014/12/15/warn-on-boxed/
On 3 July 2017 at 13:36, Tomasz Sulej wrote:
> When you decide to work with longs and doubles you can achieve the same in
> pure clojure
> Just add primitive type hints and (set! *unchecked-math* true).
>
(map #(v %) idx)
or
(map (partial get v) idx))
On 13 February 2018 at 20:10, Andre Bieler wrote:
> Just started with clojure.
> Lets say I have two vectors, v containing values and another vector idx
> that contains the indices by which vector v should be ordered (rather a new
> vector be crea
Or even simpler: (map v idx)
On 13 February 2018 at 20:48, Tomasz Sulej wrote:
> (map #(v %) idx)
>
> or
>
> (map (partial get v) idx))
>
> On 13 February 2018 at 20:10, Andre Bieler
> wrote:
>
>> Just started with clojure.
>> Lets say I have two vectors,
user> ([1 2 3] 0)
1
user> ([1 2 3] 2)
3
user> ({:a 1 :b 2} 0)
nil
user> ({:a 1 :b 2} :a)
1
On Tue, 17 Jul 2018 at 22:44, Christian Seberino
wrote:
>
> data are functions and vice-versa
>>
>
> What do you mean? e.g. How is the [1 2 3] a "function"?
>
> cs
>
> --
> You received this message becaus
W dniu wtorek, 17 lipca 2018 22:44:27 UTC+2 użytkownik Christian Seberino
napisał:
>
>
> data are functions and vice-versa
>>
>
> What do you mean? e.g. How is the [1 2 3] a "function"?
>
>
user> ([1 2 3] 0)
1
user> ([1 2 3] 2)
3
user> ({:a 1 :b 2} 0)
nil
user> ({:a 1 :b 2} :a)
1
> cs
>
--
Hi all,
If you want to install and run Clojure CLI tools, i.e. clojure and clj
under Cygwin. You just install Linux version and change line 173 where
install_dir is set to the following:
install_dir=`realpath.exe --relative-to=. /usr/local/lib/clojure`
Reason for change is that java expects Wi
Check out my fastmath library:
https://generateme.github.io/fastmath/fastmath.interpolation.html
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are modera