Commit Graph

9165 Commits

Author SHA1 Message Date
Chris Penner
3f8e8b9690 Add transcripts for duplication checking 2022-01-11 16:18:43 -06:00
Chris Penner
73d784763b Generalize duplicate checking 2022-01-11 16:18:38 -06:00
Chris Penner
6c8eb09b7e Add duplicate term checking in Unison file parser 2022-01-11 15:39:43 -06:00
Paul Chiusano
bb4fa39ca2
Merge pull request #2792 from unisonweb/fix/pattern-match-blank
Use `bug` for emitting pattern match failures.
2022-01-10 14:25:31 -06:00
Simon Højberg
14cf497b8d
Merge pull request #2793 from unisonweb/show-hash-for-blanks-error
Print out the hash when throwing blanks error
2022-01-10 14:58:20 -05:00
Simon Højberg
6d3d46174c Print out the hash when throwing blanks error 2022-01-10 14:07:20 -05:00
Dan Doel
6d3d367f59 Use bug for emitting pattern match failures.
- The previous approach was using Blank, which are expected not to occur
  in certain places; they are only for handling unbound variables and
  the like in scratch files.
2022-01-10 13:46:05 -05:00
mergify[bot]
6f3293541c
Merge pull request #2791 from unisonweb/cp/names-fix
Don't build slurp names twice
2022-01-10 16:54:27 +00:00
Chris Penner
3d3d761821 Don't rebuild the names twice, a let is fine 2022-01-10 10:38:27 -06:00
Chris Penner
ac9da6faec No reason to build the same names twice
currentPathNames == slurpResultNames
2022-01-10 09:38:30 -06:00
Mitchell Rosen
6992f24567
Merge pull request #2765 from unisonweb/21-12-16-inline
Tweak Result for performance
2022-01-07 11:34:02 -08:00
Cody Allen
41a0b21e2a
Merge pull request #2570 from kolharsam/sam/remove-backticks-termparser
remove parser for using back-ticks for infix function application
2022-01-07 09:56:34 -08:00
Arya Irani
60b72ca79a
Merge pull request #2783 from unisonweb/fix/compiled-exceptions 2022-01-06 22:47:56 -07:00
Mitchell Rosen
7239704740
Merge pull request #2766 from unisonweb/21-12-16-refactor-MT
Refactor MT monad for performance
2022-01-06 17:40:16 -08:00
Mitchell Rosen
a37451eb06
Merge pull request #2682 from unisonweb/21-11-24-fix-star3-delete
Fix Star3 deleteD2, deleteD3
2022-01-06 10:49:20 -08:00
Chris Penner
d495d8f939
Improve type-safety of reference suffix parsing (#2776) 2022-01-06 10:28:26 -06:00
Chris Penner
1031c4f54f Remove ambient trash file 2022-01-06 10:26:15 -06:00
Chris Penner
8af6377173
Fix implementation of getbuffering builtin to actually return Either (#2779)
* Fix implementation of getbuffering builtin to actually return Either

* Test that we actually get back the expected buffering mode
2022-01-06 10:22:43 -06:00
Dan Doel
db322c39db Install a top level exception handler during compiled execution
- Had to tweak MCode tests, because they weren't built right for such a
  handler to exist (nothing was on the stack at the end to go through
  the default case of the handler).
2022-01-06 10:49:11 -05:00
Sameer Kolhar
485cf7d5cd
add myself to the contributors file 2022-01-06 16:56:17 +05:30
Chris Penner
42368610ab
Merge pull request #2772 from unisonweb/cp/concurrency-safe-push
Make push more concurrency-safe by VACUUM into an isolated directory.
2022-01-05 16:11:54 -06:00
Chris Penner
6f29afe36b
Update parser-typechecker/src/Unison/Codebase/SqliteCodebase.hs
Co-authored-by: Arya Irani <538571+aryairani@users.noreply.github.com>
2022-01-04 16:53:17 -06:00
Chris Penner
2686162c58
Fix integration tests (#2774) 2022-01-04 10:42:09 -06:00
Chris Penner
64f0a792e2 Clean up unused comments 2022-01-04 09:59:10 -06:00
Mitchell Rosen
0354658405
Merge pull request #2768 from unisonweb/21-12-17-get-root-branch-exists
Add getRootBranchExists to the Codebase API
2021-12-21 12:42:05 -08:00
Mitchell Rosen
b78cb32d43
Merge pull request #2769 from unisonweb/21-12-17-debug-queries
Add query debugging mechanism to unison-sqlite
2021-12-21 12:41:51 -08:00
Chris Penner
e3843dbed7 More simplification 2021-12-21 11:01:58 -06:00
Chris Penner
8226d60983 Simplify db connection running 2021-12-21 10:57:46 -06:00
Chris Penner
582335c008 Fix typo in codebase path creation 2021-12-21 10:47:41 -06:00
Chris Penner
101aa04b5e Merge branch 'trunk' into cp/concurrency-safe-push 2021-12-20 15:00:05 -06:00
Chris Penner
774b9f1667 update docs 2021-12-20 14:54:32 -06:00
Chris Penner
3a6b6c5f80 Clean up codebase path organization 2021-12-20 14:33:17 -06:00
Chris Penner
0bb7e4553d Get copy codebase logic compiling 2021-12-20 13:49:19 -06:00
mergify[bot]
10f961b6a4
Merge pull request #2752 from unisonweb/topic/check-script
add a script to perform checks tests similar to CI
2021-12-17 21:09:37 +00:00
Mitchell Rosen
25330bec6a add --test --no-run-tests 2021-12-17 15:10:06 -05:00
Mitchell Rosen
7ac9bb6f40 some cleanup 2021-12-17 14:54:10 -05:00
Mitchell Rosen
67af20e080 unindent 2021-12-17 14:42:12 -05:00
Mitchell Rosen
41411ae6c8 add query debugging mechanism to unison-sqlite 2021-12-17 14:24:52 -05:00
Mitchell Rosen
337b1a633e add getRootBranchExists 2021-12-17 14:00:47 -05:00
Mitchell Rosen
3e198ae972 Refactor MT to pass state along without having to reallocate 2021-12-17 00:24:10 -05:00
Mitchell Rosen
f697e11eac add bang patterns to Result, and inline pragmas to (<*>) and (>>=) 2021-12-16 23:41:34 -05:00
Chris Penner
1eea428657
Merge pull request #2757 from solomon-b/feature/improves-uri-parser-error-printing
Fixes pretty printing for uri parser
2021-12-16 15:35:18 -06:00
solomon
099d6438de Merge branch 'trunk' into feature/improves-uri-parser-error-printing 2021-12-15 21:13:57 -08:00
solomon
754292f4e9 Updates parseUri error printer. 2021-12-15 20:50:05 -08:00
Chris Penner
350baf865e Define local |> operator just for tictactoe 2021-12-15 18:06:35 -06:00
Chris Penner
c4fc84a46c Fix bad replacements in unison typechecking tests 2021-12-15 17:22:47 -06:00
Chris Penner
e23067e267 Remove infix backtick syntax from more unison source 2021-12-15 17:00:56 -06:00
Chris Penner
c87ae00964 Fix more infix combinator usages in transcripts 2021-12-15 16:38:51 -06:00
Mitchell Rosen
2b2819e67a
Merge pull request #2750 from unisonweb/21-12-08-monomorphize-var
Monomorphize `v` to `Symbol` for builtins
2021-12-15 17:36:09 -05:00
Chris Penner
78266b2848 Remove Backticks from Lexer entirely 2021-12-15 16:32:10 -06:00