Eitherのfmap
Resultのmap()
code:hs
fmap :: (a -> b) -> Either e a -> Either e b
mapRight
関連
mapLeft