static-fp
static-fp copied to clipboard
Two nearby text problems.
Here’s an example that compares the values input to its output: [ (Just 1) Nothing (Just 2) ] -- input to
values[ 1 2 ] -- output fromvaluesIf (Just 1) is fed to ???, what should come out?
Since these are lists, I would find it less jarring to see the elements separated by commas.
(Just 1), because it’s filterMap’s job to unwrap the wrapped value and produce ` 1. If Nothing is fed to ???, what should come out?
Here you meant 1 but missed the second backtick.