Commit Graph

364 Commits

Author SHA1 Message Date
Boyd Stephen Smith Jr
7816c6c5e9 Fix formatting
Someone had LaTeX on the brain instead of RST
2020-05-25 21:31:58 -05:00
Niklas Larsson
59800e1f47
Merge pull request #142 from jinwoo/foldl
[prelude] Use `foldl` for sum and product
2020-05-25 21:05:56 +02:00
Niklas Larsson
df3d4eb1fa
Merge pull request #159 from melted/ci_self_host
Run the self-hosting step in CI
2020-05-25 19:14:30 +02:00
Jinwoo Lee
4a52a84113 update golden files 2020-05-25 10:06:52 -07:00
Jinwoo Lee
893fbb78c9 Provide sum' and product' separate from sum and product
Not to break backwards compatibility.
2020-05-25 09:59:18 -07:00
Jinwoo Lee
728149f2d1 [prelude] Use foldl for sum and product
To make them tail recursive. Fixes #132.
2020-05-25 09:59:18 -07:00
Niklas Larsson
b2ce91fec4 Run the self-hosting step in CI
The latest Github Actions windows image contains msys2 so use that.
Also use gcc that comes with the image to save downloading clang.

Skip Racket as it's slow enough already.
2020-05-25 18:29:59 +02:00
Edwin Brady
1212e56903
Merge pull request #160 from edwinb/fix-test
Fix build
2020-05-25 17:04:08 +01:00
Edwin Brady
81e9214c6f Fix build
Showing a hole should show normalised types for the locals
2020-05-25 16:45:33 +01:00
Edwin Brady
f38dab7c96
Merge pull request #147 from LibreCybernetics/refactor-substr
Use library version of substr
2020-05-25 15:44:13 +01:00
Edwin Brady
bbd3986cfc
Merge pull request #153 from ohad/ide-protocol-holes
Ide protocol holes
2020-05-25 15:43:52 +01:00
Edwin Brady
6a1fe4d9a4
Merge pull request #158 from edwinb/scheme-boot
Update Scheme bootstrap files
2020-05-25 14:41:47 +01:00
Edwin Brady
4321e9ba0d
Merge pull request #157 from keram/typo
Fix typos in documentation and comments
2020-05-25 14:41:31 +01:00
Marek Labos
f691469aa9 Reword a sentence in multiplicities.rst to improve readability. 2020-05-25 14:34:04 +01:00
Edwin Brady
de7dff19b0 Update Scheme bootstrap files
Ready for a 0.2.0 release
2020-05-25 14:21:53 +01:00
Edwin Brady
697a71aef1
Merge pull request #156 from edwinb/chez-message
Add a specific error message to bootstrap.sh
2020-05-25 14:12:54 +01:00
Marek Labos
9160d2772a Fix typo in backends/index.rst and racket/support.rkt 2020-05-25 14:02:49 +01:00
Marek Labos
fc08b361f3 Fix typo in multiplicities.rst 2020-05-25 13:58:45 +01:00
Edwin Brady
c0d5ff8972 Add a specific error message to bootstrap.sh 2020-05-25 13:47:44 +01:00
Edwin Brady
a95b607d78
Merge pull request #149 from wchresta/master
Split bootstrap into separate build and test stage
2020-05-25 13:45:41 +01:00
Edwin Brady
cfd807bba0
Merge pull request #155 from edwinb/nameless-pi
Allow _ in pi binders
2020-05-25 13:40:10 +01:00
Edwin Brady
3120fcb84a Allow _ for names in pi binders
This is mostly to make it easier to write linear function types without
having to invent names for everything, which might be noisy. Also it
improves the display of linear function types when the name isn't used
in the scope.
2020-05-25 13:14:51 +01:00
Edwin Brady
b59c336330 Merge remote-tracking branch 'upstream/master' 2020-05-25 11:57:24 +01:00
Edwin Brady
087cb84dda
Merge pull request #130 from clayrat/list-quantifiers
add Data.List.Quantifiers
2020-05-25 11:57:08 +01:00
Ohad Kammar
f4797be529 Merge branch 'master' of github.com:idris-lang/Idris2 into ide-protocol-holes 2020-05-25 11:51:39 +01:00
Ohad Kammar
fe1d5ee381 Transmit hole information in the IDEMode protocol
Move printing routines into the `Idris.IDEMode.Holes` module
2020-05-25 11:51:16 +01:00
Edwin Brady
d8f8718424
Merge pull request #151 from edwinb/appdocs
Some documentation updates
2020-05-25 11:50:02 +01:00
Ohad Kammar
92eaa247a6 Refactor FoundHoles : REPLResult to carry more structured information about holes 2020-05-25 10:38:22 +01:00
Fabián Heredia Montiel
1fbce6a593 Add emacs/vim swap files to gitignore 2020-05-25 09:18:49 +01:00
Edwin Brady
3859f60d7a Merge remote-tracking branch 'upstream/master' 2020-05-25 09:11:54 +01:00
Edwin Brady
227bd3b457
Merge pull request #119 from idris-lang/idemode
[ refactor ] Idris.IDEMode.CaseSplit
2020-05-25 09:09:37 +01:00
Edwin Brady
2206692533 Some documentation updates
Remove things from CONTRIBUTING that are done, and initial App
documentation (though it could use more examples).
2020-05-25 09:03:08 +01:00
Edwin Brady
c86848eaa3
Merge pull request #150 from edwinb/master
Remove unreachable case
2020-05-25 08:56:39 +01:00
Edwin Brady
f841f4a48a Remove unreachable case 2020-05-25 07:44:52 +01:00
Ohad Kammar
2e17a89ef0 minor bugfix: confused two branches of if 2020-05-25 07:38:31 +01:00
Ohad Kammar
0de2f6dea8 Merge branch 'master' of github.com:idris-lang/Idris2 into ide-protocol-holes 2020-05-25 07:14:33 +01:00
Ohad Kammar
ced6134f79 Refactor hole information extracting functions into a new submodule
Introduce a new data structure for IDE-related hole data

