Why is there no ARM in Scala stdlib?

Why is there no ARM in the Scala standard library (e.g. Clojure with-open )?

+7
scala resource management
source share
1 answer

Short answer

Because no one has added!

Longer answer

Many suggestions were made for a larger I / O library, but the best API to use turned out to be controversial. In particular, the exact way to handle newline when reading a file line by line is a sensitive subject. (for example, should they be deleted or transmitted via as-is? If not, should skipped lines be skipped?)

This usually encourages third-party libraries that address different needs.

Having said all this ... you can check the jsuereth suggestion on github: https://github.com/jsuereth/scala-arm/wiki

+10
source share

All Articles