This website requires JavaScript.
Explore
Help
Sign In
idris-lang
/
Idris2
Watch
1
Star
1
Fork
0
You've already forked Idris2
mirror of
https://github.com/idris-lang/Idris2.git
synced
2024-12-21 10:41:59 +03:00
Code
Issues
Projects
Releases
Wiki
Activity
607a2a2110
Idris2
/
tests
/
idris2
/
reflection009
/
run
5 lines
64 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Move rm -rf to the beginning of the test While the discussion about how to refactor test framework is not finished (#1654), make this change: move `rm -rf build` in the beginning of the test. For these reasons: * it is useful to inspect the contents of the `build` directory especially after the test failure * if build crashes mid-test (e.g. process killed), next run should not be affected by the `build` directory from the previous run
2021-07-14 00:54:53 +03:00
rm -rf build
Rename --consolewidth option to --console-width for consistency
2020-08-19 12:27:05 +03:00
$1 --no-color --console-width 0 --check perf.idr
Improve elaborator reflection performance In a 'Bind', normalise the result of the first action, rather than quoting the HNF. This improves performance since the HNF could be quite big when quoted back. Ideally, we wouldn't have to quote and unquote here, and we can probably achieve this by tinkering with the evaluator. This has an unfortunate effect on the reflection002 test, in that the "typed template Idris" example now evaluates too much. But, I think the overall performance is too important for the primary motivation behind elaborator reflection. I will return to this!
2020-07-17 17:18:23 +03:00
Reference in New Issue
Copy Permalink