567a357dee
Day20
2024-12-20 17:06:55 -08:00
edbf053f07
Day19
2024-12-19 08:00:12 -08:00
f26beba5eb
day17
2024-12-17 10:57:10 -08:00
1a05043922
Generic instances for tuples, error recovery, show details when multiple solutions
2024-12-16 21:05:43 -08:00
c5368edbbf
Day14, move stuff to libraries, aoc2024 -> samples, fix FC on an error
2024-12-14 08:48:12 -08:00
29abacfa6c
get delete, leftMost, rightMost, pop working for SortedMap
...
required fixing an issue in case building.
2024-12-13 20:58:04 -08:00
62b4bc15c4
day13
2024-12-13 08:02:43 -08:00
accbd23349
day12
2024-12-11 22:56:37 -08:00
d326a4d99f
alternate day11 with no strings
2024-12-11 20:06:25 -08:00
2f518a953d
Day9
2024-12-09 16:53:32 -08:00
0f5a909cce
day8
2024-12-07 22:12:38 -08:00
8d8078f968
improvements to erasure checking
2024-12-06 20:34:40 -08:00
3227bffaa6
Day6
2024-12-06 09:37:20 -08:00
ccbd617671
Day5, add SortedMap
2024-12-05 16:13:12 -08:00
21b03368d4
day4
2024-12-03 22:07:52 -08:00
dbc5670a52
link prelude copies to same file
2024-12-03 17:42:11 -08:00
71cf4f39f5
Make $ special
2024-11-30 15:51:06 -08:00
18e44cb7d3
Improvements to erasure checking, fix to codegen issue
2024-11-29 10:02:45 -08:00
e265248b11
change syntax for javascript code literals
2024-11-25 21:53:23 -08:00
b185065fb0
Port Prettier.idr to newt
2024-11-16 12:01:48 -08:00
e6944bc842
Add example from youtube, allow unicode type names
2024-11-14 21:07:49 -08:00
60abe813dc
better names on solutions
2024-11-14 16:28:40 -08:00
a186c15477
suppress closure env in printing
2024-11-13 22:03:00 -08:00
0589a30d40
Address a few issues in Combinatory.newt
2024-11-13 20:25:02 -08:00
9e72ed67fc
refactoring
...
- move over to env for unify et al
- fix issue where constraint had short context
- drop parameters block - make it clear where context is being used
2024-11-12 21:34:43 -08:00
3daf6b4dc2
add list concat sample
2024-11-09 10:01:50 -08:00
182876d16b
Playground highlights and shows info/errors from build
2024-11-05 13:44:16 -08:00
f225d0ecbd
Print meta info for claims and data, update sample code
2024-11-02 22:11:58 -07:00
d09afd89e0
Fix issue in case eval
2024-11-02 19:43:04 -08:00
6baee23a73
addZero now works
...
distinguish two modes of unification
while pattern matching we return constraints on variables, and normally
we are more aggressive about evaluating when matching against a variable.
fixes to `let`
surface #check in vscode
2024-11-02 18:23:46 -08:00
6164893da5
Parsing updates for unicode
...
- Allow unicode characters in indents and operators
- Show lexing errors
2024-11-02 10:22:04 -07:00
d41558c219
thinking about IO
2024-10-31 22:17:22 -07:00
a919799134
add list monad to tests
2024-10-30 21:56:02 -07:00
56e005d2dc
misc cleanup
2024-10-30 21:23:17 -07:00
30648c8e9c
do blocks seem to work now
2024-10-29 22:14:04 -07:00
b844d0b676
parsing and desugaring of do blocks. (Some inference issues remain.)
2024-10-29 21:05:47 -07:00
0fb5b08598
Typeclass works for Monad
2024-10-29 16:36:41 -07:00
d96e23d954
this can be inferred
2024-10-28 21:48:00 -07:00
e54aced733
Make eval less aggressive about substitution
2024-10-27 12:22:04 -07:00
50ee14fc09
Get Tree.newt working
2024-10-16 22:39:44 -07:00
a0ceac3167
most of Tree.newt working
2024-10-16 21:27:05 -07:00
558e7722b8
[ unify ] Don't add constraints for vvar with spine. Constrain vvar instead of η expanding.
2024-10-16 21:26:53 -07:00
7a8acd4c6f
something else to fix
2024-10-12 22:16:46 -07:00
125a8c5ac5
Fix issue where top level is expanded, but stuck on Case
2024-10-08 21:18:17 -07:00
75015f094a
more test cases, problem in Tree.newt
2024-10-07 20:59:50 -07:00
151f678f75
Work on usable codegen
...
- escape js names
- executable output
- better FC in parsing
- experiment with IO
2024-09-29 22:17:51 -07:00
9087ee6490
imports
2024-09-29 07:17:55 -07:00
beb7b1a623
1 + 1 = 2
2024-09-28 21:18:03 -07:00
eb281fa3b3
Drop incompatible constructors in case
2024-09-27 20:50:57 -07:00
0e3a9fe605
notes on typeclass
2024-09-23 22:00:29 -07:00