Zulip Chat Archive

Stream: new members

Topic: Is Functor.Const.map defined incorrectly?


Matt Diamond (Oct 31 2025 at 21:07):

I was looking at docs#Functor.Const.map and noticed that it's defined as (α → β) → F β → F α, whereas I would've expected it to be defined as (α → β) → F α → F β. Am I missing some subtlety here or is this a typo?

(I realize this may not matter since Const α β = α, but it still looks kinda weird. Perhaps this is more of an aesthetic complaint.)

Aaron Liu (Oct 31 2025 at 21:22):

oh yeah that's definitely wrong


Last updated: Dec 20 2025 at 21:32 UTC