dimanche 14 juillet 2019

Why do most Scala libraries use mutable RNG

In the Cats documentation an appealing implementation of a pure functional PRNG is given when describing the use of the State monad. However, the libraries I have seen (Breeze, Spire) make use of mutable generators. Why? Also, are there any libraries that make use of the Cats approach?




Aucun commentaire:

Enregistrer un commentaire