Talk:Functor (functional programming)

Latest comment: 2 years ago by Charles Merriam in topic Assumes Understanding

Haskell-specific and not general to functional programming

edit

This page is about a specific Haskell feature implementing a mappable abstraction. All the examples and links are about Haskell only. In fact the name Functor means something different in other functional languages such as Ocaml and standard ML. Therefore this page title is incorrect and misleading. It is forgivable that the page creator knew only Haskell and was ignorant about other functional languages and made a bad generalization, but the title should now be changed from the incorrect (functional programming) to clarify this is a Haskell feature. Alternatively the content could be rewritten to include the different meanings in various functional languages, expanding what is mentioned in the disambiguation page.

Assumes Understanding

edit

This page seems to be written in a form where it adds value if one already understands what a functor does. Some possible solutions would be to show some examples using plausible values instead of 'A', 'B', and 'C'. It might mention what computer science problem is solved with this construct, e.g., "Allows creating an undo/redo chain of actions without knowledge of the individual actions". I cannot state what should be written without grokking the article; I can only state I fail to grok the article. Charles Merriam (talk) 22:15, 18 September 2022 (UTC)Reply