Skip to content

Add some elba stuff #8

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,19 @@ Then:
idris --testpkg test.ipkg
```

### elba

If you use [elba](https://github.com/elba/elba) to manage your Idris packages,
adding this package as a dependency is as easy as:

```toml
# elba.toml
[dependencies]
"vmchale/recursion_schemes" = { git = "https://github.com/vmchale/recursion_schemes" }
```

To run the tests, clone the repository and run `elba test` in it.

## Use

The classic paper [Functional programming with bananas, lenses, envelopes and
Expand Down
4 changes: 2 additions & 2 deletions elba.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ license = "BSD3"
"idris-hackers/free" = { git = "https://github.com/vmchale/idris-free" }

[dev_dependencies]
"git/specdris" = { git = "https://github.com/vmchale/specdris" }
"pheymann/specdris" = { git = "https://github.com/pheymann/specdris" }

[targets.lib]
path = "."
Expand All @@ -23,5 +23,5 @@ idris_opts = ["--warnreach"]

[[targets.test]]
name = "recursion_schemes-test"
main = "Test/Spec.idr"
main = "Test/Spec.specSuite"
idris_opts = ["--warnreach"]