Talk:Monad (functional programming): Difference between revisions

Content deleted Content added
Zyansheep (talk | contribs)
add comment
Not useful for non-Haskell programmers: Circled back to Graham Hutton's 2016 book to get beyond any H. syntax
Line 11:
:If you do have something else in mind though, I'd go for it. I think pseudocode as close as possible to basic math notation (mapping arrows, "f(x)" style functions, etc.) fits this topic well, especially for the (granted, probably very rare) non-programmers that stumble onto the article. So I lean more towards something that looks like Haskell than imperative code in this case, even if it's a popular language, but that's just me. --[[User:Zar2gar1|Zar2gar1]] ([[User talk:Zar2gar1|talk]]) 21:20, 23 June 2021 (UTC)
:I just rewrote the ''An Example: Maybe'' monad section and the introduction to use less haskell as well as being more clear. I used Rust for the code which is my preferred language and I think has similar syntax to other popular languages like Python & C++. I will try to do the rest if I have time. Any critiques? I'm a little new to Wikipedia editing. [[User:Zyansheep|Zyansheep]] ([[User talk:Zyansheep|talk]]) 05:44, 22 November 2021 (UTC)
::Circled back to Graham Hutton's 2016 book to expand/generalize the Rust examples. They all work together to get beyond any H. syntax. Used Failure/ Success as generic concepts from (Hutton 2016) to show the role of ''bind'' in the languages used (H., Rust, F#, etc.) --[[User:Ancheta Wis|Ancheta Wis]] [[User talk:Ancheta Wis|   (talk]] [[Special:Contributions/Ancheta Wis| | contribs)]] 05:09, 4 January 2022 (UTC)
 
== We should dehaskelize it ==