Folkert
c6b06005cc
mut not needed
2021-12-05 15:40:11 +01:00
Folkert
4af9539ce6
fixes by cargo clippy --fix
2021-12-05 15:04:28 +01:00
rvcas
40090f20e6
test: update tests to use Num.toStr
2021-11-30 14:56:08 -05:00
ayazhafiz
1135d88dd0
Add support for type inference at _
s in type definitions
...
All we have to do is introduce a new, unconstrained type variable at
underscore sites, and let the type reconstructor work its magic! The
unconstrained type variable will become a `FlexVar` that absorbs
constraints given to it, so it'll behave like a proper inference
variable. That's it!
Part of #1804
2021-11-21 22:54:45 -05:00
satotake
ce8a88416d
Merge branch 'trunk' into builtins-list-intersperse
2021-11-18 11:16:27 +00:00
satotake
16fb04b4fa
Add builtin List.intersperse
2021-11-17 15:18:45 +00:00
satotake
73dda714de
Add builtin List.split
2021-11-15 13:50:11 +00:00
Folkert de Vries
b3a663a741
Merge branch 'trunk' into builtins-list-sublist
2021-11-10 16:28:58 +01:00
satotake
c0a362dc1a
fix solve_expr test
2021-11-10 14:32:22 +00:00
satotake
9f5d3f521b
Implement List.sublist
2021-11-10 13:16:57 +00:00
Michael Downey
07cd3850d7
Merge branch 'trunk' into str_trim_left
2021-11-09 19:43:26 -05:00
Michael Downey
eeab43ba13
fixing line for cargo fmt
2021-11-09 15:02:16 -05:00
Michael Downey
1f74fd6856
fixing formatting and adding str_trim_left back to solve_expr
2021-11-09 14:57:35 -05:00
Michael Downey
c0c45f6d39
correct trim to trimLeft in solve_expr
2021-11-09 14:34:24 -05:00
Michael Downey
1bc278d962
initial commit of Str.trimLeft
2021-11-09 14:25:24 -05:00
satotake
772fc9c021
Implement List.takeLast
2021-11-09 12:26:17 +00:00
satotake
878400f95f
Implement List.takeFirst
2021-11-08 14:10:53 +00:00
Dan Knutson
352fe90e2d
fix format violation
2021-10-26 18:14:04 -05:00
Folkert de Vries
29bd4e3e50
Merge branch 'trunk' into str_trim
2021-10-26 22:45:32 +02:00
Dan Knutson
46365da73a
add failing tests
...
* SIGSEGV for non-empty strings
2021-10-25 20:22:37 -05:00
Chelsea Troy
fc55172219
Fix test typo
2021-10-25 10:45:18 -05:00
Chelsea Troy
49a832d757
Add dropLast to tests and parser
2021-10-21 23:02:26 -05:00
Folkert
4b65430bef
fix test
2021-10-17 16:32:45 +02:00
Chelsea Troy
03295d4369
So far, add type for divCeil to the language
2021-10-17 09:29:11 -05:00
Folkert
15a2ac7410
update more List.walk uses
2021-10-10 12:35:52 +02:00
Folkert
94e8c62613
make things compile, base64 has a memory leak
2021-10-06 22:57:11 +02:00
Dan Knutson
700ab20a8c
add tests for List.dropAt
2021-10-03 13:55:11 -05:00
Folkert
a47f9baef4
Merge remote-tracking branch 'origin/trunk' into alias-nominal-equality
2021-07-31 22:59:01 +02:00
Folkert
894ef2b7b2
Merge remote-tracking branch 'origin/trunk' into alias-nominal-equality
2021-07-30 23:34:16 +02:00
Folkert
35404bd25f
use get_content_without_compacting more
2021-07-30 22:15:17 +02:00
Folkert
e805e63db6
typos
2021-07-30 16:54:22 +02:00
Folkert
5cd7db1762
ignore two failing tests for now
2021-07-30 16:04:47 +02:00
Folkert
899cbeabd7
fix extra ampersands
2021-07-29 17:32:08 +02:00
Jared Ramirez
4d6e5a1a4f
[WIP] Add Dec/Decimal builtin types
2021-06-23 19:30:16 -07:00
rvcas
9716096999
test: cleanup some warnings
2021-06-15 19:34:15 -04:00
Folkert
13dfa79c5d
re-enable rigid test
2021-05-05 15:14:30 +02:00
Folkert
b76ea0b9d9
re-enable test
2021-05-05 15:13:33 +02:00
Folkert
31647f61f9
enable new test
2021-05-05 15:11:30 +02:00
Folkert
149ddf7309
add test case
2021-05-05 14:49:00 +02:00
rvcas
6aaa12079d
tests(test_reporting): properly testing a mismatch for applied tag functions
2021-03-24 15:36:52 -04:00
rvcas
6009501114
tests(solve_expr): mismatch still not properly being reported
2021-03-23 22:46:48 -04:00
rvcas
eb4a6109d6
tests(solve_expr): try a mismatch
2021-03-22 11:25:51 -04:00
rvcas
b806df1b92
tests(solve_expr): add some comments so know which branch
2021-03-22 00:55:39 -04:00
rvcas
b063b45481
feat(unify): we were actually hitting the second case but desc now comes from first
2021-03-22 00:50:03 -04:00
rvcas
eff822f48f
feat(unify): more tests and some new ones fail
2021-03-21 12:22:42 -04:00
rvcas
80915105bc
feat(unify): start unifying a single-tag union no payload with Func
2021-03-19 14:20:05 -04:00
Eric Henry
04be0ece04
snake case function name
2021-03-12 21:26:24 -05:00
Eric Henry
4d046abefa
builtin maxI128 initial
2021-03-09 12:47:42 -05:00
Folkert
c4ddeefed9
add test of integer type inference let polymorphism
2021-02-21 20:45:17 +01:00
Folkert
5742afa005
fix tests
2021-02-21 20:10:35 +01:00