mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-01 09:49:24 +03:00
7f7b11ed54
We've had these for a while, used for interface specialisation, but they're not yet used anywhere else or properly documented. We should document them soon, but for now, it's a useful performance boost to always use the fast versions of pack/unpack/concat at runtime. Also moves a couple to the prelude, to ensure that the fast versions are defined in the same place as the 'normal' version so that the transformation will always fire (that is, no need to import Data.String for the transformation to work). |
||
---|---|---|
.. | ||
base | ||
chez | ||
codegen | ||
contrib/json_001 | ||
gambit/bitops001 | ||
ideMode | ||
idris2 | ||
node | ||
prelude/reg001 | ||
racket | ||
refc | ||
templates | ||
ttimp | ||
typedd-book | ||
Main.idr | ||
Makefile | ||
README.md | ||
tests.ipkg |
Tests
Note: The commands listed in this section should be run from the repository's root folder.
Run all tests: make test
To run only a subset of the tests use: make test only=NAME
. NAME
is matched against the path to each test case.
Examples:
make test only=chez
will run all Chez Scheme tests.make test only=ttimp/basic
will run all basic tests forTTImp
.make test only=idris2/basic001
will run a specific test.
Templates for common test instances can be found in the templates
folder.