General revisions, improve README

This commit is contained in:
Nathan McCarty 2025-01-23 00:57:16 -05:00
parent 9e9d13c45d
commit 1ee2d1b1e9
3 changed files with 68 additions and 5 deletions

View file

@ -1,4 +1,8 @@
# [Year 2015 Day 6](https://adventofcode.com/2015/day/6)
# \[Year 2015 Day 6\](https://adventofcode.com/2015/day/
6.
Introduction to the advent of code classic 2d grid problem.
<!-- idris
module Years.Y2015.Day6

View file

@ -1,4 +1,6 @@
# [Year 2015 Day 7](https://adventofcode.com/2015/day/7)
# \[Year 2015 Day 7\](https://adventofcode.com/2015/day/
7.
This day provides us a gentle introduction to dependent maps.
@ -53,7 +55,10 @@ Input : Type
Input = Either Literal Wire
```
Description of a Gate, tagged in the type with the name of the output wire
Description of a Gate, tagged in the type with the name of the output wire.
This creates what is referred to as an "indexed type family", in this case a
family of `Gate` types indexed by values of type `Wire`.
```idris
data Gate : Wire -> Type where