http://www.jpaulmorrison.com/fbp/


--------------------------------------------------------------------------------
Clojure
--------------------------------------------------------------------------------

My mental model of transducers
https://blog.danieljanus.pl/2023/09/09/transducers/


Grokking Clojure transducers
https://dev.solita.fi/2021/10/14/grokking-clojure-transducers.html

Kalai: Write once compile everywhere, Cross language libraries
https://github.com/kalai-transpiler/kalai/blob/main/docs/Design.md#using-transducers


--------------------------------------------------------------------------------
Javascript
--------------------------------------------------------------------------------

Introduction into Channels and Transducers in JavaScript
https://medium.com/javascript-inside/introduction-into-channels-and-transducers-in-javascript-a1dfd0a09268#.hp9ijj3ta

http://phuu.net/2014/08/31/csp-and-transducers.html
Not bad to understand transducers.
Application to functional.cls :
~map and ~each differ only by the way to combine values.
This hardcoded logic could be moved outside these 2 methods.
And these 2 methods could be replaced by a new method ~transduce.

Transducers.js: A JavaScript Library for Transformation of Data
http://jlongster.com/Transducers.js--A-JavaScript-Library-for-Transformation-of-Data


--------------------------------------------------------------------------------
Ocaml
--------------------------------------------------------------------------------

Ocaml pipes
https://ocaml.janestreet.com/ocaml-core/111.28.00/doc/async_kernel/#Pipe


--------------------------------------------------------------------------------
Scala
--------------------------------------------------------------------------------

FS2: Functional Streams for Scala (previously 'Scalaz-Stream')
https://github.com/functional-streams-for-scala/fs2


--------------------------------------------------------------------------------
Haskell
--------------------------------------------------------------------------------

Haskell Networks of composable stream transducers
https://github.com/ekmett/machines/
Machines are demand driven input sources like pipes or conduits, but can support multiple inputs.


--------------------------------------------------------------------------------
Go
--------------------------------------------------------------------------------

Go pipes (flow based dataflow)
https://blog.gopheracademy.com/composable-pipelines-pattern/
https://blog.gopheracademy.com/advent-2015/composable-pipelines-improvements/


Go pipes (functional stream processing syntax)
https://blog.gopheracademy.com/advent-2015/automi-stream-processing-over-go-channels/
Automi: Stream Processing Over Go Channels


https://github.com/matz/streem
Prototype of stream based programming language by Yukihiro Matsumoto


http://hackage.haskell.org/package/pipes
pipes is a clean and powerful stream processing library that lets you build and connect reusable streaming components
http://hackage.haskell.org/package/pipes-4.0.1/docs/Pipes-Tutorial.html
http://www.haskellforall.com/


--------------------------------------------------------------------------------
C++
--------------------------------------------------------------------------------

C++ Pipelines
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3534.html
http://code.google.com/p/google-concurrency-library/source/browse/include/pipeline.h


--------------------------------------------------------------------------------
Python
--------------------------------------------------------------------------------

Flow based programming
http://wiki.python.org/moin/FlowBasedProgramming

Ruffus is a lightweight python module for running computational pipelines
http://code.google.com/p/ruffus/

Pipe: Infix syntax for Python
http://dev-tricks.net/pipe-infix-syntax-for-python

Kamaelia - Concurrency made useful, fun
http://www.kamaelia.org/Home.html
https://www.kamaelia.org/Cookbook/Pipelines.html
https://www.kamaelia.org/Cookbook/Graphlines.html


--------------------------------------------------------------------------------
Unsorted
--------------------------------------------------------------------------------

http://www.balisage.net/Proceedings/vol3/print/Kay01/BalisageVol3-Kay01.html

http://www.yesodweb.com/book/conduit

http://www.yesodweb.com/blog/2012/01/conduit-versus-enumerator

http://hestia.typepad.com/flatlander/2011/06/partial-function-application-in-f-part-2-a-technique-for-simplicity.html
Il y a un exemple de pipe |> dans F#

http://lorgonblog.wordpress.com/2008/03/30/pipelining-in-f/

http://www.wordloosed.com/running-yahoo-pipes-on-google-app-engine

