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

Update the example in Graphics.Vty #69

Merged
merged 1 commit into from May 2, 2015

Conversation

Projects
None yet
2 participants
@glguy
Copy link
Collaborator

commented Mar 23, 2015

Previously this example had two problems which prevented a
new user copying the example out of haddock.

  1. It unnecessarily relied on 'def', which comes from an
    external package which the user might not know about,
    and doesn't need to worry about.

  2. Haddock wasn't rendering the back-ticks correctly, so
    withForeColor appeared without the back-tick

  3. It used the ScopedTypeVariables extension.

Update the example in Graphics.Vty
Previously this example had two problems which prevented a
new user copying the example out of haddock.

1) It unnecessarily relied on 'def', which comes from an
external package which the user might not know about,
and doesn't need to worry about.

2) Haddock wasn't rendering the back-ticks correctly, so
withForeColor appeared without the back-tick

3) It used the ScopedTypeVariables extension.

coreyoconnor added a commit that referenced this pull request May 2, 2015

Merge pull request #69 from glguy/example-fix
Update the example in Graphics.Vty

@coreyoconnor coreyoconnor merged commit 11cc9e3 into jtdaugherty:master May 2, 2015

1 check was pending

continuous-integration/travis-ci/pr The Travis CI build is in progress
Details

@glguy glguy deleted the glguy:example-fix branch Jul 31, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.