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

Some examples? #21

Closed
reflectionalist opened this issue Mar 4, 2013 · 6 comments
Closed

Some examples? #21

reflectionalist opened this issue Mar 4, 2013 · 6 comments
Assignees
Milestone

Comments

@reflectionalist
Copy link
Collaborator

It would be nice to have some simple examples that illustrate the source syntax.

@Blaisorblade
Copy link
Collaborator

There's another repo (https://github.com/Toxaris/tsr-experiments/) comes from the old examples folder - but most of it are not examples. Still, at least the source code from the PLDI 2009 paper should be included - together with the more introductory examples you suggested.

@Toxaris
Copy link
Owner

Toxaris commented Mar 8, 2013

There's an old readme file: http://www.informatik.uni-marburg.de/~rendel/metacircular/fomegastar-haskell/readme.txt

Some of its content could be reused for a user's guide.

@Toxaris
Copy link
Owner

Toxaris commented Mar 9, 2013

If we add assertions to example files, they can also serve as tests (see #35).

@Blaisorblade
Copy link
Collaborator

I'll see what I can do here — above there are concrete and low-cost suggestions.

@Blaisorblade Blaisorblade self-assigned this Jul 14, 2014
@Toxaris
Copy link
Owner

Toxaris commented Jul 14, 2014

It would also be good to have some examples that don't type check with an explanation what the problem is and how to read the error message. Maybe we could extend the assertion mechanism to check for ill-typedness.

@Blaisorblade
Copy link
Collaborator

I think we have enough examples, and #94 tracks support for negative tests. Hence closing.

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

3 participants