Object-oriented primitives for EOLANG.
This is how you list all text files in a directory recursively:
+alias org.eolang.io.stdout
+alias org.eolang.txt.sprintf
+alias org.cactoos.io.files
each. > @
files
"/tmp"
*
[f] (f.isDir.not > @)
[f] (/\.txt$/.matches f > @)
[f]
stdout > @
sprintf "file: %s" f
You are welcome to add more primitives to this lib.
How to Contribute
Fork repository, make changes, send us a pull request. We will review your changes and apply them to the master
branch shortly, provided they don't violate our quality standards. To avoid frustration, before sending us your pull request please run full Maven build:
$ mvn clean install -Pqulice
You will need Maven 3.3+ and Java 8+.