Skip to content

Instantly share code, notes, and snippets.

@Sinha-Ujjawal
Created September 10, 2022 13:20
Show Gist options
  • Save Sinha-Ujjawal/e3ea314e5756a8ccbfea35751e92995f to your computer and use it in GitHub Desktop.
Save Sinha-Ujjawal/e3ea314e5756a8ccbfea35751e92995f to your computer and use it in GitHub Desktop.
BiFunctor in Haskell
class Bifunctor f where
bimap :: (a -> a') -> (b -> b') -> f a b -> f a' b'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment