Talk:Monads/Maybe monad

From Rosetta Code
Revision as of 20:49, 1 February 2016 by Hout (talk | contribs) (Perhaps a specific task and test values ?)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Perhaps a specific task ?

It can help comparison across languages if there is a specific task with a readily intelligible motivation. One candidate might be to:

  1. Create and compose safe versions (number -> Maybe number) of 3 partial functions (reciprocal, sqrt, log)
  2. Show the results of applying the required composition to a specific set of input values