0 | ||| Functors with type depending on some extra data, the "index"
1 | |||
2 | ||| They are expected to obey the laws
3 | ||| imap g . imap f = imap (\i => g i . f i)
4 | ||| and
5 | ||| imap (\i => id {t i}) = id
15 | export
19 | %inline