Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

-> in clojure or hy deals with that nicely:

(-> (read) (eval) (print) (loop))

using python-sh in hy this is possible:

(-> (cat "/usr/share/dict/words") (grep "-E" "^hy") (wc "-l"))



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: