【发布时间】:2016-12-03 23:17:18
【问题描述】:
我理解“。” (点)作为函数组合。我明白了“|” (管道)作为“或”保护介绍语法(来自 here ),但我 saw an answer on http-conduits using ".|" 以我不理解的方式使用此运算符。
我找到的其他管道参考,例如:
- https://docs.google.com/presentation/d/1RBefOCZ7AKOo4f1yiF4mtKPAT3l5vY9ky2SR02O4Vvg/edit#slide=id.g3c22e35a9_0205
- http://www.yesodweb.com/blog/2014/03/network-conduit-async
...建议使用 "$$"、"$="、"=$="、"=$" 等语法来组合数据流中的管道。
我应该怎么称呼这个“。|”这个运算符以及它是如何工作的?
可以预见的是,谷歌搜索“.| haskell”或“'dot pipe' haskell”或“'dot pipe' haskell operator channels”并不是很成功。
【问题讨论】:
标签: haskell conduit http-conduit