Separate hole printing from informationextraction
2020-05-25 07:13:12 +01:00
wchresta
788e6943a4 Split bootstrap into separate build and test stage
* Refactor bootstrap and bootstrap-rkt scripts
* Move the execution of the test phase after bootstrapping from bootstrap
  scripts into the Makefile. This allows separate execution of build
  and test seperately.
* Solves #125
2020-05-25 00:59:12 -04:00
Alex Gryzlov
eb04046b43 inline removed anyElim, refactor more 2020-05-25 03:53:29 +02:00
Fabián Heredia Montiel
4f040f2bbe Use library version of substr added on commit dec7dff622 2020-05-24 19:45:12 -05:00
Alex Gryzlov
5757c5e5cb remove anyElim 2020-05-25 02:27:19 +02:00
Edwin Brady
7881dfd110
Merge pull request #146 from edwinb/docupdates
Small documentation updates
2020-05-25 01:22:40 +01:00
Edwin Brady
9c5594223e Small documentation updates 2020-05-25 01:02:07 +01:00
Edwin Brady
93ae903915
Merge pull request #145 from edwinb/casetrees
Some improvements on case trees
2020-05-25 00:39:04 +01:00
Edwin Brady
3ec40a30de
Merge pull request #126 from jfdm/add-warnings-to-rtd
Improve messages in Idris2 Sphinx Docs about documentation completness so they are more visible.
2020-05-25 00:38:30 +01:00
Edwin Brady
508b136866
Merge branch 'master' into add-warnings-to-rtd 2020-05-25 00:38:22 +01:00
Edwin Brady
9970c66417 Warn on detecting unreachable patterns
I don't know how complete this is, but it certainly detects some of the
most obvious cases which are most likely to be bugs.

While I'm at it, this is as good a time as any to add a general way of
reporting warnings, similar to the way of reporting errors.
2020-05-25 00:16:49 +01:00
Matúš Tejiščák
730726c20c
Merge pull request #113 from LibreCybernetics/split-parser-2
Split Source and Package Parser (Part 2)
2020-05-24 23:30:13 +02:00
Edwin Brady
6c2b35d02d Remove the erased argument check from CaseBuilder
This is done elsewhere, and now just gives a meaningless error on
overlapping cases in some circumstances, so best removed.
(But we do need to find a way to warn on obviously overlapping cases!)
2020-05-24 22:13:38 +01:00
Fabián Heredia Montiel
731a416043 Split Package Specific Lexer/Rules from Lexer/{Common,Source} and Refactor Idris/Package
Co-authored-by: Matus Tejiscak <ziman@functor.sk>
2020-05-24 16:01:17 -05:00