Commit Graph

308 Commits

Author SHA1 Message Date
Paul Chiusano
d02ed44c10 tests pass after refactoring, but want to retract the context 2019-04-25 21:50:58 -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
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
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
Billy Kaplan
72ac45d832 Add hyperbolic float functions 2019-04-02 23:47:36 -04:00
Billy Kaplan
be919b785e Add trigonometric float functions 2019-04-02 23:47:36 -04:00
Ben Fradet
8aeeeff4c4 Fix demo examples 2019-03-29 23:03:40 +01:00
Runar Bjarnason
d1c87f60b3 Delete IO.u scratch file 2019-03-25 17:18:51 -04:00
Paul Chiusano
905e674441 minimized failure 2019-03-25 14:30:19 -04:00
Paul Chiusano
9a62bf9e2b add pending test for runtime error 2019-03-25 14:13:01 -04:00
Paul Chiusano
0f1d474732 pending test 2019-03-25 10:01:52 -04:00
Paul Chiusano
e7a13ccf12 a few more functions for Base.u 2019-03-24 22:36:23 -04:00
Paul Chiusano
4f217c65ec more functions 2019-03-24 15:36:39 -04:00
Paul Chiusano
5fa00264ee Map.size and Set.size 2019-03-24 11:57:49 -04:00
Paul Chiusano
bf5a0d0f9d renamed Map.u -> Base.u and added a bunch o' functions 2019-03-24 10:33:40 -04:00
Paul Chiusano
0ed21d5619 fix #413 2019-03-23 23:06:55 -04:00
Paul Chiusano
e22273be0c when popping from the layout stack based on a closing token like ')' or '}', pop to the matching open token
this fixed the pending test I noticed and is probably much more robust in other cases
2019-03-23 22:06:53 -04:00
Paul Chiusano
d5ce8c41ae docs and tests, found an interesting pending test 2019-03-23 21:54:10 -04:00
Paul Chiusano
79c5d9a7bc closes #373 2019-03-23 21:14:41 -04:00
Paul Chiusano
55b1d9bd5c add pending test for underapply ability check failure 2019-03-21 23:03:34 -04:00
Paul Chiusano
b37b1231a6 filled in the rest of Map 2019-03-19 21:35:20 -04:00
Paul Chiusano
fc3216a915 WIP on pure Unison Map implementation 2019-03-19 18:27:11 -04:00
Paul Chiusano
22e49cbcfd Bytes type 2019-03-19 13:59:06 -04:00
Paul Chiusano
dc38515303 Universal.{compare, <, >, <=, >=}
Updated some tests that were previously relying on TDNR to use the correct comparison function.
2019-03-18 13:42:53 -04:00
Paul Chiusano
80b459af24 restore old names for builtins and update tests that were relying on TDNR for == 2019-03-17 20:05:44 -04:00
Paul Chiusano
f2661c57fc Merge remote-tracking branch 'origin/master' into topic/universals
# Conflicts:
#	parser-typechecker/src/Unison/Runtime/IR.hs
2019-03-15 11:33:47 -04:00
Paul Chiusano
f1b9488ce5
Merge pull request #388 from unisonweb/fix/387
Fix escaping issues in lexer
2019-03-14 11:34:06 -04:00
Paul Chiusano
3ac246a19d fix for #387 2019-03-14 11:13:34 -04:00
Matt Dziuban
e586af4dc1 Print curly braces in effects properly. 2019-03-13 20:58:23 -04:00
Matt Dziuban
18b53076b5 Support underscores in function names. 2019-03-13 07:28:10 -04:00
Runar Bjarnason
e3d59384fb Merge branch 'master' of github.com:unisonweb/unison into unisonIO 2019-03-11 15:49:42 -04:00