Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Elixir-style pipelines in Ruby.
https://github.com/lendinghome/pipe_operator#-pipe_operator
"https://api.github.com/repos/ruby/ruby".pipe do URI.parse Net::HTTP.get JSON.parse.fetch("stargazers_count") yield_self { |n| "Ruby has #{n} stars" } Kernel.puts end #=> Ruby has 15120 stars
There are no comments on this comment yet.
https://github.com/lendinghome/pipe_operator#-pipe_operator