Skip to content

Instantly share code, notes, and snippets.

@Sinha-Ujjawal
Created September 10, 2022 13:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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