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

Correct hyperlinks in person tutorial #201

Merged
merged 1 commit into from
Jun 15, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions proto-lens-tutorial/coffee-order/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,11 @@ We have a bunch of lenses (or prisms) to access the data relating to `Coffee`. W

What we can use them for is setting values! When we are defining the value we will know (and have to know) what type our `CoffeeType` will be. Thus we can do the following, `def & mocha .~ def` where the second `def` is secretly our empty `Mocha` value.<br>

As of commit `87efe00a0fa16b657493ba4043abd014d5c04cd3`, `Prism'` functions are also available for use on `Coffee'Type` sum. The `Prism'` functions are of of the naming convention `_Coffee'Americano`, `_Coffee'Latte`, etc. There is more information on `Prism'`s [here](https://github.com/FintanH/proto-lens/tree/docs/codelab/proto-lens-tutorial#oneof-generation)
As of commit `87efe00a0fa16b657493ba4043abd014d5c04cd3`, `Prism'` functions are also available for use on `Coffee'Type` sum. The `Prism'` functions are of of the naming convention `_Coffee'Americano`, `_Coffee'Latte`, etc. There is more information on `Prism'`s [here](../../docs/tutorial.md#oneof-generation)

## Full Code Example

We can find a full example using the different features [here](https://github.com/FintanH/proto-lens/blob/docs/codelab/proto-lens-tutorial/coffee-order/src/Main.hs).
We can find a full example using the different features [here](./src/Main.hs).

## Did We Miss Something?

Expand Down