Skip to content

Two nearby text problems. #6

@jbrains

Description

@jbrains

Here’s an example that compares the values input to its output: [ (Just 1) Nothing (Just 2) ] -- input to values [ 1 2 ] -- output from values If (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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions