Haskell组合(。)与F#的管道前向运算符(|>) - Haskell composition (.) vs F#'s pipe forward operator (|>)

问题:

In F#, use of the the pipe-forward operator, |> , is pretty common. 在F#中,使用管道转发运算符|>非常常见。 However, in Haskell I've only ever seen function composition, (.) , being used. 但是,在Haskell中,我只见过使用过的函数组合(.) I understand that they are related , but is there a language reason that pipe-forward isn't used in Haskell or is it something else? 我知道它们是相关的 ,但是有没有一种语言原因在Haskell中没有使用管道转发,还是其他什么?


解决方案:

参考: https://stackoom.com/en/question/674G
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章