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

Documentation examples do not compile #40

Closed
rcook opened this Issue Jan 6, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@rcook
Copy link
Contributor

rcook commented Jan 6, 2019

See https://ginger.tobiasdammers.nl/guide/getting-started/.

Example:

template :: Template 
template = either (error . show) id . runIdentity $
  parseGinger nullResolver Nothing "Hello, {{ name }}, welcome in {{ location }}!"

The type signature for template should be Template SourcePos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment