DEV Community

Discussion on: Grokking Functors

Collapse
 
tysonmn profile image
Tyson Williams

The most common container though is a List or an Array.

I disagree. I think the most common (mappable) container (in F#) is a record. See the monomorphic functors article by Mark Seemann.

Collapse
 
choc13 profile image
Matt Thornton

Thanks for pointing this out, it’s a good point. My wording was a bit sloppy here, what I was trying to convey was that List / Array are probably the most likely things that people will have already mapped over, even if they didn’t realise they were functors. I’ll improve the sentence to convey this better.