[59/code] add: code examples, fix post 59
Makes several corrections to post 59, and adds example code with tests to ensure the post content is correct. In particular: * links to code early in the post * adds necessary imports early in the post * removes `Alternative` instance for `Xor` * rename `f` and `f2` to more descriptive names * avoids name-shadowing later * fixes the implementation of most Validation helper functions * previously returned: `[Validation NumberError a]` * needed: `Validation [NumberError] a` * corrected the subsequent examples * fixed one erroneous example * spelling: let's -> lets
code/57-smol-types/LICENSE
0 → 100644
This diff is collapsed.
code/57-smol-types/Setup.hs
0 → 100644
code/59-app-alt/.gitignore
0 → 100644
code/59-app-alt/Doctests.hs
0 → 100644
code/59-app-alt/LICENSE
0 → 100644
This diff is collapsed.
code/59-app-alt/README.md
0 → 100644
code/59-app-alt/Setup.hs
0 → 100644
Please register or sign in to comment