if this pattern is useful we can provide a polymor...
# arrow
r
if this pattern is useful we can provide a polymorphic version of
pipe
+
lift
if there isn't already one out there and make it part of the functor syntax
s
That might be useful. Someone on Gitter asked a similar question a while back for function function composition +
lift
.
👍 1
j
Hi. I really like the pipe function composition over the andThen (forwardComposition): ‘’'1 pipe f1 pipe f2 vs (f1 andThen f2)(1).‘’' It is very friendly to FP beginners. And as soon as one try FP function composition in prod code she/he (just like me) comes across the pure and impure functions composition. And a simplification in this matter would be a better addition in FP patterns. Of course monads comprehension looks like a better approach, but it is not that easy to grasp by those new in FP. Thank you.