Closed ysangkok closed 3 years ago
I just noticed today that a whenJust is available in base. I think this could be useful information, since it wasn't obvious to me at all, I always compared it to foldMapM from Relude instead.
whenJust
foldMapM
Thanks! I think in making this PR you've switched the file from Unix to Windows newlines. Can you switch it back, then I'll merge it.
@ndmitchell Thanks, done!
Thanks!
I just noticed today that a
whenJust
is available in base. I think this could be useful information, since it wasn't obvious to me at all, I always compared it tofoldMapM
from Relude instead.