http://pipes.yahoo.com/pipes/

http://ipages.iland.net/~jimj/

http://www.tenfiftytwo.co.uk/pipelines/
http://sourceforge.net/projects/oorexx/forums/forum/408479/topic/3814527

Simon Nash (https://simonnash.blogspot.com/)
http://jstreamer.com/technical.html
https://web.archive.org/web/20150801131433/http://jstreamer.com/

Flow based programming
http://www.pypes.org/

http://code.google.com/p/appengine-pipeline/

http://software.intel.com/en-us/blogs/2011/03/31/the-join-node-in-the-intel-threading-building-blocks-graph-community-preview-feature-2/

http://threadingbuildingblocks.org/

http://en.wikipedia.org/wiki/Pipeline_%28Unix%29

http://lorgonblog.wordpress.com/2008/03/30/pipelining-in-f/

https://rescript-lang.org/docs/manual/v11.0.0/pipe
    validateAge(getAge(parseData(person)))
    is the same as
    person
      ->parseData
      ->getAge
      ->validateAge

    This works when the function takes more than one argument too.
    a(one, two, three)
    is the same as
    one->a(two, three)

    This also works with labeled arguments.



============================================================================
http://groups.google.com/group/comp.lang.rexx/browse_thread/thread/356f08d60008ac05?hl=en
Feb 23, 2011

I was looking into SysCreatePipe regarding Swiftys problem with piping a mail body to the mail command.
I couldn't find any examples of the usage of SysCreatePipe and the Ref.Manual is very sparse.
My knowledge of unnamed pipes in Unix, is shaky so I may be way out of bounds here.
Anyway, I came up with this code:
#!/usr/bin/rexx
signal on novalue
trace r
handles = SysCreatePipe()
parse var handles IN OUT .
say "Input handle is"  IN
say "Output handle is" OUT
-- Se Chapter 14.1.4 in ooRexx Ref.
outstream = .stream~New("HANDLE:"OUT)
outstream~lineout("2 hello")
outstream~lineout("3 hello")
outstream~lineout("4 hello")
outstream~lineout("8 hello")
outstream~lineout("9 hello")
outstream~lineout("7 hello")
outstream~lineout("1 hello")
outstream~lineout("")
outstream~flush
--Redirect handle IN linked to  stdin (0)
address bash "sort" IN"<&0 >/tmp/sorted file"
outstream~close
exit 0
  ... which gave the following output:

      5 *-* handles = SysCreatePipe()
        >>>   "4 5"
      7 *-* parse var handles IN OUT .
        >>>   "4 5"
        >>>   "4"
        >>>   "5"
      9 *-* say "Input handle is"  IN
        >>>   "Input handle is 4"
Input handle is 4
     10 *-* say "Output handle is" OUT
        >>>   "Output handle is 5"
Output handle is 5
     12 *-* outstream = .stream~New("HANDLE:"OUT)
        >>>   "a Stream"
     14 *-* outstream~lineout("2 hello")
Segmentation fault

:-(

/dg

Running on Linux AMD64 (Ubuntu 10.04 lucid Kernel 2.6.32-28-generic)
Open Object Rexx Version 4.1.0
Build date: Dec  3 2010
Addressing Mode: 64


============================================================================
Notes about pipe.rex

fanout : forward eof to self~next and self~secondary, but not to super

merge : send a 'done' message

console : process does forward class (super) --> why needed here, and not in other classes ?
answer : because .console does not transform the items, it just displays them. So it can
forward to class (super) which will take care of sending the item & index to next pipestage.
The other classes transform the items, and write themselves the new item. If they forwarded
to class (super) then the unchanged item would be also sent to the next pipeStage.


http://freshmeat.net/projects/pv
pv (Pipe Viewer) is a terminal-based tool for monitoring the progress of data through a pipeline.
It can be inserted into any normal pipeline between two processes to give a visual indication of
how quickly data is passing through, how long it has taken, how near to completion it is, and an
estimate of how long it will be until completion.


http://www.softpanorama.org/Scripting/Shellorama/Control_structures/pipes_in_loops.shtml


