Skip to content

Commit

Permalink
Upgrade deps
Browse files Browse the repository at this point in the history
  • Loading branch information
drewolson committed Jul 22, 2024
1 parent 694b240 commit 5c232ed
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ dune test
## Create Local Switch

```
opam switch create ./ ocaml-base-compiler.5.2.0 --deps-only
opam switch create ./ ocaml-base-compiler.5.2.0 --deps-only --locked
```

## Install New Dependencies

```
opam install . --deps-only
opam install . --deps-only --locked
```

## Lock New Dependencies
Expand Down
18 changes: 9 additions & 9 deletions aoc.opam.locked
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
opam-version: "2.0"
name: "aoc"
version: "~dev"
version: "dev"
synopsis: "Advent of Code in Ocaml"
maintainer: "Drew Olson"
authors: "Drew Olson"
Expand All @@ -9,21 +9,21 @@ homepage: "https://github.com/drewolson/aoc-ocaml"
bug-reports: "https://github.com/drewolson/aoc-ocaml/issues"
depends: [
"angstrom" {= "0.16.0"}
"core" {= "v0.16.2"}
"core_bench" {= "v0.16.0"}
"core_kernel" {= "v0.16.0"}
"core_unix" {= "v0.16.0"}
"dune" {= "3.15.2"}
"core" {= "v0.17.1"}
"core_bench" {= "v0.17.0"}
"core_kernel" {= "v0.17.0"}
"core_unix" {= "v0.17.0"}
"dune" {= "3.16.0"}
"ocaml" {= "5.2.0"}
"ocaml-lsp-server" {= "1.18.0~5.2preview"}
"ocamlformat" {= "0.26.2"}
"odig" {= "0.0.9"}
"odoc" {= "2.4.2"}
"pcre" {= "7.5.0"}
"ppx_jane" {= "v0.16.0"}
"ppx_jane" {= "v0.17.0"}
"utop" {= "2.14.0"}
"z3" {= "4.13.0"}
"zarith" {= "1.13"}
"z3" {= "4.13.0-3"}
"zarith" {= "1.14"}
]
build: [
["dune" "subst"] {dev}
Expand Down
2 changes: 1 addition & 1 deletion lib/year2022/day06.ml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module CharSet = Set.Make (Char)

let is_unique l = List.equal Char.equal (CharSet.stable_dedup_list l) l
let is_unique l = List.stable_dedup ~compare:Char.compare l |> List.equal Char.equal l

let find_char i =
let rec find_char' n l =
Expand Down

0 comments on commit 5c232ed

Please sign in to comment.