Commit Graph

335 Commits

Author SHA1 Message Date
Runar Bjarnason
86abb4d47b Cofree and tries 2019-05-13 17:36:04 -04:00
Runar Bjarnason
41baba00ca Basic model of test framework 2019-05-13 16:25:29 -04:00
Paul Chiusano
c76a40c282 parser and prettypinter fix 2019-05-10 03:20:47 -04:00
Paul Chiusano
00a1258b61 record accessor generation moved to DataDeclaration.hs 2019-05-10 00:55:24 -04:00
Paul Chiusano
f11022933e generating get, set, modify for fields 2019-05-09 23:37:11 -04:00
Paul Chiusano
727bad7478 added test 2019-05-09 18:17:59 -04:00
Paul Chiusano
086b01efbb unique introduces a layout block, removed effect keyword (and updated tests) and nicer "file typechecked" message 2019-05-09 10:36:29 -04:00
Paul Chiusano
cb6cadde75 delete abomination that was qualifiedId, just defined wordyId and symbolyId directly, now test> watches parse 2019-04-30 23:17:48 -04:00
Paul Chiusano
cd18b95f56 just kidding, now added the test! 2019-04-29 15:17:02 -04:00
Paul Chiusano
deff4b2e26 fix #469 2019-04-26 16:43:16 -04:00
Paul Chiusano
5b6edd6b33
Merge pull request #467 from mrdziuban/pattern-match-vec-fns
Add pattern matching on sequences
2019-04-26 14:50:13 -04:00
Paul Chiusano
7beb69095d added some notes to stream pending test 2019-04-25 23:36:31 -04:00
Paul Chiusano
21b86ba141 fix #407 2019-04-25 23:27:10 -04:00
Paul Chiusano
d02ed44c10 tests pass after refactoring, but want to retract the context 2019-04-25 21:50:58 -04:00
Matt Dziuban
6d4828582e Add error case test for concat match without constant length. 2019-04-20 21:26:18 -04:00
Matt Dziuban
223fede9ad Merge branch 'master' of github.com:unisonweb/unison into pattern-match-vec-fns 2019-04-20 18:45:13 -04:00
Matt Dziuban
d1ba4845e2 Clean up some todos, test more edge cases, and fix some bugs. 2019-04-20 14:00:45 -04:00
Matt Dziuban
2a2a93caf6 Merge branch 'master' of github.com:unisonweb/unison into pattern-match-vec-fns 2019-04-17 20:15:24 -04:00
Paul Chiusano
32b8068b70 Merge remote-tracking branch 'origin/master' into wip/var-refactor 2019-04-17 19:43:39 -04:00
Paul Chiusano
2edad9f905 spotted several bugs 2019-04-17 18:22:14 -04:00
Matt Dziuban
e5ea784728 Fix runtime implementation of concat with prefix literal. 2019-04-17 18:16:21 -04:00
Arya Irani
9d9b0fe1f5 whoops 2019-04-16 17:25:33 -04:00
Arya Irani
4b345d1fe8 added pending test for #344 2019-04-16 17:17:59 -04:00
Paul Chiusano
643b5e33db unsolved existentials get instantiated to {} as a fallback in abilityCheck 2019-04-14 21:21:43 -04:00
Paul Chiusano
b9c185ca77 tests 2019-04-12 15:48:39 -04:00
Paul Chiusano
4490f6318c improved error message a bit 2019-04-11 17:43:02 -04:00
Paul Chiusano
c0181c4158 failing test for #455 2019-04-11 16:34:51 -04:00
Paul Chiusano
d46bb05f23 fixed #374 2019-04-11 16:22:11 -04:00
Paul Chiusano
26ca33aaca unpending a test 2019-04-11 16:14:53 -04:00
Paul Chiusano
a64f462a50 fix rest of tests and unpending some more 2019-04-11 16:00:55 -04:00
Paul Chiusano
b6d02f4500 fix one test and add a new pending test 2019-04-11 13:40:09 -04:00
Matt Dziuban
c0f07631de Add more examples, fix some issues. 2019-04-10 08:01:58 -04:00
Matt Dziuban
faa189a5ec Fail typechecking on concat if neither side is a literal. 2019-04-09 21:42:43 -04:00
Matt Dziuban
26f2731d19 Implement runtime and concat functionality. 2019-04-09 21:31:41 -04:00
Arya Irani
ff071ae2e8 misguided initial attempt for compilePattern
next steps: add PatternCons and PatternSnoc constructors to IR, and handle in Rt1
2019-04-08 20:24:41 -04:00
Matt Dziuban
76a0000543 Generalize uncons to other seq ops. 2019-04-08 17:36:28 -04:00
Matt Dziuban
f405eb0c98 Get closer to vector ops. 2019-04-08 17:36:28 -04:00
Matt Dziuban
15a1fd7ded Start working on lexer for vector ops. 2019-04-08 17:36:28 -04:00
Matt Dziuban
8f19bdc476 Start adding uncons pattern matching. 2019-04-08 17:36:28 -04:00
Matt Dziuban
b242cbe651 Implement compilation and typechecking of vector literal pattern matches. 2019-04-08 17:36:28 -04:00
Paul Chiusano
3045ac7cbd add one non-pending test and one pending test 2019-04-04 14:18:43 -04:00
Paul Chiusano
413fb38502 Merge branch 'master' of github.com:unisonweb/unison 2019-04-04 13:59:18 -04:00
Paul Chiusano
da084c1d22 cleanup trace statements 2019-04-04 13:59:12 -04:00
Paul Chiusano
8e304435e2 fix issue in synthesizeApp where existentials were refined to pure function types, not allowing for possibility of effects
Still need to do some cleanup, will do that with separate commit
2019-04-04 13:25:58 -04:00
Paul Chiusano
3968e5cccf
Merge pull request #434 from billy1kaplan/issue-427
Float Library Functions
2019-04-03 15:38:06 -04:00
Billy Kaplan
cf3b684dc2 Add fromText function to float library 2019-04-03 15:18:00 -04:00
Paul Chiusano
2044c5297d add two failing tests, which we are about to fix 2019-04-03 15:00:05 -04:00
Billy Kaplan
7ae588a10c Add round and float utils 2019-04-02 23:47:36 -04:00
Billy Kaplan
c8823d777c Add power float functions 2019-04-02 23:47:36 -04:00
Billy Kaplan
e58ceae5e6 Add float exponential functions 2019-04-02 23:47:36 -04:00