Talk:Monads/Maybe monad: Difference between revisions

Line 17:
::: "Exceptions" either cancel processing, meaning no result array, or they must be avoided. If they are avoided, then you need some value in the result for that case. So there's been some extensive work done, within the language, to implement best effort consistent results for exceptional cases where that seems to make sense (and, of course, to generate errors for the nonsensical cases).
::: Also, the language does have try/catch mechanisms, but usually best practice is to instead to use preconditions, to normalize the data, or so on. Exception are usually best thought of as a sign of a problem with the code rather than a sign of a problem with the data. --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 21:56, 4 February 2016 (UTC)
 
==Monad Description==
Hi, the task might be improved with a description of the Monad on the page (or a link to a relevant description like that of the main category page)? --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 09:08, 29 September 2019 (UTC)
Anonymous user