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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章