Is there a way to make applicative uses of <$>
and <*>
look nice when dealing with infix operators? I think that
((++) <$> a <*> ((++) <$> b <*> c ))
looks much more cluttered then
a ++ b ++ c
so I wonder if there is a nicer way.
(<++>) = liftA2 (++)
a <++> b <++> c
or
liftA2 (++) a $ liftA2 (++) b c
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With