From: Rich Morin <rdm@cfcl.com>
To: TUHS main list <tuhs@minnie.tuhs.org>
Subject: Re: [TUHS] Proliferation of options is great simplification of pipes, really?
Date: Sun, 21 Feb 2021 23:20:26 -0800 [thread overview]
Message-ID: <501CBA6E-B242-4B46-8779-DAE4AB0A9EB5@cfcl.com> (raw)
In-Reply-To: <f039c049-add5-ee79-eb5a-84c56a6fc2d2@gmail.com>
I've been happily using pipes since I found out about pipes, back in the early 80's (Thanks, Doug!). However, until recently I didn't write applications in a programming language which supported them "internally". Recently, however, I've been using Elixir, which does:
Pipe Operator
https://elixirschool.com/en/lessons/basics/pipe-operator/
Note that, although the basic pipe implementation simply does composition of functions with error handling, the Stream variant offers lazy evaluation:
Enumerables and Streams
https://elixir-lang.org/getting-started/enumerables-and-streams.html
Yes, I know that F# (and probably other languages) had pipes first, but I still give points to José Valim for stealing wisely and well. Various folks then built onto the basic pipe mechanism, e.g.:
- https://github.com/batate/elixir-pipes - extension library for using pattern matching with pipes, etc.
- https://hexdocs.pm/broadway/Broadway.html - concurrent, multi-stage tool for building data ingestion and data processing pipelines with back pressure, etc.
fun stuff...
-r
next prev parent reply other threads:[~2021-02-22 7:21 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-22 2:34 Will Senn
2021-02-22 3:32 ` G. Branden Robinson
2021-02-22 4:32 ` Dan Stromberg
2021-02-22 4:34 ` Will Senn
2021-02-22 5:45 ` G. Branden Robinson
2021-02-22 15:49 ` John P. Linderman
2021-02-22 15:57 ` William Cheswick
2021-02-22 16:03 ` John P. Linderman
2021-02-22 21:16 ` G. Branden Robinson
2021-02-22 16:02 ` Warner Losh
2021-02-22 16:12 ` Robert Clausecker
2021-02-22 17:15 ` John Cowan
2021-02-23 0:24 ` Steffen Nurpmeso
2021-02-22 21:14 ` G. Branden Robinson
2021-02-22 7:20 ` Rich Morin [this message]
2021-02-22 18:27 ` Jon Steinhart
2021-02-22 19:30 ` Richard Salz
2021-02-23 2:47 M Douglas McIlroy
2021-02-23 10:42 ` Jaap Akkerhuis
2021-02-23 13:23 ` Brantley Coile
2021-02-23 13:49 ` Ralph Corderoy
2021-02-23 15:04 Steve Simon
2021-02-24 2:42 ` M Douglas McIlroy
2021-02-24 19:38 Norman Wilson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=501CBA6E-B242-4B46-8779-DAE4AB0A9EB5@cfcl.com \
--to=rdm@cfcl.com \
--cc=tuhs@minnie.tuhs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).