The Crystal programming language | http://crystal-lang.org | Fund Crystal's development: http://is.gd/X7PRtI | Docs: http://crystal-lang.org/docs/ | API: http://crystal-lang.org/api/
io = IO::Memory.new io.gets_to_end
.to_set
on it
https://crystal-lang.org/api/1.4.1/Enumerable.html
Note that most search and filter methods traverse an Enumerable eagerly, producing an Array as the result. For a lazy alternative refer to the Iterator and Iterable modules.
% docker run --rm -it debian bash
apt update
&& apt install curl
curl -fsSL https://crystal-lang.org/install.sh | bash
crystal
-> bash: crystal: command not found
curl -fsSL https://crystal-lang.org/install.sh | bash