{"id":20091602,"url":"https://github.com/petertseng/adventofcode-hs-2017","last_synced_at":"2025-07-27T19:33:34.518Z","repository":{"id":72892823,"uuid":"226423527","full_name":"petertseng/adventofcode-hs-2017","owner":"petertseng","description":"Solutions to https://adventofcode.com/2017 (all but day 21, unlikely to add day 21 due to lack of interest)","archived":false,"fork":false,"pushed_at":"2024-12-11T08:43:32.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-25T00:48:10.596Z","etag":null,"topics":["advent-of-code","advent-of-code-2017","haskell"],"latest_commit_sha":null,"homepage":"https://adventofcode.com/2017","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/petertseng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-06T22:46:48.000Z","updated_at":"2024-12-11T08:43:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"fa70f9ba-1b08-4d9d-b53b-7d061771b229","html_url":"https://github.com/petertseng/adventofcode-hs-2017","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/petertseng/adventofcode-hs-2017","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petertseng%2Fadventofcode-hs-2017","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petertseng%2Fadventofcode-hs-2017/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petertseng%2Fadventofcode-hs-2017/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petertseng%2Fadventofcode-hs-2017/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/petertseng","download_url":"https://codeload.github.com/petertseng/adventofcode-hs-2017/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petertseng%2Fadventofcode-hs-2017/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265728833,"owners_count":23818730,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["advent-of-code","advent-of-code-2017","haskell"],"created_at":"2024-11-13T16:33:39.410Z","updated_at":"2025-07-18T08:33:41.793Z","avatar_url":"https://github.com/petertseng.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Advent of Code\n\nThese are my solutions to http://adventofcode.com\n\nAll solutions are written in Haskell.\n\n[![Build Status](https://travis-ci.org/petertseng/adventofcode-hs-2017.svg?branch=master)](https://travis-ci.org/petertseng/adventofcode-hs-2017)\n\n## Input\n\nIn general, all solutions can be invoked in both of the following ways:\n\n* Without command-line arguments, takes input on standard input.\n* With 1+ command-line arguments, reads input from the first, which must be the path to an input file.\n  Arguments beyond the first are ignored.\n\nSome may additionally support other ways:\n\nNone yet.\n\n## Highlights\n\nNone yet.\n\n### Packages\n\nAs of 2019, building Haskell packages on my development machine is (mostly) broken, so I was forced to implement the following days without packages, when I otherwise would have preferred to use packages:\n\nNone yet.\n\n### Closing Thoughts\n\nEven when knot-tying is not directly possible, passing back a function that allows the function to pick up where it left off is a very interesting pattern.\n\nImmutable array updates copy the entire array, so don't do that.\nMutable array updates or IntMap, depending on what's appropriate.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetertseng%2Fadventofcode-hs-2017","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpetertseng%2Fadventofcode-hs-2017","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetertseng%2Fadventofcode-hs-2017/lists"}