Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two nearby text problems. #6

Open
jbrains opened this issue Feb 13, 2020 · 0 comments
Open

Two nearby text problems. #6

jbrains opened this issue Feb 13, 2020 · 0 comments

Comments

@jbrains
Copy link

jbrains commented Feb 13, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant