Quantcast
Channel: What is exactly an indexed functor in Haskell and what are its usages? - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by leftaroundabout for What is exactly an indexed functor in Haskell...

An indexed functor is, to use spacesuitburritoesque wording, “a container that also contains a mapping”. I.e. a value f j k a will “contain” some sort of morphism(s) j -> k(not necessarily...

View Article



What is exactly an indexed functor in Haskell and what are its usages?

When studying functors in Haskell I came up with Functor.Indexed type of functor. This functor defines an operation called imap. I didn't understood its definition and imap signature: imap :: (a ->...

View Article
Browsing all 2 articles
Browse latest View live


Latest Images