问题:
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中没有使用管道转发,还是其他什么?