From 171a6212b5bf51e479883a750014d91ee1aba0ea Mon Sep 17 00:00:00 2001 From: Louis Pilfold Date: Sun, 5 Nov 2023 18:37:49 +0000 Subject: [PATCH] Update for Gleam v0.32 --- .github/workflows/test.yml | 2 +- .../src/exercise_generator.gleam | 6 +++--- exercises/concept/bandwagoner/gleam.toml | 1 + exercises/concept/bandwagoner/manifest.toml | 14 +++++++------- exercises/concept/bettys-bike-shop/gleam.toml | 1 + .../concept/bettys-bike-shop/manifest.toml | 18 +++++++++--------- exercises/concept/bird-count/gleam.toml | 1 + exercises/concept/bird-count/manifest.toml | 16 ++++++++-------- .../boutique-inventory/.meta/example.gleam | 2 +- .../concept/boutique-inventory/gleam.toml | 1 + .../concept/boutique-inventory/manifest.toml | 16 ++++++++-------- .../src/boutique_inventory.gleam | 2 +- exercises/concept/dna-encoding/gleam.toml | 1 + exercises/concept/dna-encoding/manifest.toml | 16 ++++++++-------- .../dna-encoding/src/dna_encoding.gleam | 4 ++-- exercises/concept/erlang-extraction/gleam.toml | 1 + .../concept/erlang-extraction/manifest.toml | 18 +++++++++--------- .../test/erlang_extraction_test.gleam | 2 +- .../concept/expert-experiments/gleam.toml | 1 + .../concept/expert-experiments/manifest.toml | 16 ++++++++-------- exercises/concept/go/gleam.toml | 1 + exercises/concept/go/manifest.toml | 18 +++++++++--------- exercises/concept/go/test/go_test.gleam | 2 +- .../gotta-snatch-em-all/.meta/example.gleam | 2 +- .../concept/gotta-snatch-em-all/gleam.toml | 1 + .../concept/gotta-snatch-em-all/manifest.toml | 14 +++++++------- .../src/gotta_snatch_em_all.gleam | 2 +- exercises/concept/guessing-game/gleam.toml | 1 + exercises/concept/guessing-game/manifest.toml | 18 +++++++++--------- .../concept/high-school-sweetheart/gleam.toml | 1 + .../high-school-sweetheart/manifest.toml | 16 ++++++++-------- .../high-score-board/.meta/example.gleam | 2 +- exercises/concept/high-score-board/gleam.toml | 1 + .../concept/high-score-board/manifest.toml | 16 ++++++++-------- .../src/high_score_board.gleam | 2 +- exercises/concept/lasagna/gleam.toml | 1 + exercises/concept/lasagna/manifest.toml | 16 ++++++++-------- exercises/concept/log-levels/gleam.toml | 1 + exercises/concept/log-levels/manifest.toml | 14 +++++++------- exercises/concept/log-parser/gleam.toml | 1 + exercises/concept/log-parser/manifest.toml | 18 +++++++++--------- .../magician-in-training/.meta/example.gleam | 2 +- .../concept/magician-in-training/gleam.toml | 1 + .../concept/magician-in-training/manifest.toml | 18 +++++++++--------- .../src/magician_in_training.gleam | 2 +- exercises/concept/newsletter/gleam.toml | 1 + exercises/concept/newsletter/manifest.toml | 16 ++++++++-------- exercises/concept/pacman-rules/gleam.toml | 1 + exercises/concept/pacman-rules/manifest.toml | 14 +++++++------- exercises/concept/pizza-pricing/gleam.toml | 1 + exercises/concept/pizza-pricing/manifest.toml | 16 ++++++++-------- .../role-playing-game/.meta/example.gleam | 2 +- exercises/concept/role-playing-game/gleam.toml | 1 + .../concept/role-playing-game/manifest.toml | 14 +++++++------- .../src/role_playing_game.gleam | 2 +- exercises/concept/secrets/gleam.toml | 1 + exercises/concept/secrets/manifest.toml | 16 ++++++++-------- .../concept/secure-treasure-chest/gleam.toml | 1 + .../secure-treasure-chest/manifest.toml | 18 +++++++++--------- exercises/concept/spring-cleaning/gleam.toml | 1 + exercises/concept/sticker-shop/gleam.toml | 1 + .../sticker-shop/test/sticker_shop_test.gleam | 2 +- .../concept/tisbury-treasure-hunt/gleam.toml | 1 + .../tracks-on-tracks-on-tracks/gleam.toml | 1 + exercises/concept/treasure-chest/gleam.toml | 1 + exercises/concept/valentines-day/gleam.toml | 1 + .../weather-ranking/.meta/example.gleam | 2 +- exercises/concept/weather-ranking/gleam.toml | 1 + .../weather-ranking/src/weather_ranking.gleam | 2 +- exercises/concept/wine-cellar/gleam.toml | 1 + exercises/practice/accumulate/gleam.toml | 1 + exercises/practice/acronym/gleam.toml | 1 + exercises/practice/affine-cipher/gleam.toml | 1 + exercises/practice/all-your-base/gleam.toml | 1 + exercises/practice/allergies/gleam.toml | 1 + .../practice/alphametics/.meta/example.gleam | 4 ++-- exercises/practice/alphametics/gleam.toml | 1 + exercises/practice/anagram/gleam.toml | 1 + .../practice/armstrong-numbers/gleam.toml | 1 + .../practice/atbash-cipher/.meta/example.gleam | 2 +- exercises/practice/atbash-cipher/gleam.toml | 1 + .../practice/binary-search-tree/gleam.toml | 1 + exercises/practice/bob/gleam.toml | 1 + exercises/practice/book-store/gleam.toml | 1 + exercises/practice/bottle-song/gleam.toml | 1 + exercises/practice/bowling/gleam.toml | 1 + .../practice/bowling/test/bowling_test.gleam | 3 ++- exercises/practice/change/.meta/example.gleam | 2 +- exercises/practice/change/gleam.toml | 1 + .../circular-buffer/.meta/example.gleam | 2 +- exercises/practice/circular-buffer/gleam.toml | 1 + exercises/practice/clock/gleam.toml | 1 + .../practice/collatz-conjecture/gleam.toml | 1 + exercises/practice/connect/.meta/example.gleam | 2 +- exercises/practice/connect/gleam.toml | 1 + exercises/practice/crypto-square/gleam.toml | 1 + .../practice/custom-set/.meta/example.gleam | 2 +- exercises/practice/custom-set/gleam.toml | 1 + exercises/practice/darts/gleam.toml | 1 + exercises/practice/diamond/gleam.toml | 1 + .../practice/difference-of-squares/gleam.toml | 1 + exercises/practice/dnd-character/gleam.toml | 1 + exercises/practice/dominoes/gleam.toml | 1 + exercises/practice/etl/.meta/example.gleam | 2 +- exercises/practice/etl/gleam.toml | 1 + exercises/practice/etl/src/etl.gleam | 2 +- exercises/practice/flatten-array/gleam.toml | 1 + exercises/practice/forth/gleam.toml | 1 + exercises/practice/freelancer-rates/gleam.toml | 1 + .../practice/grade-school/.meta/example.gleam | 2 +- exercises/practice/grade-school/gleam.toml | 1 + exercises/practice/grains/gleam.toml | 1 + exercises/practice/hamming/gleam.toml | 1 + exercises/practice/hello-world/gleam.toml | 1 + exercises/practice/high-scores/gleam.toml | 1 + exercises/practice/house/gleam.toml | 1 + exercises/practice/isbn-verifier/gleam.toml | 1 + exercises/practice/isogram/gleam.toml | 1 + .../practice/killer-sudoku-helper/gleam.toml | 1 + .../practice/kindergarten-garden/gleam.toml | 1 + exercises/practice/knapsack/gleam.toml | 1 + .../practice/largest-series-product/gleam.toml | 1 + exercises/practice/leap/gleam.toml | 1 + exercises/practice/list-ops/gleam.toml | 1 + exercises/practice/luhn/gleam.toml | 1 + .../practice/matching-brackets/gleam.toml | 1 + exercises/practice/matrix/gleam.toml | 1 + .../practice/minesweeper/.meta/example.gleam | 2 +- exercises/practice/minesweeper/gleam.toml | 1 + .../practice/nth-prime/.meta/example.gleam | 2 +- exercises/practice/nth-prime/gleam.toml | 1 + .../nucleotide-count/.meta/example.gleam | 2 +- exercises/practice/nucleotide-count/gleam.toml | 1 + .../src/nucleotide_count.gleam | 2 +- exercises/practice/ocr-numbers/gleam.toml | 1 + exercises/practice/pangram/gleam.toml | 1 + exercises/practice/pascals-triangle/gleam.toml | 1 + exercises/practice/perfect-numbers/gleam.toml | 1 + exercises/practice/phone-number/gleam.toml | 1 + exercises/practice/pig-latin/gleam.toml | 1 + exercises/practice/pop-count/gleam.toml | 1 + exercises/practice/pov/gleam.toml | 1 + exercises/practice/pov/test/pov_test.gleam | 2 +- exercises/practice/prime-factors/gleam.toml | 1 + .../practice/protein-translation/gleam.toml | 1 + exercises/practice/proverb/gleam.toml | 1 + .../practice/pythagorean-triplet/gleam.toml | 1 + exercises/practice/queen-attack/gleam.toml | 1 + exercises/practice/raindrops/gleam.toml | 1 + .../practice/rectangles/.meta/example.gleam | 2 +- exercises/practice/rectangles/gleam.toml | 1 + .../practice/resistor-color-duo/gleam.toml | 1 + .../practice/resistor-color-trio/gleam.toml | 1 + exercises/practice/resistor-color/gleam.toml | 1 + .../reverse-string/.meta/example.gleam | 4 ++-- exercises/practice/reverse-string/gleam.toml | 1 + .../practice/rna-transcription/gleam.toml | 1 + exercises/practice/robot-simulator/gleam.toml | 1 + exercises/practice/roman-numerals/gleam.toml | 1 + .../rotational-cipher/.meta/example.gleam | 2 +- .../practice/rotational-cipher/gleam.toml | 1 + .../practice/run-length-encoding/gleam.toml | 1 + exercises/practice/saddle-points/gleam.toml | 1 + exercises/practice/satellite/gleam.toml | 1 + exercises/practice/say/gleam.toml | 1 + .../scrabble-score/.meta/example.gleam | 10 +++++----- exercises/practice/scrabble-score/gleam.toml | 1 + exercises/practice/secret-handshake/gleam.toml | 1 + exercises/practice/series/gleam.toml | 1 + exercises/practice/simple-cipher/gleam.toml | 1 + exercises/practice/space-age/gleam.toml | 1 + exercises/practice/square-root/gleam.toml | 1 + exercises/practice/strain/gleam.toml | 1 + exercises/practice/sublist/gleam.toml | 1 + .../sum-of-multiples/.meta/example.gleam | 2 +- exercises/practice/sum-of-multiples/gleam.toml | 1 + .../practice/tournament/.meta/example.gleam | 6 +++--- exercises/practice/tournament/gleam.toml | 1 + exercises/practice/triangle/gleam.toml | 1 + exercises/practice/twelve-days/gleam.toml | 1 + exercises/practice/two-fer/.meta/example.gleam | 2 +- exercises/practice/two-fer/gleam.toml | 1 + exercises/practice/two-fer/src/two_fer.gleam | 2 +- .../variable-length-quantity/gleam.toml | 1 + .../src/variable_length_quantity.gleam | 4 ++-- .../practice/word-count/.meta/example.gleam | 2 +- exercises/practice/word-count/gleam.toml | 1 + .../practice/word-count/src/word_count.gleam | 2 +- exercises/practice/wordy/gleam.toml | 1 + exercises/practice/yacht/gleam.toml | 1 + exercises/practice/zipper/gleam.toml | 1 + 191 files changed, 360 insertions(+), 234 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 25d796b48..1bfbf1267 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,7 +17,7 @@ jobs: - uses: erlef/setup-beam@61e01a43a562a89bfc54c7f9a378ff67b03e4a21 with: otp-version: "25.2" - gleam-version: "0.30.3" + gleam-version: "0.32.0" elixir-version: "1.15.0" - name: Run tests for all exercises diff --git a/exercise_generator/src/exercise_generator.gleam b/exercise_generator/src/exercise_generator.gleam index fcafaacef..13e57f791 100644 --- a/exercise_generator/src/exercise_generator.gleam +++ b/exercise_generator/src/exercise_generator.gleam @@ -1,5 +1,5 @@ import gleam/io -import gleam/map.{Map} +import gleam/map.{type Map} import gleam/function import gleam/list import gleam/int @@ -7,9 +7,9 @@ import gleam/float import gleam/string import gleam/result import gleam/erlang -import gleam/erlang/file.{Reason} +import gleam/erlang/file.{type Reason} import gleam/json -import gleam/dynamic.{DecodeError, Dynamic} +import gleam/dynamic.{type DecodeError, type Dynamic} // Types diff --git a/exercises/concept/bandwagoner/gleam.toml b/exercises/concept/bandwagoner/gleam.toml index caabc5502..5de207dc9 100644 --- a/exercises/concept/bandwagoner/gleam.toml +++ b/exercises/concept/bandwagoner/gleam.toml @@ -1,5 +1,6 @@ name = "bandwagoner" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/concept/bandwagoner/manifest.toml b/exercises/concept/bandwagoner/manifest.toml index a8cdf8b1d..8930f26b1 100644 --- a/exercises/concept/bandwagoner/manifest.toml +++ b/exercises/concept/bandwagoner/manifest.toml @@ -2,16 +2,16 @@ # You typically do not need to edit this file packages = [ - { name = "exercism_test_runner", version = "1.4.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "glance", "gleam_json", "gleam_community_ansi", "gleam_stdlib", "simplifile", "gap"], otp_app = "exercism_test_runner", source = "hex", outer_checksum = "336FBF790841C2DC25EB77B35E76A09EFDB9771D7D813E0FDBC71A50CB79711D" }, + { name = "exercism_test_runner", version = "1.4.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "gleam_stdlib", "gleam_community_ansi", "glance", "gap", "gleam_json", "simplifile"], otp_app = "exercism_test_runner", source = "hex", outer_checksum = "336FBF790841C2DC25EB77B35E76A09EFDB9771D7D813E0FDBC71A50CB79711D" }, { name = "gap", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_community_ansi", "gleam_stdlib"], otp_app = "gap", source = "hex", outer_checksum = "AF290C27B3FAE5FE64E1B7E9C70A9E29AA0F42429C0592D375770C1C51B79D36" }, - { name = "glance", version = "0.7.1", build_tools = ["gleam"], requirements = ["gleam_stdlib", "glexer"], otp_app = "glance", source = "hex", outer_checksum = "B646A08970990D9D7A103443C5CD46F9D4297BF05F188767777FCC14ADF395EA" }, + { name = "glance", version = "0.8.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "glexer"], otp_app = "glance", source = "hex", outer_checksum = "C78390EAF236A74CE7E8FD7AB07D1D1A494E6C82415B33BA6BB6923275B9FE3B" }, { name = "gleam_bitwise", version = "1.3.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_bitwise", source = "hex", outer_checksum = "E2A46EE42E5E9110DAD67E0F71E7358CBE54D5EC22C526DD48CBBA3223025792" }, - { name = "gleam_community_ansi", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_bitwise", "gleam_community_colour"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "6E4E0CF2B207C1A7FCD3C21AA43514D67BC7004F21F82045CDCCE6C727A14862" }, - { name = "gleam_community_colour", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_bitwise"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "D27CE357ECB343929A8CEC3FBA0B499943A47F0EE1F589EE16AFC2DC21C61E5B" }, - { name = "gleam_erlang", version = "0.22.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "367D8B41A7A86809928ED1E7E55BFD0D46D7C4CF473440190F324AFA347109B4" }, - { name = "gleam_json", version = "0.6.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "thoas"], otp_app = "gleam_json", source = "hex", outer_checksum = "C6CC5BEECA525117E97D0905013AB3F8836537455645DDDD10FE31A511B195EF" }, + { name = "gleam_community_ansi", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_community_colour"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "8B5A9677BC5A2738712BBAF2BA289B1D8195FDF962BBC769569976AD5E9794E1" }, + { name = "gleam_community_colour", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "036C206886AFB9F153C552700A7A0B4D2864E3BC96A20C77E5F34A013C051BE3" }, + { name = "gleam_erlang", version = "0.23.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "DA7A8E5540948DE10EB01B530869F8FF2FF6CAD8CFDA87626CE6EF63EBBF87CB" }, + { name = "gleam_json", version = "0.7.0", build_tools = ["gleam"], requirements = ["thoas", "gleam_stdlib"], otp_app = "gleam_json", source = "hex", outer_checksum = "CB405BD93A8828BCD870463DE29375E7B2D252D9D124C109E5B618AAC00B86FC" }, { name = "gleam_otp", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "gleam_stdlib"], otp_app = "gleam_otp", source = "hex", outer_checksum = "ED7381E90636E18F5697FD7956EECCA635A3B65538DC2BE2D91A38E61DCE8903" }, - { name = "gleam_stdlib", version = "0.31.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "6D1BC5B4D4179B9FEE866B1E69FE180AC2CE485AD90047C0B32B2CA984052736" }, + { name = "gleam_stdlib", version = "0.32.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "07D64C26D014CF570F8ACADCE602761EA2E74C842D26F2FD49B0D61973D9966F" }, { name = "glexer", version = "0.6.2", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "glexer", source = "hex", outer_checksum = "703D2347F5180B2BCEA4D258549B0D91DACD0905010892BAC46D04D913B84D1F" }, { name = "simplifile", version = "0.1.14", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "simplifile", source = "hex", outer_checksum = "10EA0207796F20488A3A166C50A189C9385333F3C9FAC187729DE7B9CE4ADDBC" }, { name = "thoas", version = "0.4.1", build_tools = ["rebar3"], requirements = [], otp_app = "thoas", source = "hex", outer_checksum = "4918D50026C073C4AB1388437132C77A6F6F7C8AC43C60C13758CC0ADCE2134E" }, diff --git a/exercises/concept/bettys-bike-shop/gleam.toml b/exercises/concept/bettys-bike-shop/gleam.toml index e8e11ad02..958976968 100644 --- a/exercises/concept/bettys-bike-shop/gleam.toml +++ b/exercises/concept/bettys-bike-shop/gleam.toml @@ -1,5 +1,6 @@ name = "bettys_bike_shop" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/concept/bettys-bike-shop/manifest.toml b/exercises/concept/bettys-bike-shop/manifest.toml index a8cdf8b1d..ec11c8810 100644 --- a/exercises/concept/bettys-bike-shop/manifest.toml +++ b/exercises/concept/bettys-bike-shop/manifest.toml @@ -2,16 +2,16 @@ # You typically do not need to edit this file packages = [ - { name = "exercism_test_runner", version = "1.4.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "glance", "gleam_json", "gleam_community_ansi", "gleam_stdlib", "simplifile", "gap"], otp_app = "exercism_test_runner", source = "hex", outer_checksum = "336FBF790841C2DC25EB77B35E76A09EFDB9771D7D813E0FDBC71A50CB79711D" }, - { name = "gap", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_community_ansi", "gleam_stdlib"], otp_app = "gap", source = "hex", outer_checksum = "AF290C27B3FAE5FE64E1B7E9C70A9E29AA0F42429C0592D375770C1C51B79D36" }, - { name = "glance", version = "0.7.1", build_tools = ["gleam"], requirements = ["gleam_stdlib", "glexer"], otp_app = "glance", source = "hex", outer_checksum = "B646A08970990D9D7A103443C5CD46F9D4297BF05F188767777FCC14ADF395EA" }, + { name = "exercism_test_runner", version = "1.4.0", build_tools = ["gleam"], requirements = ["gap", "gleam_stdlib", "glance", "gleam_json", "simplifile", "gleam_community_ansi", "gleam_erlang"], otp_app = "exercism_test_runner", source = "hex", outer_checksum = "336FBF790841C2DC25EB77B35E76A09EFDB9771D7D813E0FDBC71A50CB79711D" }, + { name = "gap", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_community_ansi"], otp_app = "gap", source = "hex", outer_checksum = "AF290C27B3FAE5FE64E1B7E9C70A9E29AA0F42429C0592D375770C1C51B79D36" }, + { name = "glance", version = "0.8.0", build_tools = ["gleam"], requirements = ["glexer", "gleam_stdlib"], otp_app = "glance", source = "hex", outer_checksum = "C78390EAF236A74CE7E8FD7AB07D1D1A494E6C82415B33BA6BB6923275B9FE3B" }, { name = "gleam_bitwise", version = "1.3.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_bitwise", source = "hex", outer_checksum = "E2A46EE42E5E9110DAD67E0F71E7358CBE54D5EC22C526DD48CBBA3223025792" }, - { name = "gleam_community_ansi", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_bitwise", "gleam_community_colour"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "6E4E0CF2B207C1A7FCD3C21AA43514D67BC7004F21F82045CDCCE6C727A14862" }, - { name = "gleam_community_colour", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_bitwise"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "D27CE357ECB343929A8CEC3FBA0B499943A47F0EE1F589EE16AFC2DC21C61E5B" }, - { name = "gleam_erlang", version = "0.22.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "367D8B41A7A86809928ED1E7E55BFD0D46D7C4CF473440190F324AFA347109B4" }, - { name = "gleam_json", version = "0.6.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "thoas"], otp_app = "gleam_json", source = "hex", outer_checksum = "C6CC5BEECA525117E97D0905013AB3F8836537455645DDDD10FE31A511B195EF" }, - { name = "gleam_otp", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "gleam_stdlib"], otp_app = "gleam_otp", source = "hex", outer_checksum = "ED7381E90636E18F5697FD7956EECCA635A3B65538DC2BE2D91A38E61DCE8903" }, - { name = "gleam_stdlib", version = "0.31.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "6D1BC5B4D4179B9FEE866B1E69FE180AC2CE485AD90047C0B32B2CA984052736" }, + { name = "gleam_community_ansi", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_community_colour"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "8B5A9677BC5A2738712BBAF2BA289B1D8195FDF962BBC769569976AD5E9794E1" }, + { name = "gleam_community_colour", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "036C206886AFB9F153C552700A7A0B4D2864E3BC96A20C77E5F34A013C051BE3" }, + { name = "gleam_erlang", version = "0.23.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "DA7A8E5540948DE10EB01B530869F8FF2FF6CAD8CFDA87626CE6EF63EBBF87CB" }, + { name = "gleam_json", version = "0.7.0", build_tools = ["gleam"], requirements = ["thoas", "gleam_stdlib"], otp_app = "gleam_json", source = "hex", outer_checksum = "CB405BD93A8828BCD870463DE29375E7B2D252D9D124C109E5B618AAC00B86FC" }, + { name = "gleam_otp", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_erlang"], otp_app = "gleam_otp", source = "hex", outer_checksum = "ED7381E90636E18F5697FD7956EECCA635A3B65538DC2BE2D91A38E61DCE8903" }, + { name = "gleam_stdlib", version = "0.32.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "07D64C26D014CF570F8ACADCE602761EA2E74C842D26F2FD49B0D61973D9966F" }, { name = "glexer", version = "0.6.2", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "glexer", source = "hex", outer_checksum = "703D2347F5180B2BCEA4D258549B0D91DACD0905010892BAC46D04D913B84D1F" }, { name = "simplifile", version = "0.1.14", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "simplifile", source = "hex", outer_checksum = "10EA0207796F20488A3A166C50A189C9385333F3C9FAC187729DE7B9CE4ADDBC" }, { name = "thoas", version = "0.4.1", build_tools = ["rebar3"], requirements = [], otp_app = "thoas", source = "hex", outer_checksum = "4918D50026C073C4AB1388437132C77A6F6F7C8AC43C60C13758CC0ADCE2134E" }, diff --git a/exercises/concept/bird-count/gleam.toml b/exercises/concept/bird-count/gleam.toml index f2df46fa9..1c130516b 100644 --- a/exercises/concept/bird-count/gleam.toml +++ b/exercises/concept/bird-count/gleam.toml @@ -1,5 +1,6 @@ name = "bird_count" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/concept/bird-count/manifest.toml b/exercises/concept/bird-count/manifest.toml index a8cdf8b1d..4c0624a44 100644 --- a/exercises/concept/bird-count/manifest.toml +++ b/exercises/concept/bird-count/manifest.toml @@ -2,16 +2,16 @@ # You typically do not need to edit this file packages = [ - { name = "exercism_test_runner", version = "1.4.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "glance", "gleam_json", "gleam_community_ansi", "gleam_stdlib", "simplifile", "gap"], otp_app = "exercism_test_runner", source = "hex", outer_checksum = "336FBF790841C2DC25EB77B35E76A09EFDB9771D7D813E0FDBC71A50CB79711D" }, + { name = "exercism_test_runner", version = "1.4.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gap", "gleam_community_ansi", "glance", "gleam_json", "simplifile", "gleam_erlang"], otp_app = "exercism_test_runner", source = "hex", outer_checksum = "336FBF790841C2DC25EB77B35E76A09EFDB9771D7D813E0FDBC71A50CB79711D" }, { name = "gap", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_community_ansi", "gleam_stdlib"], otp_app = "gap", source = "hex", outer_checksum = "AF290C27B3FAE5FE64E1B7E9C70A9E29AA0F42429C0592D375770C1C51B79D36" }, - { name = "glance", version = "0.7.1", build_tools = ["gleam"], requirements = ["gleam_stdlib", "glexer"], otp_app = "glance", source = "hex", outer_checksum = "B646A08970990D9D7A103443C5CD46F9D4297BF05F188767777FCC14ADF395EA" }, + { name = "glance", version = "0.8.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "glexer"], otp_app = "glance", source = "hex", outer_checksum = "C78390EAF236A74CE7E8FD7AB07D1D1A494E6C82415B33BA6BB6923275B9FE3B" }, { name = "gleam_bitwise", version = "1.3.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_bitwise", source = "hex", outer_checksum = "E2A46EE42E5E9110DAD67E0F71E7358CBE54D5EC22C526DD48CBBA3223025792" }, - { name = "gleam_community_ansi", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_bitwise", "gleam_community_colour"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "6E4E0CF2B207C1A7FCD3C21AA43514D67BC7004F21F82045CDCCE6C727A14862" }, - { name = "gleam_community_colour", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_bitwise"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "D27CE357ECB343929A8CEC3FBA0B499943A47F0EE1F589EE16AFC2DC21C61E5B" }, - { name = "gleam_erlang", version = "0.22.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "367D8B41A7A86809928ED1E7E55BFD0D46D7C4CF473440190F324AFA347109B4" }, - { name = "gleam_json", version = "0.6.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "thoas"], otp_app = "gleam_json", source = "hex", outer_checksum = "C6CC5BEECA525117E97D0905013AB3F8836537455645DDDD10FE31A511B195EF" }, - { name = "gleam_otp", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "gleam_stdlib"], otp_app = "gleam_otp", source = "hex", outer_checksum = "ED7381E90636E18F5697FD7956EECCA635A3B65538DC2BE2D91A38E61DCE8903" }, - { name = "gleam_stdlib", version = "0.31.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "6D1BC5B4D4179B9FEE866B1E69FE180AC2CE485AD90047C0B32B2CA984052736" }, + { name = "gleam_community_ansi", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_community_colour", "gleam_stdlib"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "8B5A9677BC5A2738712BBAF2BA289B1D8195FDF962BBC769569976AD5E9794E1" }, + { name = "gleam_community_colour", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "036C206886AFB9F153C552700A7A0B4D2864E3BC96A20C77E5F34A013C051BE3" }, + { name = "gleam_erlang", version = "0.23.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "DA7A8E5540948DE10EB01B530869F8FF2FF6CAD8CFDA87626CE6EF63EBBF87CB" }, + { name = "gleam_json", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "thoas"], otp_app = "gleam_json", source = "hex", outer_checksum = "CB405BD93A8828BCD870463DE29375E7B2D252D9D124C109E5B618AAC00B86FC" }, + { name = "gleam_otp", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_erlang"], otp_app = "gleam_otp", source = "hex", outer_checksum = "ED7381E90636E18F5697FD7956EECCA635A3B65538DC2BE2D91A38E61DCE8903" }, + { name = "gleam_stdlib", version = "0.32.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "07D64C26D014CF570F8ACADCE602761EA2E74C842D26F2FD49B0D61973D9966F" }, { name = "glexer", version = "0.6.2", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "glexer", source = "hex", outer_checksum = "703D2347F5180B2BCEA4D258549B0D91DACD0905010892BAC46D04D913B84D1F" }, { name = "simplifile", version = "0.1.14", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "simplifile", source = "hex", outer_checksum = "10EA0207796F20488A3A166C50A189C9385333F3C9FAC187729DE7B9CE4ADDBC" }, { name = "thoas", version = "0.4.1", build_tools = ["rebar3"], requirements = [], otp_app = "thoas", source = "hex", outer_checksum = "4918D50026C073C4AB1388437132C77A6F6F7C8AC43C60C13758CC0ADCE2134E" }, diff --git a/exercises/concept/boutique-inventory/.meta/example.gleam b/exercises/concept/boutique-inventory/.meta/example.gleam index fc77815ee..f9e45c0ed 100644 --- a/exercises/concept/boutique-inventory/.meta/example.gleam +++ b/exercises/concept/boutique-inventory/.meta/example.gleam @@ -1,4 +1,4 @@ -import gleam/iterator.{Iterator} +import gleam/iterator.{type Iterator} pub type Item { Item(name: String, price: Int, quantity: Int) diff --git a/exercises/concept/boutique-inventory/gleam.toml b/exercises/concept/boutique-inventory/gleam.toml index 9db9fbc6a..f349ec34b 100644 --- a/exercises/concept/boutique-inventory/gleam.toml +++ b/exercises/concept/boutique-inventory/gleam.toml @@ -1,5 +1,6 @@ name = "boutique_inventory" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/concept/boutique-inventory/manifest.toml b/exercises/concept/boutique-inventory/manifest.toml index a8cdf8b1d..12d726736 100644 --- a/exercises/concept/boutique-inventory/manifest.toml +++ b/exercises/concept/boutique-inventory/manifest.toml @@ -2,16 +2,16 @@ # You typically do not need to edit this file packages = [ - { name = "exercism_test_runner", version = "1.4.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "glance", "gleam_json", "gleam_community_ansi", "gleam_stdlib", "simplifile", "gap"], otp_app = "exercism_test_runner", source = "hex", outer_checksum = "336FBF790841C2DC25EB77B35E76A09EFDB9771D7D813E0FDBC71A50CB79711D" }, - { name = "gap", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_community_ansi", "gleam_stdlib"], otp_app = "gap", source = "hex", outer_checksum = "AF290C27B3FAE5FE64E1B7E9C70A9E29AA0F42429C0592D375770C1C51B79D36" }, - { name = "glance", version = "0.7.1", build_tools = ["gleam"], requirements = ["gleam_stdlib", "glexer"], otp_app = "glance", source = "hex", outer_checksum = "B646A08970990D9D7A103443C5CD46F9D4297BF05F188767777FCC14ADF395EA" }, + { name = "exercism_test_runner", version = "1.4.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "simplifile", "gap", "gleam_json", "gleam_stdlib", "gleam_community_ansi", "glance"], otp_app = "exercism_test_runner", source = "hex", outer_checksum = "336FBF790841C2DC25EB77B35E76A09EFDB9771D7D813E0FDBC71A50CB79711D" }, + { name = "gap", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_community_ansi"], otp_app = "gap", source = "hex", outer_checksum = "AF290C27B3FAE5FE64E1B7E9C70A9E29AA0F42429C0592D375770C1C51B79D36" }, + { name = "glance", version = "0.8.0", build_tools = ["gleam"], requirements = ["glexer", "gleam_stdlib"], otp_app = "glance", source = "hex", outer_checksum = "C78390EAF236A74CE7E8FD7AB07D1D1A494E6C82415B33BA6BB6923275B9FE3B" }, { name = "gleam_bitwise", version = "1.3.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_bitwise", source = "hex", outer_checksum = "E2A46EE42E5E9110DAD67E0F71E7358CBE54D5EC22C526DD48CBBA3223025792" }, - { name = "gleam_community_ansi", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_bitwise", "gleam_community_colour"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "6E4E0CF2B207C1A7FCD3C21AA43514D67BC7004F21F82045CDCCE6C727A14862" }, - { name = "gleam_community_colour", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_bitwise"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "D27CE357ECB343929A8CEC3FBA0B499943A47F0EE1F589EE16AFC2DC21C61E5B" }, - { name = "gleam_erlang", version = "0.22.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "367D8B41A7A86809928ED1E7E55BFD0D46D7C4CF473440190F324AFA347109B4" }, - { name = "gleam_json", version = "0.6.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "thoas"], otp_app = "gleam_json", source = "hex", outer_checksum = "C6CC5BEECA525117E97D0905013AB3F8836537455645DDDD10FE31A511B195EF" }, + { name = "gleam_community_ansi", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_community_colour"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "8B5A9677BC5A2738712BBAF2BA289B1D8195FDF962BBC769569976AD5E9794E1" }, + { name = "gleam_community_colour", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "036C206886AFB9F153C552700A7A0B4D2864E3BC96A20C77E5F34A013C051BE3" }, + { name = "gleam_erlang", version = "0.23.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "DA7A8E5540948DE10EB01B530869F8FF2FF6CAD8CFDA87626CE6EF63EBBF87CB" }, + { name = "gleam_json", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "thoas"], otp_app = "gleam_json", source = "hex", outer_checksum = "CB405BD93A8828BCD870463DE29375E7B2D252D9D124C109E5B618AAC00B86FC" }, { name = "gleam_otp", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "gleam_stdlib"], otp_app = "gleam_otp", source = "hex", outer_checksum = "ED7381E90636E18F5697FD7956EECCA635A3B65538DC2BE2D91A38E61DCE8903" }, - { name = "gleam_stdlib", version = "0.31.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "6D1BC5B4D4179B9FEE866B1E69FE180AC2CE485AD90047C0B32B2CA984052736" }, + { name = "gleam_stdlib", version = "0.32.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "07D64C26D014CF570F8ACADCE602761EA2E74C842D26F2FD49B0D61973D9966F" }, { name = "glexer", version = "0.6.2", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "glexer", source = "hex", outer_checksum = "703D2347F5180B2BCEA4D258549B0D91DACD0905010892BAC46D04D913B84D1F" }, { name = "simplifile", version = "0.1.14", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "simplifile", source = "hex", outer_checksum = "10EA0207796F20488A3A166C50A189C9385333F3C9FAC187729DE7B9CE4ADDBC" }, { name = "thoas", version = "0.4.1", build_tools = ["rebar3"], requirements = [], otp_app = "thoas", source = "hex", outer_checksum = "4918D50026C073C4AB1388437132C77A6F6F7C8AC43C60C13758CC0ADCE2134E" }, diff --git a/exercises/concept/boutique-inventory/src/boutique_inventory.gleam b/exercises/concept/boutique-inventory/src/boutique_inventory.gleam index b06247118..40e115171 100644 --- a/exercises/concept/boutique-inventory/src/boutique_inventory.gleam +++ b/exercises/concept/boutique-inventory/src/boutique_inventory.gleam @@ -1,4 +1,4 @@ -import gleam/iterator.{Iterator} +import gleam/iterator.{type Iterator} pub type Item { Item(name: String, price: Int, quantity: Int) diff --git a/exercises/concept/dna-encoding/gleam.toml b/exercises/concept/dna-encoding/gleam.toml index 38d20e71e..33cd8aa8b 100644 --- a/exercises/concept/dna-encoding/gleam.toml +++ b/exercises/concept/dna-encoding/gleam.toml @@ -1,5 +1,6 @@ name = "dna_encoding" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/concept/dna-encoding/manifest.toml b/exercises/concept/dna-encoding/manifest.toml index a8cdf8b1d..4094db62f 100644 --- a/exercises/concept/dna-encoding/manifest.toml +++ b/exercises/concept/dna-encoding/manifest.toml @@ -2,16 +2,16 @@ # You typically do not need to edit this file packages = [ - { name = "exercism_test_runner", version = "1.4.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "glance", "gleam_json", "gleam_community_ansi", "gleam_stdlib", "simplifile", "gap"], otp_app = "exercism_test_runner", source = "hex", outer_checksum = "336FBF790841C2DC25EB77B35E76A09EFDB9771D7D813E0FDBC71A50CB79711D" }, + { name = "exercism_test_runner", version = "1.4.0", build_tools = ["gleam"], requirements = ["gap", "gleam_erlang", "simplifile", "glance", "gleam_json", "gleam_community_ansi", "gleam_stdlib"], otp_app = "exercism_test_runner", source = "hex", outer_checksum = "336FBF790841C2DC25EB77B35E76A09EFDB9771D7D813E0FDBC71A50CB79711D" }, { name = "gap", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_community_ansi", "gleam_stdlib"], otp_app = "gap", source = "hex", outer_checksum = "AF290C27B3FAE5FE64E1B7E9C70A9E29AA0F42429C0592D375770C1C51B79D36" }, - { name = "glance", version = "0.7.1", build_tools = ["gleam"], requirements = ["gleam_stdlib", "glexer"], otp_app = "glance", source = "hex", outer_checksum = "B646A08970990D9D7A103443C5CD46F9D4297BF05F188767777FCC14ADF395EA" }, + { name = "glance", version = "0.8.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "glexer"], otp_app = "glance", source = "hex", outer_checksum = "C78390EAF236A74CE7E8FD7AB07D1D1A494E6C82415B33BA6BB6923275B9FE3B" }, { name = "gleam_bitwise", version = "1.3.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_bitwise", source = "hex", outer_checksum = "E2A46EE42E5E9110DAD67E0F71E7358CBE54D5EC22C526DD48CBBA3223025792" }, - { name = "gleam_community_ansi", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_bitwise", "gleam_community_colour"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "6E4E0CF2B207C1A7FCD3C21AA43514D67BC7004F21F82045CDCCE6C727A14862" }, - { name = "gleam_community_colour", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_bitwise"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "D27CE357ECB343929A8CEC3FBA0B499943A47F0EE1F589EE16AFC2DC21C61E5B" }, - { name = "gleam_erlang", version = "0.22.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "367D8B41A7A86809928ED1E7E55BFD0D46D7C4CF473440190F324AFA347109B4" }, - { name = "gleam_json", version = "0.6.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "thoas"], otp_app = "gleam_json", source = "hex", outer_checksum = "C6CC5BEECA525117E97D0905013AB3F8836537455645DDDD10FE31A511B195EF" }, - { name = "gleam_otp", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "gleam_stdlib"], otp_app = "gleam_otp", source = "hex", outer_checksum = "ED7381E90636E18F5697FD7956EECCA635A3B65538DC2BE2D91A38E61DCE8903" }, - { name = "gleam_stdlib", version = "0.31.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "6D1BC5B4D4179B9FEE866B1E69FE180AC2CE485AD90047C0B32B2CA984052736" }, + { name = "gleam_community_ansi", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_community_colour"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "8B5A9677BC5A2738712BBAF2BA289B1D8195FDF962BBC769569976AD5E9794E1" }, + { name = "gleam_community_colour", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "036C206886AFB9F153C552700A7A0B4D2864E3BC96A20C77E5F34A013C051BE3" }, + { name = "gleam_erlang", version = "0.23.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "DA7A8E5540948DE10EB01B530869F8FF2FF6CAD8CFDA87626CE6EF63EBBF87CB" }, + { name = "gleam_json", version = "0.7.0", build_tools = ["gleam"], requirements = ["thoas", "gleam_stdlib"], otp_app = "gleam_json", source = "hex", outer_checksum = "CB405BD93A8828BCD870463DE29375E7B2D252D9D124C109E5B618AAC00B86FC" }, + { name = "gleam_otp", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_erlang"], otp_app = "gleam_otp", source = "hex", outer_checksum = "ED7381E90636E18F5697FD7956EECCA635A3B65538DC2BE2D91A38E61DCE8903" }, + { name = "gleam_stdlib", version = "0.32.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "07D64C26D014CF570F8ACADCE602761EA2E74C842D26F2FD49B0D61973D9966F" }, { name = "glexer", version = "0.6.2", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "glexer", source = "hex", outer_checksum = "703D2347F5180B2BCEA4D258549B0D91DACD0905010892BAC46D04D913B84D1F" }, { name = "simplifile", version = "0.1.14", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "simplifile", source = "hex", outer_checksum = "10EA0207796F20488A3A166C50A189C9385333F3C9FAC187729DE7B9CE4ADDBC" }, { name = "thoas", version = "0.4.1", build_tools = ["rebar3"], requirements = [], otp_app = "thoas", source = "hex", outer_checksum = "4918D50026C073C4AB1388437132C77A6F6F7C8AC43C60C13758CC0ADCE2134E" }, diff --git a/exercises/concept/dna-encoding/src/dna_encoding.gleam b/exercises/concept/dna-encoding/src/dna_encoding.gleam index 111cd7251..59a239293 100644 --- a/exercises/concept/dna-encoding/src/dna_encoding.gleam +++ b/exercises/concept/dna-encoding/src/dna_encoding.gleam @@ -13,10 +13,10 @@ pub fn decode_nucleotide(nucleotide: Int) -> Result(Nucleotide, Nil) { todo } -pub fn encode(dna: List(Nucleotide)) -> BitString { +pub fn encode(dna: List(Nucleotide)) -> BitArray { todo } -pub fn decode(dna: BitString) -> Result(List(Nucleotide), Nil) { +pub fn decode(dna: BitArray) -> Result(List(Nucleotide), Nil) { todo } diff --git a/exercises/concept/erlang-extraction/gleam.toml b/exercises/concept/erlang-extraction/gleam.toml index c8d905cfc..3e900e620 100644 --- a/exercises/concept/erlang-extraction/gleam.toml +++ b/exercises/concept/erlang-extraction/gleam.toml @@ -1,5 +1,6 @@ name = "erlang_extraction" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/concept/erlang-extraction/manifest.toml b/exercises/concept/erlang-extraction/manifest.toml index a8cdf8b1d..3c6e17e84 100644 --- a/exercises/concept/erlang-extraction/manifest.toml +++ b/exercises/concept/erlang-extraction/manifest.toml @@ -2,16 +2,16 @@ # You typically do not need to edit this file packages = [ - { name = "exercism_test_runner", version = "1.4.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "glance", "gleam_json", "gleam_community_ansi", "gleam_stdlib", "simplifile", "gap"], otp_app = "exercism_test_runner", source = "hex", outer_checksum = "336FBF790841C2DC25EB77B35E76A09EFDB9771D7D813E0FDBC71A50CB79711D" }, - { name = "gap", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_community_ansi", "gleam_stdlib"], otp_app = "gap", source = "hex", outer_checksum = "AF290C27B3FAE5FE64E1B7E9C70A9E29AA0F42429C0592D375770C1C51B79D36" }, - { name = "glance", version = "0.7.1", build_tools = ["gleam"], requirements = ["gleam_stdlib", "glexer"], otp_app = "glance", source = "hex", outer_checksum = "B646A08970990D9D7A103443C5CD46F9D4297BF05F188767777FCC14ADF395EA" }, + { name = "exercism_test_runner", version = "1.4.0", build_tools = ["gleam"], requirements = ["simplifile", "gap", "gleam_community_ansi", "glance", "gleam_erlang", "gleam_json", "gleam_stdlib"], otp_app = "exercism_test_runner", source = "hex", outer_checksum = "336FBF790841C2DC25EB77B35E76A09EFDB9771D7D813E0FDBC71A50CB79711D" }, + { name = "gap", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_community_ansi"], otp_app = "gap", source = "hex", outer_checksum = "AF290C27B3FAE5FE64E1B7E9C70A9E29AA0F42429C0592D375770C1C51B79D36" }, + { name = "glance", version = "0.8.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "glexer"], otp_app = "glance", source = "hex", outer_checksum = "C78390EAF236A74CE7E8FD7AB07D1D1A494E6C82415B33BA6BB6923275B9FE3B" }, { name = "gleam_bitwise", version = "1.3.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_bitwise", source = "hex", outer_checksum = "E2A46EE42E5E9110DAD67E0F71E7358CBE54D5EC22C526DD48CBBA3223025792" }, - { name = "gleam_community_ansi", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_bitwise", "gleam_community_colour"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "6E4E0CF2B207C1A7FCD3C21AA43514D67BC7004F21F82045CDCCE6C727A14862" }, - { name = "gleam_community_colour", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_bitwise"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "D27CE357ECB343929A8CEC3FBA0B499943A47F0EE1F589EE16AFC2DC21C61E5B" }, - { name = "gleam_erlang", version = "0.22.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "367D8B41A7A86809928ED1E7E55BFD0D46D7C4CF473440190F324AFA347109B4" }, - { name = "gleam_json", version = "0.6.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "thoas"], otp_app = "gleam_json", source = "hex", outer_checksum = "C6CC5BEECA525117E97D0905013AB3F8836537455645DDDD10FE31A511B195EF" }, - { name = "gleam_otp", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "gleam_stdlib"], otp_app = "gleam_otp", source = "hex", outer_checksum = "ED7381E90636E18F5697FD7956EECCA635A3B65538DC2BE2D91A38E61DCE8903" }, - { name = "gleam_stdlib", version = "0.31.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "6D1BC5B4D4179B9FEE866B1E69FE180AC2CE485AD90047C0B32B2CA984052736" }, + { name = "gleam_community_ansi", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_community_colour", "gleam_stdlib"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "8B5A9677BC5A2738712BBAF2BA289B1D8195FDF962BBC769569976AD5E9794E1" }, + { name = "gleam_community_colour", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "036C206886AFB9F153C552700A7A0B4D2864E3BC96A20C77E5F34A013C051BE3" }, + { name = "gleam_erlang", version = "0.23.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "DA7A8E5540948DE10EB01B530869F8FF2FF6CAD8CFDA87626CE6EF63EBBF87CB" }, + { name = "gleam_json", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "thoas"], otp_app = "gleam_json", source = "hex", outer_checksum = "CB405BD93A8828BCD870463DE29375E7B2D252D9D124C109E5B618AAC00B86FC" }, + { name = "gleam_otp", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_erlang"], otp_app = "gleam_otp", source = "hex", outer_checksum = "ED7381E90636E18F5697FD7956EECCA635A3B65538DC2BE2D91A38E61DCE8903" }, + { name = "gleam_stdlib", version = "0.32.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "07D64C26D014CF570F8ACADCE602761EA2E74C842D26F2FD49B0D61973D9966F" }, { name = "glexer", version = "0.6.2", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "glexer", source = "hex", outer_checksum = "703D2347F5180B2BCEA4D258549B0D91DACD0905010892BAC46D04D913B84D1F" }, { name = "simplifile", version = "0.1.14", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "simplifile", source = "hex", outer_checksum = "10EA0207796F20488A3A166C50A189C9385333F3C9FAC187729DE7B9CE4ADDBC" }, { name = "thoas", version = "0.4.1", build_tools = ["rebar3"], requirements = [], otp_app = "thoas", source = "hex", outer_checksum = "4918D50026C073C4AB1388437132C77A6F6F7C8AC43C60C13758CC0ADCE2134E" }, diff --git a/exercises/concept/erlang-extraction/test/erlang_extraction_test.gleam b/exercises/concept/erlang-extraction/test/erlang_extraction_test.gleam index a7e30f553..41de9d2af 100644 --- a/exercises/concept/erlang-extraction/test/erlang_extraction_test.gleam +++ b/exercises/concept/erlang-extraction/test/erlang_extraction_test.gleam @@ -1,4 +1,4 @@ -import erlang_extraction.{GbTree} +import erlang_extraction.{type GbTree} import exercism/test_runner import exercism/should diff --git a/exercises/concept/expert-experiments/gleam.toml b/exercises/concept/expert-experiments/gleam.toml index 6d44caa88..e610ca8ed 100644 --- a/exercises/concept/expert-experiments/gleam.toml +++ b/exercises/concept/expert-experiments/gleam.toml @@ -1,5 +1,6 @@ name = "expert_experiments" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/concept/expert-experiments/manifest.toml b/exercises/concept/expert-experiments/manifest.toml index a8cdf8b1d..59ab0fc7f 100644 --- a/exercises/concept/expert-experiments/manifest.toml +++ b/exercises/concept/expert-experiments/manifest.toml @@ -2,16 +2,16 @@ # You typically do not need to edit this file packages = [ - { name = "exercism_test_runner", version = "1.4.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "glance", "gleam_json", "gleam_community_ansi", "gleam_stdlib", "simplifile", "gap"], otp_app = "exercism_test_runner", source = "hex", outer_checksum = "336FBF790841C2DC25EB77B35E76A09EFDB9771D7D813E0FDBC71A50CB79711D" }, + { name = "exercism_test_runner", version = "1.4.0", build_tools = ["gleam"], requirements = ["gleam_json", "simplifile", "gap", "gleam_community_ansi", "glance", "gleam_erlang", "gleam_stdlib"], otp_app = "exercism_test_runner", source = "hex", outer_checksum = "336FBF790841C2DC25EB77B35E76A09EFDB9771D7D813E0FDBC71A50CB79711D" }, { name = "gap", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_community_ansi", "gleam_stdlib"], otp_app = "gap", source = "hex", outer_checksum = "AF290C27B3FAE5FE64E1B7E9C70A9E29AA0F42429C0592D375770C1C51B79D36" }, - { name = "glance", version = "0.7.1", build_tools = ["gleam"], requirements = ["gleam_stdlib", "glexer"], otp_app = "glance", source = "hex", outer_checksum = "B646A08970990D9D7A103443C5CD46F9D4297BF05F188767777FCC14ADF395EA" }, + { name = "glance", version = "0.8.0", build_tools = ["gleam"], requirements = ["glexer", "gleam_stdlib"], otp_app = "glance", source = "hex", outer_checksum = "C78390EAF236A74CE7E8FD7AB07D1D1A494E6C82415B33BA6BB6923275B9FE3B" }, { name = "gleam_bitwise", version = "1.3.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_bitwise", source = "hex", outer_checksum = "E2A46EE42E5E9110DAD67E0F71E7358CBE54D5EC22C526DD48CBBA3223025792" }, - { name = "gleam_community_ansi", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_bitwise", "gleam_community_colour"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "6E4E0CF2B207C1A7FCD3C21AA43514D67BC7004F21F82045CDCCE6C727A14862" }, - { name = "gleam_community_colour", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_bitwise"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "D27CE357ECB343929A8CEC3FBA0B499943A47F0EE1F589EE16AFC2DC21C61E5B" }, - { name = "gleam_erlang", version = "0.22.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "367D8B41A7A86809928ED1E7E55BFD0D46D7C4CF473440190F324AFA347109B4" }, - { name = "gleam_json", version = "0.6.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "thoas"], otp_app = "gleam_json", source = "hex", outer_checksum = "C6CC5BEECA525117E97D0905013AB3F8836537455645DDDD10FE31A511B195EF" }, - { name = "gleam_otp", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "gleam_stdlib"], otp_app = "gleam_otp", source = "hex", outer_checksum = "ED7381E90636E18F5697FD7956EECCA635A3B65538DC2BE2D91A38E61DCE8903" }, - { name = "gleam_stdlib", version = "0.31.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "6D1BC5B4D4179B9FEE866B1E69FE180AC2CE485AD90047C0B32B2CA984052736" }, + { name = "gleam_community_ansi", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_community_colour", "gleam_stdlib"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "8B5A9677BC5A2738712BBAF2BA289B1D8195FDF962BBC769569976AD5E9794E1" }, + { name = "gleam_community_colour", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "036C206886AFB9F153C552700A7A0B4D2864E3BC96A20C77E5F34A013C051BE3" }, + { name = "gleam_erlang", version = "0.23.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "DA7A8E5540948DE10EB01B530869F8FF2FF6CAD8CFDA87626CE6EF63EBBF87CB" }, + { name = "gleam_json", version = "0.7.0", build_tools = ["gleam"], requirements = ["thoas", "gleam_stdlib"], otp_app = "gleam_json", source = "hex", outer_checksum = "CB405BD93A8828BCD870463DE29375E7B2D252D9D124C109E5B618AAC00B86FC" }, + { name = "gleam_otp", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_erlang"], otp_app = "gleam_otp", source = "hex", outer_checksum = "ED7381E90636E18F5697FD7956EECCA635A3B65538DC2BE2D91A38E61DCE8903" }, + { name = "gleam_stdlib", version = "0.32.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "07D64C26D014CF570F8ACADCE602761EA2E74C842D26F2FD49B0D61973D9966F" }, { name = "glexer", version = "0.6.2", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "glexer", source = "hex", outer_checksum = "703D2347F5180B2BCEA4D258549B0D91DACD0905010892BAC46D04D913B84D1F" }, { name = "simplifile", version = "0.1.14", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "simplifile", source = "hex", outer_checksum = "10EA0207796F20488A3A166C50A189C9385333F3C9FAC187729DE7B9CE4ADDBC" }, { name = "thoas", version = "0.4.1", build_tools = ["rebar3"], requirements = [], otp_app = "thoas", source = "hex", outer_checksum = "4918D50026C073C4AB1388437132C77A6F6F7C8AC43C60C13758CC0ADCE2134E" }, diff --git a/exercises/concept/go/gleam.toml b/exercises/concept/go/gleam.toml index 99e65492d..02e685d4e 100644 --- a/exercises/concept/go/gleam.toml +++ b/exercises/concept/go/gleam.toml @@ -1,5 +1,6 @@ name = "go" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/concept/go/manifest.toml b/exercises/concept/go/manifest.toml index a8cdf8b1d..d261654ff 100644 --- a/exercises/concept/go/manifest.toml +++ b/exercises/concept/go/manifest.toml @@ -2,16 +2,16 @@ # You typically do not need to edit this file packages = [ - { name = "exercism_test_runner", version = "1.4.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "glance", "gleam_json", "gleam_community_ansi", "gleam_stdlib", "simplifile", "gap"], otp_app = "exercism_test_runner", source = "hex", outer_checksum = "336FBF790841C2DC25EB77B35E76A09EFDB9771D7D813E0FDBC71A50CB79711D" }, - { name = "gap", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_community_ansi", "gleam_stdlib"], otp_app = "gap", source = "hex", outer_checksum = "AF290C27B3FAE5FE64E1B7E9C70A9E29AA0F42429C0592D375770C1C51B79D36" }, - { name = "glance", version = "0.7.1", build_tools = ["gleam"], requirements = ["gleam_stdlib", "glexer"], otp_app = "glance", source = "hex", outer_checksum = "B646A08970990D9D7A103443C5CD46F9D4297BF05F188767777FCC14ADF395EA" }, + { name = "exercism_test_runner", version = "1.4.0", build_tools = ["gleam"], requirements = ["simplifile", "gleam_stdlib", "glance", "gap", "gleam_community_ansi", "gleam_erlang", "gleam_json"], otp_app = "exercism_test_runner", source = "hex", outer_checksum = "336FBF790841C2DC25EB77B35E76A09EFDB9771D7D813E0FDBC71A50CB79711D" }, + { name = "gap", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_community_ansi"], otp_app = "gap", source = "hex", outer_checksum = "AF290C27B3FAE5FE64E1B7E9C70A9E29AA0F42429C0592D375770C1C51B79D36" }, + { name = "glance", version = "0.8.0", build_tools = ["gleam"], requirements = ["glexer", "gleam_stdlib"], otp_app = "glance", source = "hex", outer_checksum = "C78390EAF236A74CE7E8FD7AB07D1D1A494E6C82415B33BA6BB6923275B9FE3B" }, { name = "gleam_bitwise", version = "1.3.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_bitwise", source = "hex", outer_checksum = "E2A46EE42E5E9110DAD67E0F71E7358CBE54D5EC22C526DD48CBBA3223025792" }, - { name = "gleam_community_ansi", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_bitwise", "gleam_community_colour"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "6E4E0CF2B207C1A7FCD3C21AA43514D67BC7004F21F82045CDCCE6C727A14862" }, - { name = "gleam_community_colour", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_bitwise"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "D27CE357ECB343929A8CEC3FBA0B499943A47F0EE1F589EE16AFC2DC21C61E5B" }, - { name = "gleam_erlang", version = "0.22.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "367D8B41A7A86809928ED1E7E55BFD0D46D7C4CF473440190F324AFA347109B4" }, - { name = "gleam_json", version = "0.6.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "thoas"], otp_app = "gleam_json", source = "hex", outer_checksum = "C6CC5BEECA525117E97D0905013AB3F8836537455645DDDD10FE31A511B195EF" }, - { name = "gleam_otp", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "gleam_stdlib"], otp_app = "gleam_otp", source = "hex", outer_checksum = "ED7381E90636E18F5697FD7956EECCA635A3B65538DC2BE2D91A38E61DCE8903" }, - { name = "gleam_stdlib", version = "0.31.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "6D1BC5B4D4179B9FEE866B1E69FE180AC2CE485AD90047C0B32B2CA984052736" }, + { name = "gleam_community_ansi", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_community_colour"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "8B5A9677BC5A2738712BBAF2BA289B1D8195FDF962BBC769569976AD5E9794E1" }, + { name = "gleam_community_colour", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "036C206886AFB9F153C552700A7A0B4D2864E3BC96A20C77E5F34A013C051BE3" }, + { name = "gleam_erlang", version = "0.23.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "DA7A8E5540948DE10EB01B530869F8FF2FF6CAD8CFDA87626CE6EF63EBBF87CB" }, + { name = "gleam_json", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "thoas"], otp_app = "gleam_json", source = "hex", outer_checksum = "CB405BD93A8828BCD870463DE29375E7B2D252D9D124C109E5B618AAC00B86FC" }, + { name = "gleam_otp", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_erlang"], otp_app = "gleam_otp", source = "hex", outer_checksum = "ED7381E90636E18F5697FD7956EECCA635A3B65538DC2BE2D91A38E61DCE8903" }, + { name = "gleam_stdlib", version = "0.32.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "07D64C26D014CF570F8ACADCE602761EA2E74C842D26F2FD49B0D61973D9966F" }, { name = "glexer", version = "0.6.2", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "glexer", source = "hex", outer_checksum = "703D2347F5180B2BCEA4D258549B0D91DACD0905010892BAC46D04D913B84D1F" }, { name = "simplifile", version = "0.1.14", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "simplifile", source = "hex", outer_checksum = "10EA0207796F20488A3A166C50A189C9385333F3C9FAC187729DE7B9CE4ADDBC" }, { name = "thoas", version = "0.4.1", build_tools = ["rebar3"], requirements = [], otp_app = "thoas", source = "hex", outer_checksum = "4918D50026C073C4AB1388437132C77A6F6F7C8AC43C60C13758CC0ADCE2134E" }, diff --git a/exercises/concept/go/test/go_test.gleam b/exercises/concept/go/test/go_test.gleam index 229bc1977..5829a1e6d 100644 --- a/exercises/concept/go/test/go_test.gleam +++ b/exercises/concept/go/test/go_test.gleam @@ -1,4 +1,4 @@ -import go.{Black, Game, White} +import go.{type Game, Black, Game, White} import exercism/test_runner import exercism/should diff --git a/exercises/concept/gotta-snatch-em-all/.meta/example.gleam b/exercises/concept/gotta-snatch-em-all/.meta/example.gleam index df25c2220..f07212bc3 100644 --- a/exercises/concept/gotta-snatch-em-all/.meta/example.gleam +++ b/exercises/concept/gotta-snatch-em-all/.meta/example.gleam @@ -1,4 +1,4 @@ -import gleam/set.{Set} +import gleam/set.{type Set} import gleam/string import gleam/list diff --git a/exercises/concept/gotta-snatch-em-all/gleam.toml b/exercises/concept/gotta-snatch-em-all/gleam.toml index b88168c0d..257354c85 100644 --- a/exercises/concept/gotta-snatch-em-all/gleam.toml +++ b/exercises/concept/gotta-snatch-em-all/gleam.toml @@ -1,5 +1,6 @@ name = "gotta_snatch_em_all" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/concept/gotta-snatch-em-all/manifest.toml b/exercises/concept/gotta-snatch-em-all/manifest.toml index a8cdf8b1d..e09cfb42f 100644 --- a/exercises/concept/gotta-snatch-em-all/manifest.toml +++ b/exercises/concept/gotta-snatch-em-all/manifest.toml @@ -2,16 +2,16 @@ # You typically do not need to edit this file packages = [ - { name = "exercism_test_runner", version = "1.4.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "glance", "gleam_json", "gleam_community_ansi", "gleam_stdlib", "simplifile", "gap"], otp_app = "exercism_test_runner", source = "hex", outer_checksum = "336FBF790841C2DC25EB77B35E76A09EFDB9771D7D813E0FDBC71A50CB79711D" }, + { name = "exercism_test_runner", version = "1.4.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "gleam_json", "gleam_stdlib", "glance", "gleam_community_ansi", "gap", "simplifile"], otp_app = "exercism_test_runner", source = "hex", outer_checksum = "336FBF790841C2DC25EB77B35E76A09EFDB9771D7D813E0FDBC71A50CB79711D" }, { name = "gap", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_community_ansi", "gleam_stdlib"], otp_app = "gap", source = "hex", outer_checksum = "AF290C27B3FAE5FE64E1B7E9C70A9E29AA0F42429C0592D375770C1C51B79D36" }, - { name = "glance", version = "0.7.1", build_tools = ["gleam"], requirements = ["gleam_stdlib", "glexer"], otp_app = "glance", source = "hex", outer_checksum = "B646A08970990D9D7A103443C5CD46F9D4297BF05F188767777FCC14ADF395EA" }, + { name = "glance", version = "0.8.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "glexer"], otp_app = "glance", source = "hex", outer_checksum = "C78390EAF236A74CE7E8FD7AB07D1D1A494E6C82415B33BA6BB6923275B9FE3B" }, { name = "gleam_bitwise", version = "1.3.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_bitwise", source = "hex", outer_checksum = "E2A46EE42E5E9110DAD67E0F71E7358CBE54D5EC22C526DD48CBBA3223025792" }, - { name = "gleam_community_ansi", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_bitwise", "gleam_community_colour"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "6E4E0CF2B207C1A7FCD3C21AA43514D67BC7004F21F82045CDCCE6C727A14862" }, - { name = "gleam_community_colour", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_bitwise"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "D27CE357ECB343929A8CEC3FBA0B499943A47F0EE1F589EE16AFC2DC21C61E5B" }, - { name = "gleam_erlang", version = "0.22.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "367D8B41A7A86809928ED1E7E55BFD0D46D7C4CF473440190F324AFA347109B4" }, - { name = "gleam_json", version = "0.6.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "thoas"], otp_app = "gleam_json", source = "hex", outer_checksum = "C6CC5BEECA525117E97D0905013AB3F8836537455645DDDD10FE31A511B195EF" }, + { name = "gleam_community_ansi", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_community_colour"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "8B5A9677BC5A2738712BBAF2BA289B1D8195FDF962BBC769569976AD5E9794E1" }, + { name = "gleam_community_colour", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "036C206886AFB9F153C552700A7A0B4D2864E3BC96A20C77E5F34A013C051BE3" }, + { name = "gleam_erlang", version = "0.23.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "DA7A8E5540948DE10EB01B530869F8FF2FF6CAD8CFDA87626CE6EF63EBBF87CB" }, + { name = "gleam_json", version = "0.7.0", build_tools = ["gleam"], requirements = ["thoas", "gleam_stdlib"], otp_app = "gleam_json", source = "hex", outer_checksum = "CB405BD93A8828BCD870463DE29375E7B2D252D9D124C109E5B618AAC00B86FC" }, { name = "gleam_otp", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "gleam_stdlib"], otp_app = "gleam_otp", source = "hex", outer_checksum = "ED7381E90636E18F5697FD7956EECCA635A3B65538DC2BE2D91A38E61DCE8903" }, - { name = "gleam_stdlib", version = "0.31.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "6D1BC5B4D4179B9FEE866B1E69FE180AC2CE485AD90047C0B32B2CA984052736" }, + { name = "gleam_stdlib", version = "0.32.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "07D64C26D014CF570F8ACADCE602761EA2E74C842D26F2FD49B0D61973D9966F" }, { name = "glexer", version = "0.6.2", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "glexer", source = "hex", outer_checksum = "703D2347F5180B2BCEA4D258549B0D91DACD0905010892BAC46D04D913B84D1F" }, { name = "simplifile", version = "0.1.14", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "simplifile", source = "hex", outer_checksum = "10EA0207796F20488A3A166C50A189C9385333F3C9FAC187729DE7B9CE4ADDBC" }, { name = "thoas", version = "0.4.1", build_tools = ["rebar3"], requirements = [], otp_app = "thoas", source = "hex", outer_checksum = "4918D50026C073C4AB1388437132C77A6F6F7C8AC43C60C13758CC0ADCE2134E" }, diff --git a/exercises/concept/gotta-snatch-em-all/src/gotta_snatch_em_all.gleam b/exercises/concept/gotta-snatch-em-all/src/gotta_snatch_em_all.gleam index 910e8e1f9..af0e8fe6c 100644 --- a/exercises/concept/gotta-snatch-em-all/src/gotta_snatch_em_all.gleam +++ b/exercises/concept/gotta-snatch-em-all/src/gotta_snatch_em_all.gleam @@ -1,4 +1,4 @@ -import gleam/set.{Set} +import gleam/set.{type Set} pub fn new_collection(card: String) -> Set(String) { todo diff --git a/exercises/concept/guessing-game/gleam.toml b/exercises/concept/guessing-game/gleam.toml index 4018a8fd9..72895eedc 100644 --- a/exercises/concept/guessing-game/gleam.toml +++ b/exercises/concept/guessing-game/gleam.toml @@ -1,5 +1,6 @@ name = "guessing_game" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/concept/guessing-game/manifest.toml b/exercises/concept/guessing-game/manifest.toml index a8cdf8b1d..a75f57438 100644 --- a/exercises/concept/guessing-game/manifest.toml +++ b/exercises/concept/guessing-game/manifest.toml @@ -2,16 +2,16 @@ # You typically do not need to edit this file packages = [ - { name = "exercism_test_runner", version = "1.4.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "glance", "gleam_json", "gleam_community_ansi", "gleam_stdlib", "simplifile", "gap"], otp_app = "exercism_test_runner", source = "hex", outer_checksum = "336FBF790841C2DC25EB77B35E76A09EFDB9771D7D813E0FDBC71A50CB79711D" }, - { name = "gap", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_community_ansi", "gleam_stdlib"], otp_app = "gap", source = "hex", outer_checksum = "AF290C27B3FAE5FE64E1B7E9C70A9E29AA0F42429C0592D375770C1C51B79D36" }, - { name = "glance", version = "0.7.1", build_tools = ["gleam"], requirements = ["gleam_stdlib", "glexer"], otp_app = "glance", source = "hex", outer_checksum = "B646A08970990D9D7A103443C5CD46F9D4297BF05F188767777FCC14ADF395EA" }, + { name = "exercism_test_runner", version = "1.4.0", build_tools = ["gleam"], requirements = ["gap", "gleam_erlang", "glance", "gleam_json", "gleam_community_ansi", "gleam_stdlib", "simplifile"], otp_app = "exercism_test_runner", source = "hex", outer_checksum = "336FBF790841C2DC25EB77B35E76A09EFDB9771D7D813E0FDBC71A50CB79711D" }, + { name = "gap", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_community_ansi"], otp_app = "gap", source = "hex", outer_checksum = "AF290C27B3FAE5FE64E1B7E9C70A9E29AA0F42429C0592D375770C1C51B79D36" }, + { name = "glance", version = "0.8.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "glexer"], otp_app = "glance", source = "hex", outer_checksum = "C78390EAF236A74CE7E8FD7AB07D1D1A494E6C82415B33BA6BB6923275B9FE3B" }, { name = "gleam_bitwise", version = "1.3.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_bitwise", source = "hex", outer_checksum = "E2A46EE42E5E9110DAD67E0F71E7358CBE54D5EC22C526DD48CBBA3223025792" }, - { name = "gleam_community_ansi", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_bitwise", "gleam_community_colour"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "6E4E0CF2B207C1A7FCD3C21AA43514D67BC7004F21F82045CDCCE6C727A14862" }, - { name = "gleam_community_colour", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_bitwise"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "D27CE357ECB343929A8CEC3FBA0B499943A47F0EE1F589EE16AFC2DC21C61E5B" }, - { name = "gleam_erlang", version = "0.22.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "367D8B41A7A86809928ED1E7E55BFD0D46D7C4CF473440190F324AFA347109B4" }, - { name = "gleam_json", version = "0.6.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "thoas"], otp_app = "gleam_json", source = "hex", outer_checksum = "C6CC5BEECA525117E97D0905013AB3F8836537455645DDDD10FE31A511B195EF" }, - { name = "gleam_otp", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "gleam_stdlib"], otp_app = "gleam_otp", source = "hex", outer_checksum = "ED7381E90636E18F5697FD7956EECCA635A3B65538DC2BE2D91A38E61DCE8903" }, - { name = "gleam_stdlib", version = "0.31.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "6D1BC5B4D4179B9FEE866B1E69FE180AC2CE485AD90047C0B32B2CA984052736" }, + { name = "gleam_community_ansi", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_community_colour", "gleam_stdlib"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "8B5A9677BC5A2738712BBAF2BA289B1D8195FDF962BBC769569976AD5E9794E1" }, + { name = "gleam_community_colour", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "036C206886AFB9F153C552700A7A0B4D2864E3BC96A20C77E5F34A013C051BE3" }, + { name = "gleam_erlang", version = "0.23.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "DA7A8E5540948DE10EB01B530869F8FF2FF6CAD8CFDA87626CE6EF63EBBF87CB" }, + { name = "gleam_json", version = "0.7.0", build_tools = ["gleam"], requirements = ["thoas", "gleam_stdlib"], otp_app = "gleam_json", source = "hex", outer_checksum = "CB405BD93A8828BCD870463DE29375E7B2D252D9D124C109E5B618AAC00B86FC" }, + { name = "gleam_otp", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_erlang"], otp_app = "gleam_otp", source = "hex", outer_checksum = "ED7381E90636E18F5697FD7956EECCA635A3B65538DC2BE2D91A38E61DCE8903" }, + { name = "gleam_stdlib", version = "0.32.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "07D64C26D014CF570F8ACADCE602761EA2E74C842D26F2FD49B0D61973D9966F" }, { name = "glexer", version = "0.6.2", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "glexer", source = "hex", outer_checksum = "703D2347F5180B2BCEA4D258549B0D91DACD0905010892BAC46D04D913B84D1F" }, { name = "simplifile", version = "0.1.14", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "simplifile", source = "hex", outer_checksum = "10EA0207796F20488A3A166C50A189C9385333F3C9FAC187729DE7B9CE4ADDBC" }, { name = "thoas", version = "0.4.1", build_tools = ["rebar3"], requirements = [], otp_app = "thoas", source = "hex", outer_checksum = "4918D50026C073C4AB1388437132C77A6F6F7C8AC43C60C13758CC0ADCE2134E" }, diff --git a/exercises/concept/high-school-sweetheart/gleam.toml b/exercises/concept/high-school-sweetheart/gleam.toml index 1b01e4dfa..387ada09e 100644 --- a/exercises/concept/high-school-sweetheart/gleam.toml +++ b/exercises/concept/high-school-sweetheart/gleam.toml @@ -1,5 +1,6 @@ name = "high_school_sweetheart" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/concept/high-school-sweetheart/manifest.toml b/exercises/concept/high-school-sweetheart/manifest.toml index a8cdf8b1d..7f3d22ab2 100644 --- a/exercises/concept/high-school-sweetheart/manifest.toml +++ b/exercises/concept/high-school-sweetheart/manifest.toml @@ -2,16 +2,16 @@ # You typically do not need to edit this file packages = [ - { name = "exercism_test_runner", version = "1.4.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "glance", "gleam_json", "gleam_community_ansi", "gleam_stdlib", "simplifile", "gap"], otp_app = "exercism_test_runner", source = "hex", outer_checksum = "336FBF790841C2DC25EB77B35E76A09EFDB9771D7D813E0FDBC71A50CB79711D" }, - { name = "gap", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_community_ansi", "gleam_stdlib"], otp_app = "gap", source = "hex", outer_checksum = "AF290C27B3FAE5FE64E1B7E9C70A9E29AA0F42429C0592D375770C1C51B79D36" }, - { name = "glance", version = "0.7.1", build_tools = ["gleam"], requirements = ["gleam_stdlib", "glexer"], otp_app = "glance", source = "hex", outer_checksum = "B646A08970990D9D7A103443C5CD46F9D4297BF05F188767777FCC14ADF395EA" }, + { name = "exercism_test_runner", version = "1.4.0", build_tools = ["gleam"], requirements = ["gleam_json", "gleam_stdlib", "gleam_community_ansi", "glance", "gleam_erlang", "simplifile", "gap"], otp_app = "exercism_test_runner", source = "hex", outer_checksum = "336FBF790841C2DC25EB77B35E76A09EFDB9771D7D813E0FDBC71A50CB79711D" }, + { name = "gap", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_community_ansi"], otp_app = "gap", source = "hex", outer_checksum = "AF290C27B3FAE5FE64E1B7E9C70A9E29AA0F42429C0592D375770C1C51B79D36" }, + { name = "glance", version = "0.8.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "glexer"], otp_app = "glance", source = "hex", outer_checksum = "C78390EAF236A74CE7E8FD7AB07D1D1A494E6C82415B33BA6BB6923275B9FE3B" }, { name = "gleam_bitwise", version = "1.3.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_bitwise", source = "hex", outer_checksum = "E2A46EE42E5E9110DAD67E0F71E7358CBE54D5EC22C526DD48CBBA3223025792" }, - { name = "gleam_community_ansi", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_bitwise", "gleam_community_colour"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "6E4E0CF2B207C1A7FCD3C21AA43514D67BC7004F21F82045CDCCE6C727A14862" }, - { name = "gleam_community_colour", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_bitwise"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "D27CE357ECB343929A8CEC3FBA0B499943A47F0EE1F589EE16AFC2DC21C61E5B" }, - { name = "gleam_erlang", version = "0.22.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "367D8B41A7A86809928ED1E7E55BFD0D46D7C4CF473440190F324AFA347109B4" }, - { name = "gleam_json", version = "0.6.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "thoas"], otp_app = "gleam_json", source = "hex", outer_checksum = "C6CC5BEECA525117E97D0905013AB3F8836537455645DDDD10FE31A511B195EF" }, + { name = "gleam_community_ansi", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_community_colour"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "8B5A9677BC5A2738712BBAF2BA289B1D8195FDF962BBC769569976AD5E9794E1" }, + { name = "gleam_community_colour", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "036C206886AFB9F153C552700A7A0B4D2864E3BC96A20C77E5F34A013C051BE3" }, + { name = "gleam_erlang", version = "0.23.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "DA7A8E5540948DE10EB01B530869F8FF2FF6CAD8CFDA87626CE6EF63EBBF87CB" }, + { name = "gleam_json", version = "0.7.0", build_tools = ["gleam"], requirements = ["thoas", "gleam_stdlib"], otp_app = "gleam_json", source = "hex", outer_checksum = "CB405BD93A8828BCD870463DE29375E7B2D252D9D124C109E5B618AAC00B86FC" }, { name = "gleam_otp", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "gleam_stdlib"], otp_app = "gleam_otp", source = "hex", outer_checksum = "ED7381E90636E18F5697FD7956EECCA635A3B65538DC2BE2D91A38E61DCE8903" }, - { name = "gleam_stdlib", version = "0.31.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "6D1BC5B4D4179B9FEE866B1E69FE180AC2CE485AD90047C0B32B2CA984052736" }, + { name = "gleam_stdlib", version = "0.32.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "07D64C26D014CF570F8ACADCE602761EA2E74C842D26F2FD49B0D61973D9966F" }, { name = "glexer", version = "0.6.2", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "glexer", source = "hex", outer_checksum = "703D2347F5180B2BCEA4D258549B0D91DACD0905010892BAC46D04D913B84D1F" }, { name = "simplifile", version = "0.1.14", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "simplifile", source = "hex", outer_checksum = "10EA0207796F20488A3A166C50A189C9385333F3C9FAC187729DE7B9CE4ADDBC" }, { name = "thoas", version = "0.4.1", build_tools = ["rebar3"], requirements = [], otp_app = "thoas", source = "hex", outer_checksum = "4918D50026C073C4AB1388437132C77A6F6F7C8AC43C60C13758CC0ADCE2134E" }, diff --git a/exercises/concept/high-score-board/.meta/example.gleam b/exercises/concept/high-score-board/.meta/example.gleam index 973a4710e..67e95f42c 100644 --- a/exercises/concept/high-score-board/.meta/example.gleam +++ b/exercises/concept/high-score-board/.meta/example.gleam @@ -1,4 +1,4 @@ -import gleam/map.{Map} +import gleam/map.{type Map} pub type ScoreBoard = Map(String, Int) diff --git a/exercises/concept/high-score-board/gleam.toml b/exercises/concept/high-score-board/gleam.toml index f6a2c3824..b0900ed08 100644 --- a/exercises/concept/high-score-board/gleam.toml +++ b/exercises/concept/high-score-board/gleam.toml @@ -1,5 +1,6 @@ name = "high_score_board" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/concept/high-score-board/manifest.toml b/exercises/concept/high-score-board/manifest.toml index a8cdf8b1d..db420dffc 100644 --- a/exercises/concept/high-score-board/manifest.toml +++ b/exercises/concept/high-score-board/manifest.toml @@ -2,16 +2,16 @@ # You typically do not need to edit this file packages = [ - { name = "exercism_test_runner", version = "1.4.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "glance", "gleam_json", "gleam_community_ansi", "gleam_stdlib", "simplifile", "gap"], otp_app = "exercism_test_runner", source = "hex", outer_checksum = "336FBF790841C2DC25EB77B35E76A09EFDB9771D7D813E0FDBC71A50CB79711D" }, + { name = "exercism_test_runner", version = "1.4.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "gleam_json", "gleam_stdlib", "simplifile", "glance", "gap", "gleam_community_ansi"], otp_app = "exercism_test_runner", source = "hex", outer_checksum = "336FBF790841C2DC25EB77B35E76A09EFDB9771D7D813E0FDBC71A50CB79711D" }, { name = "gap", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_community_ansi", "gleam_stdlib"], otp_app = "gap", source = "hex", outer_checksum = "AF290C27B3FAE5FE64E1B7E9C70A9E29AA0F42429C0592D375770C1C51B79D36" }, - { name = "glance", version = "0.7.1", build_tools = ["gleam"], requirements = ["gleam_stdlib", "glexer"], otp_app = "glance", source = "hex", outer_checksum = "B646A08970990D9D7A103443C5CD46F9D4297BF05F188767777FCC14ADF395EA" }, + { name = "glance", version = "0.8.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "glexer"], otp_app = "glance", source = "hex", outer_checksum = "C78390EAF236A74CE7E8FD7AB07D1D1A494E6C82415B33BA6BB6923275B9FE3B" }, { name = "gleam_bitwise", version = "1.3.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_bitwise", source = "hex", outer_checksum = "E2A46EE42E5E9110DAD67E0F71E7358CBE54D5EC22C526DD48CBBA3223025792" }, - { name = "gleam_community_ansi", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_bitwise", "gleam_community_colour"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "6E4E0CF2B207C1A7FCD3C21AA43514D67BC7004F21F82045CDCCE6C727A14862" }, - { name = "gleam_community_colour", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_bitwise"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "D27CE357ECB343929A8CEC3FBA0B499943A47F0EE1F589EE16AFC2DC21C61E5B" }, - { name = "gleam_erlang", version = "0.22.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "367D8B41A7A86809928ED1E7E55BFD0D46D7C4CF473440190F324AFA347109B4" }, - { name = "gleam_json", version = "0.6.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "thoas"], otp_app = "gleam_json", source = "hex", outer_checksum = "C6CC5BEECA525117E97D0905013AB3F8836537455645DDDD10FE31A511B195EF" }, - { name = "gleam_otp", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "gleam_stdlib"], otp_app = "gleam_otp", source = "hex", outer_checksum = "ED7381E90636E18F5697FD7956EECCA635A3B65538DC2BE2D91A38E61DCE8903" }, - { name = "gleam_stdlib", version = "0.31.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "6D1BC5B4D4179B9FEE866B1E69FE180AC2CE485AD90047C0B32B2CA984052736" }, + { name = "gleam_community_ansi", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_community_colour"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "8B5A9677BC5A2738712BBAF2BA289B1D8195FDF962BBC769569976AD5E9794E1" }, + { name = "gleam_community_colour", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "036C206886AFB9F153C552700A7A0B4D2864E3BC96A20C77E5F34A013C051BE3" }, + { name = "gleam_erlang", version = "0.23.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "DA7A8E5540948DE10EB01B530869F8FF2FF6CAD8CFDA87626CE6EF63EBBF87CB" }, + { name = "gleam_json", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "thoas"], otp_app = "gleam_json", source = "hex", outer_checksum = "CB405BD93A8828BCD870463DE29375E7B2D252D9D124C109E5B618AAC00B86FC" }, + { name = "gleam_otp", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_erlang"], otp_app = "gleam_otp", source = "hex", outer_checksum = "ED7381E90636E18F5697FD7956EECCA635A3B65538DC2BE2D91A38E61DCE8903" }, + { name = "gleam_stdlib", version = "0.32.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "07D64C26D014CF570F8ACADCE602761EA2E74C842D26F2FD49B0D61973D9966F" }, { name = "glexer", version = "0.6.2", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "glexer", source = "hex", outer_checksum = "703D2347F5180B2BCEA4D258549B0D91DACD0905010892BAC46D04D913B84D1F" }, { name = "simplifile", version = "0.1.14", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "simplifile", source = "hex", outer_checksum = "10EA0207796F20488A3A166C50A189C9385333F3C9FAC187729DE7B9CE4ADDBC" }, { name = "thoas", version = "0.4.1", build_tools = ["rebar3"], requirements = [], otp_app = "thoas", source = "hex", outer_checksum = "4918D50026C073C4AB1388437132C77A6F6F7C8AC43C60C13758CC0ADCE2134E" }, diff --git a/exercises/concept/high-score-board/src/high_score_board.gleam b/exercises/concept/high-score-board/src/high_score_board.gleam index 36c7a3d8b..88a74377f 100644 --- a/exercises/concept/high-score-board/src/high_score_board.gleam +++ b/exercises/concept/high-score-board/src/high_score_board.gleam @@ -1,4 +1,4 @@ -import gleam/map.{Map} +import gleam/map.{type Map} pub type ScoreBoard = Map(String, Int) diff --git a/exercises/concept/lasagna/gleam.toml b/exercises/concept/lasagna/gleam.toml index 615bb2ea8..3ed0074b2 100644 --- a/exercises/concept/lasagna/gleam.toml +++ b/exercises/concept/lasagna/gleam.toml @@ -1,5 +1,6 @@ name = "lasagna" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/concept/lasagna/manifest.toml b/exercises/concept/lasagna/manifest.toml index a8cdf8b1d..d44c0f72b 100644 --- a/exercises/concept/lasagna/manifest.toml +++ b/exercises/concept/lasagna/manifest.toml @@ -2,16 +2,16 @@ # You typically do not need to edit this file packages = [ - { name = "exercism_test_runner", version = "1.4.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "glance", "gleam_json", "gleam_community_ansi", "gleam_stdlib", "simplifile", "gap"], otp_app = "exercism_test_runner", source = "hex", outer_checksum = "336FBF790841C2DC25EB77B35E76A09EFDB9771D7D813E0FDBC71A50CB79711D" }, - { name = "gap", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_community_ansi", "gleam_stdlib"], otp_app = "gap", source = "hex", outer_checksum = "AF290C27B3FAE5FE64E1B7E9C70A9E29AA0F42429C0592D375770C1C51B79D36" }, - { name = "glance", version = "0.7.1", build_tools = ["gleam"], requirements = ["gleam_stdlib", "glexer"], otp_app = "glance", source = "hex", outer_checksum = "B646A08970990D9D7A103443C5CD46F9D4297BF05F188767777FCC14ADF395EA" }, + { name = "exercism_test_runner", version = "1.4.0", build_tools = ["gleam"], requirements = ["gleam_json", "simplifile", "gap", "gleam_community_ansi", "gleam_stdlib", "glance", "gleam_erlang"], otp_app = "exercism_test_runner", source = "hex", outer_checksum = "336FBF790841C2DC25EB77B35E76A09EFDB9771D7D813E0FDBC71A50CB79711D" }, + { name = "gap", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_community_ansi"], otp_app = "gap", source = "hex", outer_checksum = "AF290C27B3FAE5FE64E1B7E9C70A9E29AA0F42429C0592D375770C1C51B79D36" }, + { name = "glance", version = "0.8.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "glexer"], otp_app = "glance", source = "hex", outer_checksum = "C78390EAF236A74CE7E8FD7AB07D1D1A494E6C82415B33BA6BB6923275B9FE3B" }, { name = "gleam_bitwise", version = "1.3.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_bitwise", source = "hex", outer_checksum = "E2A46EE42E5E9110DAD67E0F71E7358CBE54D5EC22C526DD48CBBA3223025792" }, - { name = "gleam_community_ansi", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_bitwise", "gleam_community_colour"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "6E4E0CF2B207C1A7FCD3C21AA43514D67BC7004F21F82045CDCCE6C727A14862" }, - { name = "gleam_community_colour", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_bitwise"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "D27CE357ECB343929A8CEC3FBA0B499943A47F0EE1F589EE16AFC2DC21C61E5B" }, - { name = "gleam_erlang", version = "0.22.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "367D8B41A7A86809928ED1E7E55BFD0D46D7C4CF473440190F324AFA347109B4" }, - { name = "gleam_json", version = "0.6.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "thoas"], otp_app = "gleam_json", source = "hex", outer_checksum = "C6CC5BEECA525117E97D0905013AB3F8836537455645DDDD10FE31A511B195EF" }, + { name = "gleam_community_ansi", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_community_colour"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "8B5A9677BC5A2738712BBAF2BA289B1D8195FDF962BBC769569976AD5E9794E1" }, + { name = "gleam_community_colour", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "036C206886AFB9F153C552700A7A0B4D2864E3BC96A20C77E5F34A013C051BE3" }, + { name = "gleam_erlang", version = "0.23.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "DA7A8E5540948DE10EB01B530869F8FF2FF6CAD8CFDA87626CE6EF63EBBF87CB" }, + { name = "gleam_json", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "thoas"], otp_app = "gleam_json", source = "hex", outer_checksum = "CB405BD93A8828BCD870463DE29375E7B2D252D9D124C109E5B618AAC00B86FC" }, { name = "gleam_otp", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "gleam_stdlib"], otp_app = "gleam_otp", source = "hex", outer_checksum = "ED7381E90636E18F5697FD7956EECCA635A3B65538DC2BE2D91A38E61DCE8903" }, - { name = "gleam_stdlib", version = "0.31.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "6D1BC5B4D4179B9FEE866B1E69FE180AC2CE485AD90047C0B32B2CA984052736" }, + { name = "gleam_stdlib", version = "0.32.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "07D64C26D014CF570F8ACADCE602761EA2E74C842D26F2FD49B0D61973D9966F" }, { name = "glexer", version = "0.6.2", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "glexer", source = "hex", outer_checksum = "703D2347F5180B2BCEA4D258549B0D91DACD0905010892BAC46D04D913B84D1F" }, { name = "simplifile", version = "0.1.14", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "simplifile", source = "hex", outer_checksum = "10EA0207796F20488A3A166C50A189C9385333F3C9FAC187729DE7B9CE4ADDBC" }, { name = "thoas", version = "0.4.1", build_tools = ["rebar3"], requirements = [], otp_app = "thoas", source = "hex", outer_checksum = "4918D50026C073C4AB1388437132C77A6F6F7C8AC43C60C13758CC0ADCE2134E" }, diff --git a/exercises/concept/log-levels/gleam.toml b/exercises/concept/log-levels/gleam.toml index 7c062dfdf..3b5384f58 100644 --- a/exercises/concept/log-levels/gleam.toml +++ b/exercises/concept/log-levels/gleam.toml @@ -1,5 +1,6 @@ name = "log_levels" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/concept/log-levels/manifest.toml b/exercises/concept/log-levels/manifest.toml index a8cdf8b1d..385c7ee10 100644 --- a/exercises/concept/log-levels/manifest.toml +++ b/exercises/concept/log-levels/manifest.toml @@ -2,16 +2,16 @@ # You typically do not need to edit this file packages = [ - { name = "exercism_test_runner", version = "1.4.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "glance", "gleam_json", "gleam_community_ansi", "gleam_stdlib", "simplifile", "gap"], otp_app = "exercism_test_runner", source = "hex", outer_checksum = "336FBF790841C2DC25EB77B35E76A09EFDB9771D7D813E0FDBC71A50CB79711D" }, + { name = "exercism_test_runner", version = "1.4.0", build_tools = ["gleam"], requirements = ["gleam_json", "gleam_stdlib", "simplifile", "gleam_erlang", "gap", "glance", "gleam_community_ansi"], otp_app = "exercism_test_runner", source = "hex", outer_checksum = "336FBF790841C2DC25EB77B35E76A09EFDB9771D7D813E0FDBC71A50CB79711D" }, { name = "gap", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_community_ansi", "gleam_stdlib"], otp_app = "gap", source = "hex", outer_checksum = "AF290C27B3FAE5FE64E1B7E9C70A9E29AA0F42429C0592D375770C1C51B79D36" }, - { name = "glance", version = "0.7.1", build_tools = ["gleam"], requirements = ["gleam_stdlib", "glexer"], otp_app = "glance", source = "hex", outer_checksum = "B646A08970990D9D7A103443C5CD46F9D4297BF05F188767777FCC14ADF395EA" }, + { name = "glance", version = "0.8.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "glexer"], otp_app = "glance", source = "hex", outer_checksum = "C78390EAF236A74CE7E8FD7AB07D1D1A494E6C82415B33BA6BB6923275B9FE3B" }, { name = "gleam_bitwise", version = "1.3.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_bitwise", source = "hex", outer_checksum = "E2A46EE42E5E9110DAD67E0F71E7358CBE54D5EC22C526DD48CBBA3223025792" }, - { name = "gleam_community_ansi", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_bitwise", "gleam_community_colour"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "6E4E0CF2B207C1A7FCD3C21AA43514D67BC7004F21F82045CDCCE6C727A14862" }, - { name = "gleam_community_colour", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_bitwise"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "D27CE357ECB343929A8CEC3FBA0B499943A47F0EE1F589EE16AFC2DC21C61E5B" }, - { name = "gleam_erlang", version = "0.22.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "367D8B41A7A86809928ED1E7E55BFD0D46D7C4CF473440190F324AFA347109B4" }, - { name = "gleam_json", version = "0.6.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "thoas"], otp_app = "gleam_json", source = "hex", outer_checksum = "C6CC5BEECA525117E97D0905013AB3F8836537455645DDDD10FE31A511B195EF" }, + { name = "gleam_community_ansi", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_community_colour"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "8B5A9677BC5A2738712BBAF2BA289B1D8195FDF962BBC769569976AD5E9794E1" }, + { name = "gleam_community_colour", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "036C206886AFB9F153C552700A7A0B4D2864E3BC96A20C77E5F34A013C051BE3" }, + { name = "gleam_erlang", version = "0.23.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "DA7A8E5540948DE10EB01B530869F8FF2FF6CAD8CFDA87626CE6EF63EBBF87CB" }, + { name = "gleam_json", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "thoas"], otp_app = "gleam_json", source = "hex", outer_checksum = "CB405BD93A8828BCD870463DE29375E7B2D252D9D124C109E5B618AAC00B86FC" }, { name = "gleam_otp", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "gleam_stdlib"], otp_app = "gleam_otp", source = "hex", outer_checksum = "ED7381E90636E18F5697FD7956EECCA635A3B65538DC2BE2D91A38E61DCE8903" }, - { name = "gleam_stdlib", version = "0.31.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "6D1BC5B4D4179B9FEE866B1E69FE180AC2CE485AD90047C0B32B2CA984052736" }, + { name = "gleam_stdlib", version = "0.32.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "07D64C26D014CF570F8ACADCE602761EA2E74C842D26F2FD49B0D61973D9966F" }, { name = "glexer", version = "0.6.2", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "glexer", source = "hex", outer_checksum = "703D2347F5180B2BCEA4D258549B0D91DACD0905010892BAC46D04D913B84D1F" }, { name = "simplifile", version = "0.1.14", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "simplifile", source = "hex", outer_checksum = "10EA0207796F20488A3A166C50A189C9385333F3C9FAC187729DE7B9CE4ADDBC" }, { name = "thoas", version = "0.4.1", build_tools = ["rebar3"], requirements = [], otp_app = "thoas", source = "hex", outer_checksum = "4918D50026C073C4AB1388437132C77A6F6F7C8AC43C60C13758CC0ADCE2134E" }, diff --git a/exercises/concept/log-parser/gleam.toml b/exercises/concept/log-parser/gleam.toml index edab48b80..2210b88db 100644 --- a/exercises/concept/log-parser/gleam.toml +++ b/exercises/concept/log-parser/gleam.toml @@ -1,5 +1,6 @@ name = "log_parser" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/concept/log-parser/manifest.toml b/exercises/concept/log-parser/manifest.toml index a8cdf8b1d..3bd8ce5f9 100644 --- a/exercises/concept/log-parser/manifest.toml +++ b/exercises/concept/log-parser/manifest.toml @@ -2,16 +2,16 @@ # You typically do not need to edit this file packages = [ - { name = "exercism_test_runner", version = "1.4.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "glance", "gleam_json", "gleam_community_ansi", "gleam_stdlib", "simplifile", "gap"], otp_app = "exercism_test_runner", source = "hex", outer_checksum = "336FBF790841C2DC25EB77B35E76A09EFDB9771D7D813E0FDBC71A50CB79711D" }, - { name = "gap", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_community_ansi", "gleam_stdlib"], otp_app = "gap", source = "hex", outer_checksum = "AF290C27B3FAE5FE64E1B7E9C70A9E29AA0F42429C0592D375770C1C51B79D36" }, - { name = "glance", version = "0.7.1", build_tools = ["gleam"], requirements = ["gleam_stdlib", "glexer"], otp_app = "glance", source = "hex", outer_checksum = "B646A08970990D9D7A103443C5CD46F9D4297BF05F188767777FCC14ADF395EA" }, + { name = "exercism_test_runner", version = "1.4.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_community_ansi", "gleam_erlang", "simplifile", "gleam_json", "gap", "glance"], otp_app = "exercism_test_runner", source = "hex", outer_checksum = "336FBF790841C2DC25EB77B35E76A09EFDB9771D7D813E0FDBC71A50CB79711D" }, + { name = "gap", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_community_ansi"], otp_app = "gap", source = "hex", outer_checksum = "AF290C27B3FAE5FE64E1B7E9C70A9E29AA0F42429C0592D375770C1C51B79D36" }, + { name = "glance", version = "0.8.0", build_tools = ["gleam"], requirements = ["glexer", "gleam_stdlib"], otp_app = "glance", source = "hex", outer_checksum = "C78390EAF236A74CE7E8FD7AB07D1D1A494E6C82415B33BA6BB6923275B9FE3B" }, { name = "gleam_bitwise", version = "1.3.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_bitwise", source = "hex", outer_checksum = "E2A46EE42E5E9110DAD67E0F71E7358CBE54D5EC22C526DD48CBBA3223025792" }, - { name = "gleam_community_ansi", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_bitwise", "gleam_community_colour"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "6E4E0CF2B207C1A7FCD3C21AA43514D67BC7004F21F82045CDCCE6C727A14862" }, - { name = "gleam_community_colour", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_bitwise"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "D27CE357ECB343929A8CEC3FBA0B499943A47F0EE1F589EE16AFC2DC21C61E5B" }, - { name = "gleam_erlang", version = "0.22.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "367D8B41A7A86809928ED1E7E55BFD0D46D7C4CF473440190F324AFA347109B4" }, - { name = "gleam_json", version = "0.6.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "thoas"], otp_app = "gleam_json", source = "hex", outer_checksum = "C6CC5BEECA525117E97D0905013AB3F8836537455645DDDD10FE31A511B195EF" }, - { name = "gleam_otp", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "gleam_stdlib"], otp_app = "gleam_otp", source = "hex", outer_checksum = "ED7381E90636E18F5697FD7956EECCA635A3B65538DC2BE2D91A38E61DCE8903" }, - { name = "gleam_stdlib", version = "0.31.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "6D1BC5B4D4179B9FEE866B1E69FE180AC2CE485AD90047C0B32B2CA984052736" }, + { name = "gleam_community_ansi", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_community_colour", "gleam_stdlib"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "8B5A9677BC5A2738712BBAF2BA289B1D8195FDF962BBC769569976AD5E9794E1" }, + { name = "gleam_community_colour", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "036C206886AFB9F153C552700A7A0B4D2864E3BC96A20C77E5F34A013C051BE3" }, + { name = "gleam_erlang", version = "0.23.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "DA7A8E5540948DE10EB01B530869F8FF2FF6CAD8CFDA87626CE6EF63EBBF87CB" }, + { name = "gleam_json", version = "0.7.0", build_tools = ["gleam"], requirements = ["thoas", "gleam_stdlib"], otp_app = "gleam_json", source = "hex", outer_checksum = "CB405BD93A8828BCD870463DE29375E7B2D252D9D124C109E5B618AAC00B86FC" }, + { name = "gleam_otp", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_erlang"], otp_app = "gleam_otp", source = "hex", outer_checksum = "ED7381E90636E18F5697FD7956EECCA635A3B65538DC2BE2D91A38E61DCE8903" }, + { name = "gleam_stdlib", version = "0.32.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "07D64C26D014CF570F8ACADCE602761EA2E74C842D26F2FD49B0D61973D9966F" }, { name = "glexer", version = "0.6.2", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "glexer", source = "hex", outer_checksum = "703D2347F5180B2BCEA4D258549B0D91DACD0905010892BAC46D04D913B84D1F" }, { name = "simplifile", version = "0.1.14", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "simplifile", source = "hex", outer_checksum = "10EA0207796F20488A3A166C50A189C9385333F3C9FAC187729DE7B9CE4ADDBC" }, { name = "thoas", version = "0.4.1", build_tools = ["rebar3"], requirements = [], otp_app = "thoas", source = "hex", outer_checksum = "4918D50026C073C4AB1388437132C77A6F6F7C8AC43C60C13758CC0ADCE2134E" }, diff --git a/exercises/concept/magician-in-training/.meta/example.gleam b/exercises/concept/magician-in-training/.meta/example.gleam index 760381fbe..dcb80f52b 100644 --- a/exercises/concept/magician-in-training/.meta/example.gleam +++ b/exercises/concept/magician-in-training/.meta/example.gleam @@ -1,4 +1,4 @@ -import gleam/queue.{Queue} +import gleam/queue.{type Queue} pub fn insert_top(queue: Queue(Int), card: Int) { queue.push_back(queue, card) diff --git a/exercises/concept/magician-in-training/gleam.toml b/exercises/concept/magician-in-training/gleam.toml index 0c3518e65..22e93b6e8 100644 --- a/exercises/concept/magician-in-training/gleam.toml +++ b/exercises/concept/magician-in-training/gleam.toml @@ -1,5 +1,6 @@ name = "magician_in_training" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/concept/magician-in-training/manifest.toml b/exercises/concept/magician-in-training/manifest.toml index a8cdf8b1d..cb1a1b59b 100644 --- a/exercises/concept/magician-in-training/manifest.toml +++ b/exercises/concept/magician-in-training/manifest.toml @@ -2,16 +2,16 @@ # You typically do not need to edit this file packages = [ - { name = "exercism_test_runner", version = "1.4.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "glance", "gleam_json", "gleam_community_ansi", "gleam_stdlib", "simplifile", "gap"], otp_app = "exercism_test_runner", source = "hex", outer_checksum = "336FBF790841C2DC25EB77B35E76A09EFDB9771D7D813E0FDBC71A50CB79711D" }, - { name = "gap", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_community_ansi", "gleam_stdlib"], otp_app = "gap", source = "hex", outer_checksum = "AF290C27B3FAE5FE64E1B7E9C70A9E29AA0F42429C0592D375770C1C51B79D36" }, - { name = "glance", version = "0.7.1", build_tools = ["gleam"], requirements = ["gleam_stdlib", "glexer"], otp_app = "glance", source = "hex", outer_checksum = "B646A08970990D9D7A103443C5CD46F9D4297BF05F188767777FCC14ADF395EA" }, + { name = "exercism_test_runner", version = "1.4.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gap", "glance", "gleam_erlang", "gleam_community_ansi", "gleam_json", "simplifile"], otp_app = "exercism_test_runner", source = "hex", outer_checksum = "336FBF790841C2DC25EB77B35E76A09EFDB9771D7D813E0FDBC71A50CB79711D" }, + { name = "gap", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_community_ansi"], otp_app = "gap", source = "hex", outer_checksum = "AF290C27B3FAE5FE64E1B7E9C70A9E29AA0F42429C0592D375770C1C51B79D36" }, + { name = "glance", version = "0.8.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "glexer"], otp_app = "glance", source = "hex", outer_checksum = "C78390EAF236A74CE7E8FD7AB07D1D1A494E6C82415B33BA6BB6923275B9FE3B" }, { name = "gleam_bitwise", version = "1.3.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_bitwise", source = "hex", outer_checksum = "E2A46EE42E5E9110DAD67E0F71E7358CBE54D5EC22C526DD48CBBA3223025792" }, - { name = "gleam_community_ansi", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_bitwise", "gleam_community_colour"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "6E4E0CF2B207C1A7FCD3C21AA43514D67BC7004F21F82045CDCCE6C727A14862" }, - { name = "gleam_community_colour", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_bitwise"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "D27CE357ECB343929A8CEC3FBA0B499943A47F0EE1F589EE16AFC2DC21C61E5B" }, - { name = "gleam_erlang", version = "0.22.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "367D8B41A7A86809928ED1E7E55BFD0D46D7C4CF473440190F324AFA347109B4" }, - { name = "gleam_json", version = "0.6.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "thoas"], otp_app = "gleam_json", source = "hex", outer_checksum = "C6CC5BEECA525117E97D0905013AB3F8836537455645DDDD10FE31A511B195EF" }, - { name = "gleam_otp", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "gleam_stdlib"], otp_app = "gleam_otp", source = "hex", outer_checksum = "ED7381E90636E18F5697FD7956EECCA635A3B65538DC2BE2D91A38E61DCE8903" }, - { name = "gleam_stdlib", version = "0.31.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "6D1BC5B4D4179B9FEE866B1E69FE180AC2CE485AD90047C0B32B2CA984052736" }, + { name = "gleam_community_ansi", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_community_colour", "gleam_stdlib"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "8B5A9677BC5A2738712BBAF2BA289B1D8195FDF962BBC769569976AD5E9794E1" }, + { name = "gleam_community_colour", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "036C206886AFB9F153C552700A7A0B4D2864E3BC96A20C77E5F34A013C051BE3" }, + { name = "gleam_erlang", version = "0.23.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "DA7A8E5540948DE10EB01B530869F8FF2FF6CAD8CFDA87626CE6EF63EBBF87CB" }, + { name = "gleam_json", version = "0.7.0", build_tools = ["gleam"], requirements = ["thoas", "gleam_stdlib"], otp_app = "gleam_json", source = "hex", outer_checksum = "CB405BD93A8828BCD870463DE29375E7B2D252D9D124C109E5B618AAC00B86FC" }, + { name = "gleam_otp", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_erlang"], otp_app = "gleam_otp", source = "hex", outer_checksum = "ED7381E90636E18F5697FD7956EECCA635A3B65538DC2BE2D91A38E61DCE8903" }, + { name = "gleam_stdlib", version = "0.32.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "07D64C26D014CF570F8ACADCE602761EA2E74C842D26F2FD49B0D61973D9966F" }, { name = "glexer", version = "0.6.2", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "glexer", source = "hex", outer_checksum = "703D2347F5180B2BCEA4D258549B0D91DACD0905010892BAC46D04D913B84D1F" }, { name = "simplifile", version = "0.1.14", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "simplifile", source = "hex", outer_checksum = "10EA0207796F20488A3A166C50A189C9385333F3C9FAC187729DE7B9CE4ADDBC" }, { name = "thoas", version = "0.4.1", build_tools = ["rebar3"], requirements = [], otp_app = "thoas", source = "hex", outer_checksum = "4918D50026C073C4AB1388437132C77A6F6F7C8AC43C60C13758CC0ADCE2134E" }, diff --git a/exercises/concept/magician-in-training/src/magician_in_training.gleam b/exercises/concept/magician-in-training/src/magician_in_training.gleam index 2eba1f1ee..ad27e4c24 100644 --- a/exercises/concept/magician-in-training/src/magician_in_training.gleam +++ b/exercises/concept/magician-in-training/src/magician_in_training.gleam @@ -1,4 +1,4 @@ -import gleam/queue.{Queue} +import gleam/queue.{type Queue} pub fn insert_top(queue: Queue(Int), card: Int) { todo diff --git a/exercises/concept/newsletter/gleam.toml b/exercises/concept/newsletter/gleam.toml index b6970995b..53d3dc545 100644 --- a/exercises/concept/newsletter/gleam.toml +++ b/exercises/concept/newsletter/gleam.toml @@ -1,5 +1,6 @@ name = "newsletter" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/concept/newsletter/manifest.toml b/exercises/concept/newsletter/manifest.toml index a8cdf8b1d..59eeb0923 100644 --- a/exercises/concept/newsletter/manifest.toml +++ b/exercises/concept/newsletter/manifest.toml @@ -2,16 +2,16 @@ # You typically do not need to edit this file packages = [ - { name = "exercism_test_runner", version = "1.4.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "glance", "gleam_json", "gleam_community_ansi", "gleam_stdlib", "simplifile", "gap"], otp_app = "exercism_test_runner", source = "hex", outer_checksum = "336FBF790841C2DC25EB77B35E76A09EFDB9771D7D813E0FDBC71A50CB79711D" }, + { name = "exercism_test_runner", version = "1.4.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_community_ansi", "glance", "gleam_erlang", "gap", "gleam_json", "simplifile"], otp_app = "exercism_test_runner", source = "hex", outer_checksum = "336FBF790841C2DC25EB77B35E76A09EFDB9771D7D813E0FDBC71A50CB79711D" }, { name = "gap", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_community_ansi", "gleam_stdlib"], otp_app = "gap", source = "hex", outer_checksum = "AF290C27B3FAE5FE64E1B7E9C70A9E29AA0F42429C0592D375770C1C51B79D36" }, - { name = "glance", version = "0.7.1", build_tools = ["gleam"], requirements = ["gleam_stdlib", "glexer"], otp_app = "glance", source = "hex", outer_checksum = "B646A08970990D9D7A103443C5CD46F9D4297BF05F188767777FCC14ADF395EA" }, + { name = "glance", version = "0.8.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "glexer"], otp_app = "glance", source = "hex", outer_checksum = "C78390EAF236A74CE7E8FD7AB07D1D1A494E6C82415B33BA6BB6923275B9FE3B" }, { name = "gleam_bitwise", version = "1.3.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_bitwise", source = "hex", outer_checksum = "E2A46EE42E5E9110DAD67E0F71E7358CBE54D5EC22C526DD48CBBA3223025792" }, - { name = "gleam_community_ansi", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_bitwise", "gleam_community_colour"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "6E4E0CF2B207C1A7FCD3C21AA43514D67BC7004F21F82045CDCCE6C727A14862" }, - { name = "gleam_community_colour", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_bitwise"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "D27CE357ECB343929A8CEC3FBA0B499943A47F0EE1F589EE16AFC2DC21C61E5B" }, - { name = "gleam_erlang", version = "0.22.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "367D8B41A7A86809928ED1E7E55BFD0D46D7C4CF473440190F324AFA347109B4" }, - { name = "gleam_json", version = "0.6.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "thoas"], otp_app = "gleam_json", source = "hex", outer_checksum = "C6CC5BEECA525117E97D0905013AB3F8836537455645DDDD10FE31A511B195EF" }, - { name = "gleam_otp", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "gleam_stdlib"], otp_app = "gleam_otp", source = "hex", outer_checksum = "ED7381E90636E18F5697FD7956EECCA635A3B65538DC2BE2D91A38E61DCE8903" }, - { name = "gleam_stdlib", version = "0.31.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "6D1BC5B4D4179B9FEE866B1E69FE180AC2CE485AD90047C0B32B2CA984052736" }, + { name = "gleam_community_ansi", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_community_colour", "gleam_stdlib"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "8B5A9677BC5A2738712BBAF2BA289B1D8195FDF962BBC769569976AD5E9794E1" }, + { name = "gleam_community_colour", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "036C206886AFB9F153C552700A7A0B4D2864E3BC96A20C77E5F34A013C051BE3" }, + { name = "gleam_erlang", version = "0.23.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "DA7A8E5540948DE10EB01B530869F8FF2FF6CAD8CFDA87626CE6EF63EBBF87CB" }, + { name = "gleam_json", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "thoas"], otp_app = "gleam_json", source = "hex", outer_checksum = "CB405BD93A8828BCD870463DE29375E7B2D252D9D124C109E5B618AAC00B86FC" }, + { name = "gleam_otp", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_erlang"], otp_app = "gleam_otp", source = "hex", outer_checksum = "ED7381E90636E18F5697FD7956EECCA635A3B65538DC2BE2D91A38E61DCE8903" }, + { name = "gleam_stdlib", version = "0.32.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "07D64C26D014CF570F8ACADCE602761EA2E74C842D26F2FD49B0D61973D9966F" }, { name = "glexer", version = "0.6.2", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "glexer", source = "hex", outer_checksum = "703D2347F5180B2BCEA4D258549B0D91DACD0905010892BAC46D04D913B84D1F" }, { name = "simplifile", version = "0.1.14", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "simplifile", source = "hex", outer_checksum = "10EA0207796F20488A3A166C50A189C9385333F3C9FAC187729DE7B9CE4ADDBC" }, { name = "thoas", version = "0.4.1", build_tools = ["rebar3"], requirements = [], otp_app = "thoas", source = "hex", outer_checksum = "4918D50026C073C4AB1388437132C77A6F6F7C8AC43C60C13758CC0ADCE2134E" }, diff --git a/exercises/concept/pacman-rules/gleam.toml b/exercises/concept/pacman-rules/gleam.toml index 7b7b68804..b775047aa 100644 --- a/exercises/concept/pacman-rules/gleam.toml +++ b/exercises/concept/pacman-rules/gleam.toml @@ -1,5 +1,6 @@ name = "pacman_rules" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/concept/pacman-rules/manifest.toml b/exercises/concept/pacman-rules/manifest.toml index a8cdf8b1d..33de2f1e7 100644 --- a/exercises/concept/pacman-rules/manifest.toml +++ b/exercises/concept/pacman-rules/manifest.toml @@ -2,16 +2,16 @@ # You typically do not need to edit this file packages = [ - { name = "exercism_test_runner", version = "1.4.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "glance", "gleam_json", "gleam_community_ansi", "gleam_stdlib", "simplifile", "gap"], otp_app = "exercism_test_runner", source = "hex", outer_checksum = "336FBF790841C2DC25EB77B35E76A09EFDB9771D7D813E0FDBC71A50CB79711D" }, + { name = "exercism_test_runner", version = "1.4.0", build_tools = ["gleam"], requirements = ["gap", "glance", "gleam_community_ansi", "gleam_json", "gleam_stdlib", "simplifile", "gleam_erlang"], otp_app = "exercism_test_runner", source = "hex", outer_checksum = "336FBF790841C2DC25EB77B35E76A09EFDB9771D7D813E0FDBC71A50CB79711D" }, { name = "gap", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_community_ansi", "gleam_stdlib"], otp_app = "gap", source = "hex", outer_checksum = "AF290C27B3FAE5FE64E1B7E9C70A9E29AA0F42429C0592D375770C1C51B79D36" }, - { name = "glance", version = "0.7.1", build_tools = ["gleam"], requirements = ["gleam_stdlib", "glexer"], otp_app = "glance", source = "hex", outer_checksum = "B646A08970990D9D7A103443C5CD46F9D4297BF05F188767777FCC14ADF395EA" }, + { name = "glance", version = "0.8.0", build_tools = ["gleam"], requirements = ["glexer", "gleam_stdlib"], otp_app = "glance", source = "hex", outer_checksum = "C78390EAF236A74CE7E8FD7AB07D1D1A494E6C82415B33BA6BB6923275B9FE3B" }, { name = "gleam_bitwise", version = "1.3.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_bitwise", source = "hex", outer_checksum = "E2A46EE42E5E9110DAD67E0F71E7358CBE54D5EC22C526DD48CBBA3223025792" }, - { name = "gleam_community_ansi", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_bitwise", "gleam_community_colour"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "6E4E0CF2B207C1A7FCD3C21AA43514D67BC7004F21F82045CDCCE6C727A14862" }, - { name = "gleam_community_colour", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_bitwise"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "D27CE357ECB343929A8CEC3FBA0B499943A47F0EE1F589EE16AFC2DC21C61E5B" }, - { name = "gleam_erlang", version = "0.22.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "367D8B41A7A86809928ED1E7E55BFD0D46D7C4CF473440190F324AFA347109B4" }, - { name = "gleam_json", version = "0.6.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "thoas"], otp_app = "gleam_json", source = "hex", outer_checksum = "C6CC5BEECA525117E97D0905013AB3F8836537455645DDDD10FE31A511B195EF" }, + { name = "gleam_community_ansi", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_community_colour"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "8B5A9677BC5A2738712BBAF2BA289B1D8195FDF962BBC769569976AD5E9794E1" }, + { name = "gleam_community_colour", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "036C206886AFB9F153C552700A7A0B4D2864E3BC96A20C77E5F34A013C051BE3" }, + { name = "gleam_erlang", version = "0.23.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "DA7A8E5540948DE10EB01B530869F8FF2FF6CAD8CFDA87626CE6EF63EBBF87CB" }, + { name = "gleam_json", version = "0.7.0", build_tools = ["gleam"], requirements = ["thoas", "gleam_stdlib"], otp_app = "gleam_json", source = "hex", outer_checksum = "CB405BD93A8828BCD870463DE29375E7B2D252D9D124C109E5B618AAC00B86FC" }, { name = "gleam_otp", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "gleam_stdlib"], otp_app = "gleam_otp", source = "hex", outer_checksum = "ED7381E90636E18F5697FD7956EECCA635A3B65538DC2BE2D91A38E61DCE8903" }, - { name = "gleam_stdlib", version = "0.31.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "6D1BC5B4D4179B9FEE866B1E69FE180AC2CE485AD90047C0B32B2CA984052736" }, + { name = "gleam_stdlib", version = "0.32.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "07D64C26D014CF570F8ACADCE602761EA2E74C842D26F2FD49B0D61973D9966F" }, { name = "glexer", version = "0.6.2", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "glexer", source = "hex", outer_checksum = "703D2347F5180B2BCEA4D258549B0D91DACD0905010892BAC46D04D913B84D1F" }, { name = "simplifile", version = "0.1.14", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "simplifile", source = "hex", outer_checksum = "10EA0207796F20488A3A166C50A189C9385333F3C9FAC187729DE7B9CE4ADDBC" }, { name = "thoas", version = "0.4.1", build_tools = ["rebar3"], requirements = [], otp_app = "thoas", source = "hex", outer_checksum = "4918D50026C073C4AB1388437132C77A6F6F7C8AC43C60C13758CC0ADCE2134E" }, diff --git a/exercises/concept/pizza-pricing/gleam.toml b/exercises/concept/pizza-pricing/gleam.toml index 4d9b96300..2cf8a8c60 100644 --- a/exercises/concept/pizza-pricing/gleam.toml +++ b/exercises/concept/pizza-pricing/gleam.toml @@ -1,5 +1,6 @@ name = "pizza_pricing" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/concept/pizza-pricing/manifest.toml b/exercises/concept/pizza-pricing/manifest.toml index a8cdf8b1d..20eb7f556 100644 --- a/exercises/concept/pizza-pricing/manifest.toml +++ b/exercises/concept/pizza-pricing/manifest.toml @@ -2,16 +2,16 @@ # You typically do not need to edit this file packages = [ - { name = "exercism_test_runner", version = "1.4.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "glance", "gleam_json", "gleam_community_ansi", "gleam_stdlib", "simplifile", "gap"], otp_app = "exercism_test_runner", source = "hex", outer_checksum = "336FBF790841C2DC25EB77B35E76A09EFDB9771D7D813E0FDBC71A50CB79711D" }, + { name = "exercism_test_runner", version = "1.4.0", build_tools = ["gleam"], requirements = ["gap", "gleam_stdlib", "gleam_erlang", "gleam_json", "simplifile", "gleam_community_ansi", "glance"], otp_app = "exercism_test_runner", source = "hex", outer_checksum = "336FBF790841C2DC25EB77B35E76A09EFDB9771D7D813E0FDBC71A50CB79711D" }, { name = "gap", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_community_ansi", "gleam_stdlib"], otp_app = "gap", source = "hex", outer_checksum = "AF290C27B3FAE5FE64E1B7E9C70A9E29AA0F42429C0592D375770C1C51B79D36" }, - { name = "glance", version = "0.7.1", build_tools = ["gleam"], requirements = ["gleam_stdlib", "glexer"], otp_app = "glance", source = "hex", outer_checksum = "B646A08970990D9D7A103443C5CD46F9D4297BF05F188767777FCC14ADF395EA" }, + { name = "glance", version = "0.8.0", build_tools = ["gleam"], requirements = ["glexer", "gleam_stdlib"], otp_app = "glance", source = "hex", outer_checksum = "C78390EAF236A74CE7E8FD7AB07D1D1A494E6C82415B33BA6BB6923275B9FE3B" }, { name = "gleam_bitwise", version = "1.3.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_bitwise", source = "hex", outer_checksum = "E2A46EE42E5E9110DAD67E0F71E7358CBE54D5EC22C526DD48CBBA3223025792" }, - { name = "gleam_community_ansi", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_bitwise", "gleam_community_colour"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "6E4E0CF2B207C1A7FCD3C21AA43514D67BC7004F21F82045CDCCE6C727A14862" }, - { name = "gleam_community_colour", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_bitwise"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "D27CE357ECB343929A8CEC3FBA0B499943A47F0EE1F589EE16AFC2DC21C61E5B" }, - { name = "gleam_erlang", version = "0.22.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "367D8B41A7A86809928ED1E7E55BFD0D46D7C4CF473440190F324AFA347109B4" }, - { name = "gleam_json", version = "0.6.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "thoas"], otp_app = "gleam_json", source = "hex", outer_checksum = "C6CC5BEECA525117E97D0905013AB3F8836537455645DDDD10FE31A511B195EF" }, - { name = "gleam_otp", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "gleam_stdlib"], otp_app = "gleam_otp", source = "hex", outer_checksum = "ED7381E90636E18F5697FD7956EECCA635A3B65538DC2BE2D91A38E61DCE8903" }, - { name = "gleam_stdlib", version = "0.31.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "6D1BC5B4D4179B9FEE866B1E69FE180AC2CE485AD90047C0B32B2CA984052736" }, + { name = "gleam_community_ansi", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_community_colour", "gleam_stdlib"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "8B5A9677BC5A2738712BBAF2BA289B1D8195FDF962BBC769569976AD5E9794E1" }, + { name = "gleam_community_colour", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "036C206886AFB9F153C552700A7A0B4D2864E3BC96A20C77E5F34A013C051BE3" }, + { name = "gleam_erlang", version = "0.23.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "DA7A8E5540948DE10EB01B530869F8FF2FF6CAD8CFDA87626CE6EF63EBBF87CB" }, + { name = "gleam_json", version = "0.7.0", build_tools = ["gleam"], requirements = ["thoas", "gleam_stdlib"], otp_app = "gleam_json", source = "hex", outer_checksum = "CB405BD93A8828BCD870463DE29375E7B2D252D9D124C109E5B618AAC00B86FC" }, + { name = "gleam_otp", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_erlang"], otp_app = "gleam_otp", source = "hex", outer_checksum = "ED7381E90636E18F5697FD7956EECCA635A3B65538DC2BE2D91A38E61DCE8903" }, + { name = "gleam_stdlib", version = "0.32.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "07D64C26D014CF570F8ACADCE602761EA2E74C842D26F2FD49B0D61973D9966F" }, { name = "glexer", version = "0.6.2", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "glexer", source = "hex", outer_checksum = "703D2347F5180B2BCEA4D258549B0D91DACD0905010892BAC46D04D913B84D1F" }, { name = "simplifile", version = "0.1.14", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "simplifile", source = "hex", outer_checksum = "10EA0207796F20488A3A166C50A189C9385333F3C9FAC187729DE7B9CE4ADDBC" }, { name = "thoas", version = "0.4.1", build_tools = ["rebar3"], requirements = [], otp_app = "thoas", source = "hex", outer_checksum = "4918D50026C073C4AB1388437132C77A6F6F7C8AC43C60C13758CC0ADCE2134E" }, diff --git a/exercises/concept/role-playing-game/.meta/example.gleam b/exercises/concept/role-playing-game/.meta/example.gleam index e617b9ff0..9cc4d87aa 100644 --- a/exercises/concept/role-playing-game/.meta/example.gleam +++ b/exercises/concept/role-playing-game/.meta/example.gleam @@ -1,4 +1,4 @@ -import gleam/option.{None, Option, Some} +import gleam/option.{type Option, None, Some} import gleam/int pub type Player { diff --git a/exercises/concept/role-playing-game/gleam.toml b/exercises/concept/role-playing-game/gleam.toml index 589987ff3..d6713aeea 100644 --- a/exercises/concept/role-playing-game/gleam.toml +++ b/exercises/concept/role-playing-game/gleam.toml @@ -1,5 +1,6 @@ name = "role_playing_game" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/concept/role-playing-game/manifest.toml b/exercises/concept/role-playing-game/manifest.toml index a8cdf8b1d..411b1e1bf 100644 --- a/exercises/concept/role-playing-game/manifest.toml +++ b/exercises/concept/role-playing-game/manifest.toml @@ -2,16 +2,16 @@ # You typically do not need to edit this file packages = [ - { name = "exercism_test_runner", version = "1.4.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "glance", "gleam_json", "gleam_community_ansi", "gleam_stdlib", "simplifile", "gap"], otp_app = "exercism_test_runner", source = "hex", outer_checksum = "336FBF790841C2DC25EB77B35E76A09EFDB9771D7D813E0FDBC71A50CB79711D" }, + { name = "exercism_test_runner", version = "1.4.0", build_tools = ["gleam"], requirements = ["gleam_json", "gleam_community_ansi", "gap", "gleam_stdlib", "simplifile", "glance", "gleam_erlang"], otp_app = "exercism_test_runner", source = "hex", outer_checksum = "336FBF790841C2DC25EB77B35E76A09EFDB9771D7D813E0FDBC71A50CB79711D" }, { name = "gap", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_community_ansi", "gleam_stdlib"], otp_app = "gap", source = "hex", outer_checksum = "AF290C27B3FAE5FE64E1B7E9C70A9E29AA0F42429C0592D375770C1C51B79D36" }, - { name = "glance", version = "0.7.1", build_tools = ["gleam"], requirements = ["gleam_stdlib", "glexer"], otp_app = "glance", source = "hex", outer_checksum = "B646A08970990D9D7A103443C5CD46F9D4297BF05F188767777FCC14ADF395EA" }, + { name = "glance", version = "0.8.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "glexer"], otp_app = "glance", source = "hex", outer_checksum = "C78390EAF236A74CE7E8FD7AB07D1D1A494E6C82415B33BA6BB6923275B9FE3B" }, { name = "gleam_bitwise", version = "1.3.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_bitwise", source = "hex", outer_checksum = "E2A46EE42E5E9110DAD67E0F71E7358CBE54D5EC22C526DD48CBBA3223025792" }, - { name = "gleam_community_ansi", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_bitwise", "gleam_community_colour"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "6E4E0CF2B207C1A7FCD3C21AA43514D67BC7004F21F82045CDCCE6C727A14862" }, - { name = "gleam_community_colour", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_bitwise"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "D27CE357ECB343929A8CEC3FBA0B499943A47F0EE1F589EE16AFC2DC21C61E5B" }, - { name = "gleam_erlang", version = "0.22.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "367D8B41A7A86809928ED1E7E55BFD0D46D7C4CF473440190F324AFA347109B4" }, - { name = "gleam_json", version = "0.6.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "thoas"], otp_app = "gleam_json", source = "hex", outer_checksum = "C6CC5BEECA525117E97D0905013AB3F8836537455645DDDD10FE31A511B195EF" }, + { name = "gleam_community_ansi", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_community_colour"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "8B5A9677BC5A2738712BBAF2BA289B1D8195FDF962BBC769569976AD5E9794E1" }, + { name = "gleam_community_colour", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "036C206886AFB9F153C552700A7A0B4D2864E3BC96A20C77E5F34A013C051BE3" }, + { name = "gleam_erlang", version = "0.23.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "DA7A8E5540948DE10EB01B530869F8FF2FF6CAD8CFDA87626CE6EF63EBBF87CB" }, + { name = "gleam_json", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "thoas"], otp_app = "gleam_json", source = "hex", outer_checksum = "CB405BD93A8828BCD870463DE29375E7B2D252D9D124C109E5B618AAC00B86FC" }, { name = "gleam_otp", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "gleam_stdlib"], otp_app = "gleam_otp", source = "hex", outer_checksum = "ED7381E90636E18F5697FD7956EECCA635A3B65538DC2BE2D91A38E61DCE8903" }, - { name = "gleam_stdlib", version = "0.31.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "6D1BC5B4D4179B9FEE866B1E69FE180AC2CE485AD90047C0B32B2CA984052736" }, + { name = "gleam_stdlib", version = "0.32.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "07D64C26D014CF570F8ACADCE602761EA2E74C842D26F2FD49B0D61973D9966F" }, { name = "glexer", version = "0.6.2", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "glexer", source = "hex", outer_checksum = "703D2347F5180B2BCEA4D258549B0D91DACD0905010892BAC46D04D913B84D1F" }, { name = "simplifile", version = "0.1.14", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "simplifile", source = "hex", outer_checksum = "10EA0207796F20488A3A166C50A189C9385333F3C9FAC187729DE7B9CE4ADDBC" }, { name = "thoas", version = "0.4.1", build_tools = ["rebar3"], requirements = [], otp_app = "thoas", source = "hex", outer_checksum = "4918D50026C073C4AB1388437132C77A6F6F7C8AC43C60C13758CC0ADCE2134E" }, diff --git a/exercises/concept/role-playing-game/src/role_playing_game.gleam b/exercises/concept/role-playing-game/src/role_playing_game.gleam index bc9c985f4..4262566ee 100644 --- a/exercises/concept/role-playing-game/src/role_playing_game.gleam +++ b/exercises/concept/role-playing-game/src/role_playing_game.gleam @@ -1,4 +1,4 @@ -import gleam/option.{Option} +import gleam/option.{type Option} pub type Player { Player(name: Option(String), level: Int, health: Int, mana: Option(Int)) diff --git a/exercises/concept/secrets/gleam.toml b/exercises/concept/secrets/gleam.toml index 5dda74fff..73c65eef2 100644 --- a/exercises/concept/secrets/gleam.toml +++ b/exercises/concept/secrets/gleam.toml @@ -1,5 +1,6 @@ name = "secrets" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/concept/secrets/manifest.toml b/exercises/concept/secrets/manifest.toml index a8cdf8b1d..b033c4e0e 100644 --- a/exercises/concept/secrets/manifest.toml +++ b/exercises/concept/secrets/manifest.toml @@ -2,16 +2,16 @@ # You typically do not need to edit this file packages = [ - { name = "exercism_test_runner", version = "1.4.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "glance", "gleam_json", "gleam_community_ansi", "gleam_stdlib", "simplifile", "gap"], otp_app = "exercism_test_runner", source = "hex", outer_checksum = "336FBF790841C2DC25EB77B35E76A09EFDB9771D7D813E0FDBC71A50CB79711D" }, - { name = "gap", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_community_ansi", "gleam_stdlib"], otp_app = "gap", source = "hex", outer_checksum = "AF290C27B3FAE5FE64E1B7E9C70A9E29AA0F42429C0592D375770C1C51B79D36" }, - { name = "glance", version = "0.7.1", build_tools = ["gleam"], requirements = ["gleam_stdlib", "glexer"], otp_app = "glance", source = "hex", outer_checksum = "B646A08970990D9D7A103443C5CD46F9D4297BF05F188767777FCC14ADF395EA" }, + { name = "exercism_test_runner", version = "1.4.0", build_tools = ["gleam"], requirements = ["glance", "gleam_community_ansi", "gleam_erlang", "simplifile", "gap", "gleam_json", "gleam_stdlib"], otp_app = "exercism_test_runner", source = "hex", outer_checksum = "336FBF790841C2DC25EB77B35E76A09EFDB9771D7D813E0FDBC71A50CB79711D" }, + { name = "gap", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_community_ansi"], otp_app = "gap", source = "hex", outer_checksum = "AF290C27B3FAE5FE64E1B7E9C70A9E29AA0F42429C0592D375770C1C51B79D36" }, + { name = "glance", version = "0.8.0", build_tools = ["gleam"], requirements = ["glexer", "gleam_stdlib"], otp_app = "glance", source = "hex", outer_checksum = "C78390EAF236A74CE7E8FD7AB07D1D1A494E6C82415B33BA6BB6923275B9FE3B" }, { name = "gleam_bitwise", version = "1.3.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_bitwise", source = "hex", outer_checksum = "E2A46EE42E5E9110DAD67E0F71E7358CBE54D5EC22C526DD48CBBA3223025792" }, - { name = "gleam_community_ansi", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_bitwise", "gleam_community_colour"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "6E4E0CF2B207C1A7FCD3C21AA43514D67BC7004F21F82045CDCCE6C727A14862" }, - { name = "gleam_community_colour", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_bitwise"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "D27CE357ECB343929A8CEC3FBA0B499943A47F0EE1F589EE16AFC2DC21C61E5B" }, - { name = "gleam_erlang", version = "0.22.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "367D8B41A7A86809928ED1E7E55BFD0D46D7C4CF473440190F324AFA347109B4" }, - { name = "gleam_json", version = "0.6.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "thoas"], otp_app = "gleam_json", source = "hex", outer_checksum = "C6CC5BEECA525117E97D0905013AB3F8836537455645DDDD10FE31A511B195EF" }, + { name = "gleam_community_ansi", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_community_colour"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "8B5A9677BC5A2738712BBAF2BA289B1D8195FDF962BBC769569976AD5E9794E1" }, + { name = "gleam_community_colour", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "036C206886AFB9F153C552700A7A0B4D2864E3BC96A20C77E5F34A013C051BE3" }, + { name = "gleam_erlang", version = "0.23.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "DA7A8E5540948DE10EB01B530869F8FF2FF6CAD8CFDA87626CE6EF63EBBF87CB" }, + { name = "gleam_json", version = "0.7.0", build_tools = ["gleam"], requirements = ["thoas", "gleam_stdlib"], otp_app = "gleam_json", source = "hex", outer_checksum = "CB405BD93A8828BCD870463DE29375E7B2D252D9D124C109E5B618AAC00B86FC" }, { name = "gleam_otp", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "gleam_stdlib"], otp_app = "gleam_otp", source = "hex", outer_checksum = "ED7381E90636E18F5697FD7956EECCA635A3B65538DC2BE2D91A38E61DCE8903" }, - { name = "gleam_stdlib", version = "0.31.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "6D1BC5B4D4179B9FEE866B1E69FE180AC2CE485AD90047C0B32B2CA984052736" }, + { name = "gleam_stdlib", version = "0.32.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "07D64C26D014CF570F8ACADCE602761EA2E74C842D26F2FD49B0D61973D9966F" }, { name = "glexer", version = "0.6.2", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "glexer", source = "hex", outer_checksum = "703D2347F5180B2BCEA4D258549B0D91DACD0905010892BAC46D04D913B84D1F" }, { name = "simplifile", version = "0.1.14", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "simplifile", source = "hex", outer_checksum = "10EA0207796F20488A3A166C50A189C9385333F3C9FAC187729DE7B9CE4ADDBC" }, { name = "thoas", version = "0.4.1", build_tools = ["rebar3"], requirements = [], otp_app = "thoas", source = "hex", outer_checksum = "4918D50026C073C4AB1388437132C77A6F6F7C8AC43C60C13758CC0ADCE2134E" }, diff --git a/exercises/concept/secure-treasure-chest/gleam.toml b/exercises/concept/secure-treasure-chest/gleam.toml index 40395f013..2e5eafa1e 100644 --- a/exercises/concept/secure-treasure-chest/gleam.toml +++ b/exercises/concept/secure-treasure-chest/gleam.toml @@ -1,5 +1,6 @@ name = "secure_treasure_chest" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/concept/secure-treasure-chest/manifest.toml b/exercises/concept/secure-treasure-chest/manifest.toml index a8cdf8b1d..b02953598 100644 --- a/exercises/concept/secure-treasure-chest/manifest.toml +++ b/exercises/concept/secure-treasure-chest/manifest.toml @@ -2,16 +2,16 @@ # You typically do not need to edit this file packages = [ - { name = "exercism_test_runner", version = "1.4.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "glance", "gleam_json", "gleam_community_ansi", "gleam_stdlib", "simplifile", "gap"], otp_app = "exercism_test_runner", source = "hex", outer_checksum = "336FBF790841C2DC25EB77B35E76A09EFDB9771D7D813E0FDBC71A50CB79711D" }, - { name = "gap", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_community_ansi", "gleam_stdlib"], otp_app = "gap", source = "hex", outer_checksum = "AF290C27B3FAE5FE64E1B7E9C70A9E29AA0F42429C0592D375770C1C51B79D36" }, - { name = "glance", version = "0.7.1", build_tools = ["gleam"], requirements = ["gleam_stdlib", "glexer"], otp_app = "glance", source = "hex", outer_checksum = "B646A08970990D9D7A103443C5CD46F9D4297BF05F188767777FCC14ADF395EA" }, + { name = "exercism_test_runner", version = "1.4.0", build_tools = ["gleam"], requirements = ["simplifile", "gleam_erlang", "gleam_json", "gleam_stdlib", "gleam_community_ansi", "gap", "glance"], otp_app = "exercism_test_runner", source = "hex", outer_checksum = "336FBF790841C2DC25EB77B35E76A09EFDB9771D7D813E0FDBC71A50CB79711D" }, + { name = "gap", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_community_ansi"], otp_app = "gap", source = "hex", outer_checksum = "AF290C27B3FAE5FE64E1B7E9C70A9E29AA0F42429C0592D375770C1C51B79D36" }, + { name = "glance", version = "0.8.0", build_tools = ["gleam"], requirements = ["glexer", "gleam_stdlib"], otp_app = "glance", source = "hex", outer_checksum = "C78390EAF236A74CE7E8FD7AB07D1D1A494E6C82415B33BA6BB6923275B9FE3B" }, { name = "gleam_bitwise", version = "1.3.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_bitwise", source = "hex", outer_checksum = "E2A46EE42E5E9110DAD67E0F71E7358CBE54D5EC22C526DD48CBBA3223025792" }, - { name = "gleam_community_ansi", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_bitwise", "gleam_community_colour"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "6E4E0CF2B207C1A7FCD3C21AA43514D67BC7004F21F82045CDCCE6C727A14862" }, - { name = "gleam_community_colour", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_bitwise"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "D27CE357ECB343929A8CEC3FBA0B499943A47F0EE1F589EE16AFC2DC21C61E5B" }, - { name = "gleam_erlang", version = "0.22.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "367D8B41A7A86809928ED1E7E55BFD0D46D7C4CF473440190F324AFA347109B4" }, - { name = "gleam_json", version = "0.6.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "thoas"], otp_app = "gleam_json", source = "hex", outer_checksum = "C6CC5BEECA525117E97D0905013AB3F8836537455645DDDD10FE31A511B195EF" }, - { name = "gleam_otp", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "gleam_stdlib"], otp_app = "gleam_otp", source = "hex", outer_checksum = "ED7381E90636E18F5697FD7956EECCA635A3B65538DC2BE2D91A38E61DCE8903" }, - { name = "gleam_stdlib", version = "0.31.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "6D1BC5B4D4179B9FEE866B1E69FE180AC2CE485AD90047C0B32B2CA984052736" }, + { name = "gleam_community_ansi", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_community_colour"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "8B5A9677BC5A2738712BBAF2BA289B1D8195FDF962BBC769569976AD5E9794E1" }, + { name = "gleam_community_colour", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "036C206886AFB9F153C552700A7A0B4D2864E3BC96A20C77E5F34A013C051BE3" }, + { name = "gleam_erlang", version = "0.23.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "DA7A8E5540948DE10EB01B530869F8FF2FF6CAD8CFDA87626CE6EF63EBBF87CB" }, + { name = "gleam_json", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "thoas"], otp_app = "gleam_json", source = "hex", outer_checksum = "CB405BD93A8828BCD870463DE29375E7B2D252D9D124C109E5B618AAC00B86FC" }, + { name = "gleam_otp", version = "0.7.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "gleam_erlang"], otp_app = "gleam_otp", source = "hex", outer_checksum = "ED7381E90636E18F5697FD7956EECCA635A3B65538DC2BE2D91A38E61DCE8903" }, + { name = "gleam_stdlib", version = "0.32.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "07D64C26D014CF570F8ACADCE602761EA2E74C842D26F2FD49B0D61973D9966F" }, { name = "glexer", version = "0.6.2", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "glexer", source = "hex", outer_checksum = "703D2347F5180B2BCEA4D258549B0D91DACD0905010892BAC46D04D913B84D1F" }, { name = "simplifile", version = "0.1.14", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "simplifile", source = "hex", outer_checksum = "10EA0207796F20488A3A166C50A189C9385333F3C9FAC187729DE7B9CE4ADDBC" }, { name = "thoas", version = "0.4.1", build_tools = ["rebar3"], requirements = [], otp_app = "thoas", source = "hex", outer_checksum = "4918D50026C073C4AB1388437132C77A6F6F7C8AC43C60C13758CC0ADCE2134E" }, diff --git a/exercises/concept/spring-cleaning/gleam.toml b/exercises/concept/spring-cleaning/gleam.toml index 132459fbd..0f1a694a7 100644 --- a/exercises/concept/spring-cleaning/gleam.toml +++ b/exercises/concept/spring-cleaning/gleam.toml @@ -1,5 +1,6 @@ name = "spring_cleaning" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/concept/sticker-shop/gleam.toml b/exercises/concept/sticker-shop/gleam.toml index 6280a5f37..5e13629b1 100644 --- a/exercises/concept/sticker-shop/gleam.toml +++ b/exercises/concept/sticker-shop/gleam.toml @@ -1,5 +1,6 @@ name = "sticker_shop" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/concept/sticker-shop/test/sticker_shop_test.gleam b/exercises/concept/sticker-shop/test/sticker_shop_test.gleam index 2f195d625..623c51d26 100644 --- a/exercises/concept/sticker-shop/test/sticker_shop_test.gleam +++ b/exercises/concept/sticker-shop/test/sticker_shop_test.gleam @@ -2,7 +2,7 @@ import exercism/should import exercism/test_runner import gleam/string import simplifile -import sticker_shop.{Eur, Jpy, Money, Usd} +import sticker_shop.{type Eur, type Jpy, type Money, type Usd} pub fn main() { test_runner.main() diff --git a/exercises/concept/tisbury-treasure-hunt/gleam.toml b/exercises/concept/tisbury-treasure-hunt/gleam.toml index 328db90c7..96586239a 100644 --- a/exercises/concept/tisbury-treasure-hunt/gleam.toml +++ b/exercises/concept/tisbury-treasure-hunt/gleam.toml @@ -1,5 +1,6 @@ name = "tisbury_treasure_hunt" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/concept/tracks-on-tracks-on-tracks/gleam.toml b/exercises/concept/tracks-on-tracks-on-tracks/gleam.toml index 9b02d2d21..fb22ee6e0 100644 --- a/exercises/concept/tracks-on-tracks-on-tracks/gleam.toml +++ b/exercises/concept/tracks-on-tracks-on-tracks/gleam.toml @@ -1,5 +1,6 @@ name = "tracks_on_tracks_on_tracks" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/concept/treasure-chest/gleam.toml b/exercises/concept/treasure-chest/gleam.toml index a09e7a70c..b87518e94 100644 --- a/exercises/concept/treasure-chest/gleam.toml +++ b/exercises/concept/treasure-chest/gleam.toml @@ -1,5 +1,6 @@ name = "treasure_chest" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/concept/valentines-day/gleam.toml b/exercises/concept/valentines-day/gleam.toml index 9631244e0..af7ab7bf3 100644 --- a/exercises/concept/valentines-day/gleam.toml +++ b/exercises/concept/valentines-day/gleam.toml @@ -1,5 +1,6 @@ name = "valentines_day" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/concept/weather-ranking/.meta/example.gleam b/exercises/concept/weather-ranking/.meta/example.gleam index db3259226..74909d11b 100644 --- a/exercises/concept/weather-ranking/.meta/example.gleam +++ b/exercises/concept/weather-ranking/.meta/example.gleam @@ -1,4 +1,4 @@ -import gleam/order.{Order} +import gleam/order.{type Order} import gleam/float import gleam/list diff --git a/exercises/concept/weather-ranking/gleam.toml b/exercises/concept/weather-ranking/gleam.toml index aced2d511..0f5f805dd 100644 --- a/exercises/concept/weather-ranking/gleam.toml +++ b/exercises/concept/weather-ranking/gleam.toml @@ -1,5 +1,6 @@ name = "weather_ranking" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/concept/weather-ranking/src/weather_ranking.gleam b/exercises/concept/weather-ranking/src/weather_ranking.gleam index 75352c92a..c6e9a6932 100644 --- a/exercises/concept/weather-ranking/src/weather_ranking.gleam +++ b/exercises/concept/weather-ranking/src/weather_ranking.gleam @@ -1,4 +1,4 @@ -import gleam/order.{Order} +import gleam/order.{type Order} pub type City { City(name: String, temperature: Temperature) diff --git a/exercises/concept/wine-cellar/gleam.toml b/exercises/concept/wine-cellar/gleam.toml index dd6943118..d95df5ad6 100644 --- a/exercises/concept/wine-cellar/gleam.toml +++ b/exercises/concept/wine-cellar/gleam.toml @@ -1,5 +1,6 @@ name = "wine_cellar" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/accumulate/gleam.toml b/exercises/practice/accumulate/gleam.toml index e793b92a2..6252f5ed5 100644 --- a/exercises/practice/accumulate/gleam.toml +++ b/exercises/practice/accumulate/gleam.toml @@ -1,5 +1,6 @@ name = "accumulate" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/acronym/gleam.toml b/exercises/practice/acronym/gleam.toml index 43357f3b7..9cc8e5a5f 100644 --- a/exercises/practice/acronym/gleam.toml +++ b/exercises/practice/acronym/gleam.toml @@ -1,5 +1,6 @@ name = "acronym" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/affine-cipher/gleam.toml b/exercises/practice/affine-cipher/gleam.toml index f32ec67b5..26e0659ea 100644 --- a/exercises/practice/affine-cipher/gleam.toml +++ b/exercises/practice/affine-cipher/gleam.toml @@ -1,5 +1,6 @@ name = "affine_cipher" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/all-your-base/gleam.toml b/exercises/practice/all-your-base/gleam.toml index 88024a929..cc6c34891 100644 --- a/exercises/practice/all-your-base/gleam.toml +++ b/exercises/practice/all-your-base/gleam.toml @@ -1,5 +1,6 @@ name = "all_your_base" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/allergies/gleam.toml b/exercises/practice/allergies/gleam.toml index 210d8f544..adcdbfd3f 100644 --- a/exercises/practice/allergies/gleam.toml +++ b/exercises/practice/allergies/gleam.toml @@ -1,5 +1,6 @@ name = "allergies" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/alphametics/.meta/example.gleam b/exercises/practice/alphametics/.meta/example.gleam index a1f446264..c0ea1d166 100644 --- a/exercises/practice/alphametics/.meta/example.gleam +++ b/exercises/practice/alphametics/.meta/example.gleam @@ -1,9 +1,9 @@ -import gleam/map.{Map} +import gleam/map.{type Map} import gleam/string import gleam/list import gleam/int import gleam/option -import gleam/set.{Set} +import gleam/set.{type Set} pub fn solve(puzzle: String) -> Result(Map(String, Int), Nil) { let #(coefficients, leading_digits) = parse_puzzle(puzzle) diff --git a/exercises/practice/alphametics/gleam.toml b/exercises/practice/alphametics/gleam.toml index 747682d46..e197ab05c 100644 --- a/exercises/practice/alphametics/gleam.toml +++ b/exercises/practice/alphametics/gleam.toml @@ -1,5 +1,6 @@ name = "alphametics" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/anagram/gleam.toml b/exercises/practice/anagram/gleam.toml index 126a9ec25..3ecdc1860 100644 --- a/exercises/practice/anagram/gleam.toml +++ b/exercises/practice/anagram/gleam.toml @@ -1,5 +1,6 @@ name = "anagram" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/armstrong-numbers/gleam.toml b/exercises/practice/armstrong-numbers/gleam.toml index 02a9c8486..57ea39426 100644 --- a/exercises/practice/armstrong-numbers/gleam.toml +++ b/exercises/practice/armstrong-numbers/gleam.toml @@ -1,5 +1,6 @@ name = "armstrong_numbers" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/atbash-cipher/.meta/example.gleam b/exercises/practice/atbash-cipher/.meta/example.gleam index f4214a52d..2c177ce3d 100644 --- a/exercises/practice/atbash-cipher/.meta/example.gleam +++ b/exercises/practice/atbash-cipher/.meta/example.gleam @@ -1,7 +1,7 @@ import gleam/result import gleam/string import gleam/list -import gleam/map.{Map} +import gleam/map.{type Map} pub fn encode(phrase: String) -> String { let encode_map = encoding_map() diff --git a/exercises/practice/atbash-cipher/gleam.toml b/exercises/practice/atbash-cipher/gleam.toml index e282045d8..02f656290 100644 --- a/exercises/practice/atbash-cipher/gleam.toml +++ b/exercises/practice/atbash-cipher/gleam.toml @@ -1,5 +1,6 @@ name = "atbash_cipher" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/binary-search-tree/gleam.toml b/exercises/practice/binary-search-tree/gleam.toml index a51e078a2..5bb6560b2 100644 --- a/exercises/practice/binary-search-tree/gleam.toml +++ b/exercises/practice/binary-search-tree/gleam.toml @@ -1,5 +1,6 @@ name = "binary_search_tree" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/bob/gleam.toml b/exercises/practice/bob/gleam.toml index b405afbdc..7d2b09f83 100644 --- a/exercises/practice/bob/gleam.toml +++ b/exercises/practice/bob/gleam.toml @@ -1,5 +1,6 @@ name = "bob" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/book-store/gleam.toml b/exercises/practice/book-store/gleam.toml index 2c0b5dfba..27c752045 100644 --- a/exercises/practice/book-store/gleam.toml +++ b/exercises/practice/book-store/gleam.toml @@ -1,5 +1,6 @@ name = "book_store" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/bottle-song/gleam.toml b/exercises/practice/bottle-song/gleam.toml index be71064b8..27177ec17 100644 --- a/exercises/practice/bottle-song/gleam.toml +++ b/exercises/practice/bottle-song/gleam.toml @@ -1,5 +1,6 @@ name = "bottle_song" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/bowling/gleam.toml b/exercises/practice/bowling/gleam.toml index a25a27e8f..540f09a55 100644 --- a/exercises/practice/bowling/gleam.toml +++ b/exercises/practice/bowling/gleam.toml @@ -1,5 +1,6 @@ name = "bowling" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/bowling/test/bowling_test.gleam b/exercises/practice/bowling/test/bowling_test.gleam index 1341629dd..aeda68030 100644 --- a/exercises/practice/bowling/test/bowling_test.gleam +++ b/exercises/practice/bowling/test/bowling_test.gleam @@ -1,5 +1,6 @@ import bowling.{ - Error, Game, GameComplete, GameNotComplete, InvalidPinCount, roll, score, + type Error, Error, Game, GameComplete, GameNotComplete, InvalidPinCount, roll, + score, } import exercism/test_runner import exercism/should diff --git a/exercises/practice/change/.meta/example.gleam b/exercises/practice/change/.meta/example.gleam index e6d7f8ad9..7c760beea 100644 --- a/exercises/practice/change/.meta/example.gleam +++ b/exercises/practice/change/.meta/example.gleam @@ -1,7 +1,7 @@ import gleam/result import gleam/list import gleam/int -import gleam/map.{Map} +import gleam/map.{type Map} pub type Error { ImpossibleTarget diff --git a/exercises/practice/change/gleam.toml b/exercises/practice/change/gleam.toml index b3571ad81..584cb9aa6 100644 --- a/exercises/practice/change/gleam.toml +++ b/exercises/practice/change/gleam.toml @@ -1,5 +1,6 @@ name = "change" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/circular-buffer/.meta/example.gleam b/exercises/practice/circular-buffer/.meta/example.gleam index 91ae44688..4ad81c41b 100644 --- a/exercises/practice/circular-buffer/.meta/example.gleam +++ b/exercises/practice/circular-buffer/.meta/example.gleam @@ -1,4 +1,4 @@ -import gleam/queue.{Queue} +import gleam/queue.{type Queue} pub opaque type CircularBuffer(t) { CircularBuffer(capacity: Int, size: Int, queue: Queue(t)) diff --git a/exercises/practice/circular-buffer/gleam.toml b/exercises/practice/circular-buffer/gleam.toml index 6836a323d..6ccf312c0 100644 --- a/exercises/practice/circular-buffer/gleam.toml +++ b/exercises/practice/circular-buffer/gleam.toml @@ -1,5 +1,6 @@ name = "circular_buffer" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/clock/gleam.toml b/exercises/practice/clock/gleam.toml index d1b18c95d..144e5f48c 100644 --- a/exercises/practice/clock/gleam.toml +++ b/exercises/practice/clock/gleam.toml @@ -1,5 +1,6 @@ name = "clock" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/collatz-conjecture/gleam.toml b/exercises/practice/collatz-conjecture/gleam.toml index b452d2379..7143bf7b9 100644 --- a/exercises/practice/collatz-conjecture/gleam.toml +++ b/exercises/practice/collatz-conjecture/gleam.toml @@ -1,5 +1,6 @@ name = "collatz_conjecture" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/connect/.meta/example.gleam b/exercises/practice/connect/.meta/example.gleam index 374ec29eb..e5ac7cf09 100644 --- a/exercises/practice/connect/.meta/example.gleam +++ b/exercises/practice/connect/.meta/example.gleam @@ -1,5 +1,5 @@ import gleam/list -import gleam/map.{Map} +import gleam/map.{type Map} import gleam/string import gleam/result diff --git a/exercises/practice/connect/gleam.toml b/exercises/practice/connect/gleam.toml index 781973486..f881047b5 100644 --- a/exercises/practice/connect/gleam.toml +++ b/exercises/practice/connect/gleam.toml @@ -1,5 +1,6 @@ name = "connect" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/crypto-square/gleam.toml b/exercises/practice/crypto-square/gleam.toml index 103b79446..1bdb0b102 100644 --- a/exercises/practice/crypto-square/gleam.toml +++ b/exercises/practice/crypto-square/gleam.toml @@ -1,5 +1,6 @@ name = "crypto_square" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/custom-set/.meta/example.gleam b/exercises/practice/custom-set/.meta/example.gleam index 38f28c6ff..86c7f06db 100644 --- a/exercises/practice/custom-set/.meta/example.gleam +++ b/exercises/practice/custom-set/.meta/example.gleam @@ -1,6 +1,6 @@ import gleam/bool import gleam/list -import gleam/map.{Map} +import gleam/map.{type Map} pub opaque type Set(t) { Set(map: Map(t, Bool)) diff --git a/exercises/practice/custom-set/gleam.toml b/exercises/practice/custom-set/gleam.toml index 39f2e0f70..b33e0d2d6 100644 --- a/exercises/practice/custom-set/gleam.toml +++ b/exercises/practice/custom-set/gleam.toml @@ -1,5 +1,6 @@ name = "custom_set" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/darts/gleam.toml b/exercises/practice/darts/gleam.toml index d5d8fa105..578ff3f18 100644 --- a/exercises/practice/darts/gleam.toml +++ b/exercises/practice/darts/gleam.toml @@ -1,5 +1,6 @@ name = "darts" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/diamond/gleam.toml b/exercises/practice/diamond/gleam.toml index d5311c7f6..b07e6d798 100644 --- a/exercises/practice/diamond/gleam.toml +++ b/exercises/practice/diamond/gleam.toml @@ -1,5 +1,6 @@ name = "diamond" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/difference-of-squares/gleam.toml b/exercises/practice/difference-of-squares/gleam.toml index 7af7ab827..1d7875607 100644 --- a/exercises/practice/difference-of-squares/gleam.toml +++ b/exercises/practice/difference-of-squares/gleam.toml @@ -1,5 +1,6 @@ name = "difference_of_squares" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/dnd-character/gleam.toml b/exercises/practice/dnd-character/gleam.toml index 685fb0e7b..653ab57c9 100644 --- a/exercises/practice/dnd-character/gleam.toml +++ b/exercises/practice/dnd-character/gleam.toml @@ -1,5 +1,6 @@ name = "dnd_character" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/dominoes/gleam.toml b/exercises/practice/dominoes/gleam.toml index a5b2a8d4b..dbb553534 100644 --- a/exercises/practice/dominoes/gleam.toml +++ b/exercises/practice/dominoes/gleam.toml @@ -1,5 +1,6 @@ name = "dominoes" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/etl/.meta/example.gleam b/exercises/practice/etl/.meta/example.gleam index efde7fbb7..fd32c6e75 100644 --- a/exercises/practice/etl/.meta/example.gleam +++ b/exercises/practice/etl/.meta/example.gleam @@ -1,5 +1,5 @@ import gleam/string -import gleam/map.{Map} +import gleam/map.{type Map} import gleam/list pub fn transform(legacy: Map(Int, List(String))) -> Map(String, Int) { diff --git a/exercises/practice/etl/gleam.toml b/exercises/practice/etl/gleam.toml index f723bc654..576237d3e 100644 --- a/exercises/practice/etl/gleam.toml +++ b/exercises/practice/etl/gleam.toml @@ -1,5 +1,6 @@ name = "etl" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/etl/src/etl.gleam b/exercises/practice/etl/src/etl.gleam index 0b2f44e43..d56723582 100644 --- a/exercises/practice/etl/src/etl.gleam +++ b/exercises/practice/etl/src/etl.gleam @@ -1,4 +1,4 @@ -import gleam/map.{Map} +import gleam/map.{type Map} pub fn transform(legacy: Map(Int, List(String))) -> Map(String, Int) { todo diff --git a/exercises/practice/flatten-array/gleam.toml b/exercises/practice/flatten-array/gleam.toml index d5c71b9fb..2c52fd379 100644 --- a/exercises/practice/flatten-array/gleam.toml +++ b/exercises/practice/flatten-array/gleam.toml @@ -1,5 +1,6 @@ name = "flatten_array" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/forth/gleam.toml b/exercises/practice/forth/gleam.toml index 60ab3ddc1..7b7736127 100644 --- a/exercises/practice/forth/gleam.toml +++ b/exercises/practice/forth/gleam.toml @@ -1,5 +1,6 @@ name = "forth" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/freelancer-rates/gleam.toml b/exercises/practice/freelancer-rates/gleam.toml index 5da5db9c1..aa341fe48 100644 --- a/exercises/practice/freelancer-rates/gleam.toml +++ b/exercises/practice/freelancer-rates/gleam.toml @@ -1,5 +1,6 @@ name = "freelancer_rates" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/grade-school/.meta/example.gleam b/exercises/practice/grade-school/.meta/example.gleam index d68efe6d2..d69cb6228 100644 --- a/exercises/practice/grade-school/.meta/example.gleam +++ b/exercises/practice/grade-school/.meta/example.gleam @@ -1,4 +1,4 @@ -import gleam/map.{Map} +import gleam/map.{type Map} import gleam/option.{None, Some} import gleam/result import gleam/string diff --git a/exercises/practice/grade-school/gleam.toml b/exercises/practice/grade-school/gleam.toml index 4f838ffc2..1fc9a4d99 100644 --- a/exercises/practice/grade-school/gleam.toml +++ b/exercises/practice/grade-school/gleam.toml @@ -1,5 +1,6 @@ name = "grade_school" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/grains/gleam.toml b/exercises/practice/grains/gleam.toml index a24e37928..3775c091e 100644 --- a/exercises/practice/grains/gleam.toml +++ b/exercises/practice/grains/gleam.toml @@ -1,5 +1,6 @@ name = "grains" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/hamming/gleam.toml b/exercises/practice/hamming/gleam.toml index 38629e85e..ee7715127 100644 --- a/exercises/practice/hamming/gleam.toml +++ b/exercises/practice/hamming/gleam.toml @@ -1,5 +1,6 @@ name = "hamming" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/hello-world/gleam.toml b/exercises/practice/hello-world/gleam.toml index ffc21c9fc..b682d0f5a 100644 --- a/exercises/practice/hello-world/gleam.toml +++ b/exercises/practice/hello-world/gleam.toml @@ -1,5 +1,6 @@ name = "hello_world" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/high-scores/gleam.toml b/exercises/practice/high-scores/gleam.toml index 512113612..80bbaa454 100644 --- a/exercises/practice/high-scores/gleam.toml +++ b/exercises/practice/high-scores/gleam.toml @@ -1,5 +1,6 @@ name = "high_scores" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/house/gleam.toml b/exercises/practice/house/gleam.toml index d85fa2284..0133c8cbd 100644 --- a/exercises/practice/house/gleam.toml +++ b/exercises/practice/house/gleam.toml @@ -1,5 +1,6 @@ name = "house" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/isbn-verifier/gleam.toml b/exercises/practice/isbn-verifier/gleam.toml index 82b8905e3..af6fdb8fd 100644 --- a/exercises/practice/isbn-verifier/gleam.toml +++ b/exercises/practice/isbn-verifier/gleam.toml @@ -1,5 +1,6 @@ name = "isbn_verifier" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/isogram/gleam.toml b/exercises/practice/isogram/gleam.toml index 9ef06f014..b58efc853 100644 --- a/exercises/practice/isogram/gleam.toml +++ b/exercises/practice/isogram/gleam.toml @@ -1,5 +1,6 @@ name = "isogram" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/killer-sudoku-helper/gleam.toml b/exercises/practice/killer-sudoku-helper/gleam.toml index 87a771378..8987d9e9f 100644 --- a/exercises/practice/killer-sudoku-helper/gleam.toml +++ b/exercises/practice/killer-sudoku-helper/gleam.toml @@ -1,5 +1,6 @@ name = "killer_sudoku_helper" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/kindergarten-garden/gleam.toml b/exercises/practice/kindergarten-garden/gleam.toml index 3f7108b15..2a3bb1505 100644 --- a/exercises/practice/kindergarten-garden/gleam.toml +++ b/exercises/practice/kindergarten-garden/gleam.toml @@ -1,5 +1,6 @@ name = "kindergarten_garden" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/knapsack/gleam.toml b/exercises/practice/knapsack/gleam.toml index 86c52869e..3f5baa0d0 100644 --- a/exercises/practice/knapsack/gleam.toml +++ b/exercises/practice/knapsack/gleam.toml @@ -1,5 +1,6 @@ name = "knapsack" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/largest-series-product/gleam.toml b/exercises/practice/largest-series-product/gleam.toml index a6c298602..5004c8087 100644 --- a/exercises/practice/largest-series-product/gleam.toml +++ b/exercises/practice/largest-series-product/gleam.toml @@ -1,5 +1,6 @@ name = "largest_series_product" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/leap/gleam.toml b/exercises/practice/leap/gleam.toml index 27810faa8..7f2b1257d 100644 --- a/exercises/practice/leap/gleam.toml +++ b/exercises/practice/leap/gleam.toml @@ -1,5 +1,6 @@ name = "leap" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/list-ops/gleam.toml b/exercises/practice/list-ops/gleam.toml index 63bf2ff31..42de5c38c 100644 --- a/exercises/practice/list-ops/gleam.toml +++ b/exercises/practice/list-ops/gleam.toml @@ -1,5 +1,6 @@ name = "list_ops" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/luhn/gleam.toml b/exercises/practice/luhn/gleam.toml index b3812cc1b..0a90398ea 100644 --- a/exercises/practice/luhn/gleam.toml +++ b/exercises/practice/luhn/gleam.toml @@ -1,5 +1,6 @@ name = "luhn" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/matching-brackets/gleam.toml b/exercises/practice/matching-brackets/gleam.toml index a2ad260c7..c6cc214be 100644 --- a/exercises/practice/matching-brackets/gleam.toml +++ b/exercises/practice/matching-brackets/gleam.toml @@ -1,5 +1,6 @@ name = "matching_brackets" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/matrix/gleam.toml b/exercises/practice/matrix/gleam.toml index b6e9eee76..f3c1cb21d 100644 --- a/exercises/practice/matrix/gleam.toml +++ b/exercises/practice/matrix/gleam.toml @@ -1,5 +1,6 @@ name = "matrix" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/minesweeper/.meta/example.gleam b/exercises/practice/minesweeper/.meta/example.gleam index d24260ae7..97b7bd16b 100644 --- a/exercises/practice/minesweeper/.meta/example.gleam +++ b/exercises/practice/minesweeper/.meta/example.gleam @@ -2,7 +2,7 @@ import gleam/string import gleam/int import gleam/list import gleam/pair -import gleam/map.{Map} +import gleam/map.{type Map} type Position { Position(Int, Int) diff --git a/exercises/practice/minesweeper/gleam.toml b/exercises/practice/minesweeper/gleam.toml index 8dffb3646..5b95dbb5a 100644 --- a/exercises/practice/minesweeper/gleam.toml +++ b/exercises/practice/minesweeper/gleam.toml @@ -1,5 +1,6 @@ name = "minesweeper" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/nth-prime/.meta/example.gleam b/exercises/practice/nth-prime/.meta/example.gleam index ec3f9d47a..b5191fd22 100644 --- a/exercises/practice/nth-prime/.meta/example.gleam +++ b/exercises/practice/nth-prime/.meta/example.gleam @@ -1,6 +1,6 @@ import gleam/int import gleam/float -import gleam/iterator.{Iterator} +import gleam/iterator.{type Iterator} pub fn prime(number: Int) -> Result(Int, Nil) { case number > 0 { diff --git a/exercises/practice/nth-prime/gleam.toml b/exercises/practice/nth-prime/gleam.toml index 348804f00..fee55f86f 100644 --- a/exercises/practice/nth-prime/gleam.toml +++ b/exercises/practice/nth-prime/gleam.toml @@ -1,5 +1,6 @@ name = "nth_prime" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/nucleotide-count/.meta/example.gleam b/exercises/practice/nucleotide-count/.meta/example.gleam index 983a4db8d..94a1a8003 100644 --- a/exercises/practice/nucleotide-count/.meta/example.gleam +++ b/exercises/practice/nucleotide-count/.meta/example.gleam @@ -1,4 +1,4 @@ -import gleam/map.{Map} +import gleam/map.{type Map} import gleam/string import gleam/list import gleam/result diff --git a/exercises/practice/nucleotide-count/gleam.toml b/exercises/practice/nucleotide-count/gleam.toml index c631d18a9..7063f4a63 100644 --- a/exercises/practice/nucleotide-count/gleam.toml +++ b/exercises/practice/nucleotide-count/gleam.toml @@ -1,5 +1,6 @@ name = "nucleotide_count" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/nucleotide-count/src/nucleotide_count.gleam b/exercises/practice/nucleotide-count/src/nucleotide_count.gleam index 86c21ba6e..34e5e09dd 100644 --- a/exercises/practice/nucleotide-count/src/nucleotide_count.gleam +++ b/exercises/practice/nucleotide-count/src/nucleotide_count.gleam @@ -1,4 +1,4 @@ -import gleam/map.{Map} +import gleam/map.{type Map} pub fn nucleotide_count(dna: String) -> Result(Map(String, Int), Nil) { todo diff --git a/exercises/practice/ocr-numbers/gleam.toml b/exercises/practice/ocr-numbers/gleam.toml index 1e6c9d1e2..4dad12a6d 100644 --- a/exercises/practice/ocr-numbers/gleam.toml +++ b/exercises/practice/ocr-numbers/gleam.toml @@ -1,5 +1,6 @@ name = "ocr_numbers" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/pangram/gleam.toml b/exercises/practice/pangram/gleam.toml index 0ddb81512..8402b5ea8 100644 --- a/exercises/practice/pangram/gleam.toml +++ b/exercises/practice/pangram/gleam.toml @@ -1,5 +1,6 @@ name = "pangram" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/pascals-triangle/gleam.toml b/exercises/practice/pascals-triangle/gleam.toml index cdb78dc49..f5d2b8c38 100644 --- a/exercises/practice/pascals-triangle/gleam.toml +++ b/exercises/practice/pascals-triangle/gleam.toml @@ -1,5 +1,6 @@ name = "pascals_triangle" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/perfect-numbers/gleam.toml b/exercises/practice/perfect-numbers/gleam.toml index 1e46a4552..dce966c1e 100644 --- a/exercises/practice/perfect-numbers/gleam.toml +++ b/exercises/practice/perfect-numbers/gleam.toml @@ -1,5 +1,6 @@ name = "perfect_numbers" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/phone-number/gleam.toml b/exercises/practice/phone-number/gleam.toml index b16bfeca7..bfe9855c7 100644 --- a/exercises/practice/phone-number/gleam.toml +++ b/exercises/practice/phone-number/gleam.toml @@ -1,5 +1,6 @@ name = "phone_number" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/pig-latin/gleam.toml b/exercises/practice/pig-latin/gleam.toml index 444a00ce3..1ead87395 100644 --- a/exercises/practice/pig-latin/gleam.toml +++ b/exercises/practice/pig-latin/gleam.toml @@ -1,5 +1,6 @@ name = "pig_latin" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/pop-count/gleam.toml b/exercises/practice/pop-count/gleam.toml index 55487aefb..ef91fe204 100644 --- a/exercises/practice/pop-count/gleam.toml +++ b/exercises/practice/pop-count/gleam.toml @@ -1,5 +1,6 @@ name = "pop_count" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/pov/gleam.toml b/exercises/practice/pov/gleam.toml index 6fb07b440..8be96ba07 100644 --- a/exercises/practice/pov/gleam.toml +++ b/exercises/practice/pov/gleam.toml @@ -1,5 +1,6 @@ name = "pov" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/pov/test/pov_test.gleam b/exercises/practice/pov/test/pov_test.gleam index 8c0036481..58c48bd11 100644 --- a/exercises/practice/pov/test/pov_test.gleam +++ b/exercises/practice/pov/test/pov_test.gleam @@ -1,6 +1,6 @@ import exercism/test_runner import exercism/should -import pov.{Tree} +import pov.{type Tree, Tree} import gleam/list import gleam/result import gleam/string diff --git a/exercises/practice/prime-factors/gleam.toml b/exercises/practice/prime-factors/gleam.toml index a1f0baeda..749150b13 100644 --- a/exercises/practice/prime-factors/gleam.toml +++ b/exercises/practice/prime-factors/gleam.toml @@ -1,5 +1,6 @@ name = "prime_factors" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/protein-translation/gleam.toml b/exercises/practice/protein-translation/gleam.toml index d3133d337..a7c0be1fd 100644 --- a/exercises/practice/protein-translation/gleam.toml +++ b/exercises/practice/protein-translation/gleam.toml @@ -1,5 +1,6 @@ name = "protein_translation" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/proverb/gleam.toml b/exercises/practice/proverb/gleam.toml index b2b50b21b..6280854a7 100644 --- a/exercises/practice/proverb/gleam.toml +++ b/exercises/practice/proverb/gleam.toml @@ -1,5 +1,6 @@ name = "proverb" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/pythagorean-triplet/gleam.toml b/exercises/practice/pythagorean-triplet/gleam.toml index ec8dc0fb4..7e91d3000 100644 --- a/exercises/practice/pythagorean-triplet/gleam.toml +++ b/exercises/practice/pythagorean-triplet/gleam.toml @@ -1,5 +1,6 @@ name = "pythagorean_triplet" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/queen-attack/gleam.toml b/exercises/practice/queen-attack/gleam.toml index 24d570efc..07e5629f7 100644 --- a/exercises/practice/queen-attack/gleam.toml +++ b/exercises/practice/queen-attack/gleam.toml @@ -1,5 +1,6 @@ name = "queen_attack" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/raindrops/gleam.toml b/exercises/practice/raindrops/gleam.toml index e2fa773cd..2811bbd99 100644 --- a/exercises/practice/raindrops/gleam.toml +++ b/exercises/practice/raindrops/gleam.toml @@ -1,5 +1,6 @@ name = "raindrops" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/rectangles/.meta/example.gleam b/exercises/practice/rectangles/.meta/example.gleam index 38018b43b..0aaf737a2 100644 --- a/exercises/practice/rectangles/.meta/example.gleam +++ b/exercises/practice/rectangles/.meta/example.gleam @@ -1,6 +1,6 @@ import gleam/list import gleam/string -import gleam/map.{Map} +import gleam/map.{type Map} type Wall { Corner diff --git a/exercises/practice/rectangles/gleam.toml b/exercises/practice/rectangles/gleam.toml index 3933d8648..8a9184ad2 100644 --- a/exercises/practice/rectangles/gleam.toml +++ b/exercises/practice/rectangles/gleam.toml @@ -1,5 +1,6 @@ name = "rectangles" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/resistor-color-duo/gleam.toml b/exercises/practice/resistor-color-duo/gleam.toml index 185b916c9..3428fa560 100644 --- a/exercises/practice/resistor-color-duo/gleam.toml +++ b/exercises/practice/resistor-color-duo/gleam.toml @@ -1,5 +1,6 @@ name = "resistor_color_duo" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/resistor-color-trio/gleam.toml b/exercises/practice/resistor-color-trio/gleam.toml index b68e6cd1a..6979696dd 100644 --- a/exercises/practice/resistor-color-trio/gleam.toml +++ b/exercises/practice/resistor-color-trio/gleam.toml @@ -1,5 +1,6 @@ name = "resistor_color_trio" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/resistor-color/gleam.toml b/exercises/practice/resistor-color/gleam.toml index 7dada9d83..3630bf7f5 100644 --- a/exercises/practice/resistor-color/gleam.toml +++ b/exercises/practice/resistor-color/gleam.toml @@ -1,5 +1,6 @@ name = "resistor_color" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/reverse-string/.meta/example.gleam b/exercises/practice/reverse-string/.meta/example.gleam index 19a6abacb..4214a6af2 100644 --- a/exercises/practice/reverse-string/.meta/example.gleam +++ b/exercises/practice/reverse-string/.meta/example.gleam @@ -1,4 +1,4 @@ -import gleam/string.{to_graphemes} +import gleam/string pub fn reverse_accumulate( graphemes_list: List(String), @@ -12,6 +12,6 @@ pub fn reverse_accumulate( pub fn reverse(value: String) -> String { value - |> to_graphemes + |> string.to_graphemes |> reverse_accumulate("") } diff --git a/exercises/practice/reverse-string/gleam.toml b/exercises/practice/reverse-string/gleam.toml index 4a3d05ea2..240ebd2ab 100644 --- a/exercises/practice/reverse-string/gleam.toml +++ b/exercises/practice/reverse-string/gleam.toml @@ -1,5 +1,6 @@ name = "reverse_string" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/rna-transcription/gleam.toml b/exercises/practice/rna-transcription/gleam.toml index 93a06016a..316e679e3 100644 --- a/exercises/practice/rna-transcription/gleam.toml +++ b/exercises/practice/rna-transcription/gleam.toml @@ -1,5 +1,6 @@ name = "rna_transcription" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/robot-simulator/gleam.toml b/exercises/practice/robot-simulator/gleam.toml index 60d1ac5bb..f1e5907ad 100644 --- a/exercises/practice/robot-simulator/gleam.toml +++ b/exercises/practice/robot-simulator/gleam.toml @@ -1,5 +1,6 @@ name = "robot_simulator" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/roman-numerals/gleam.toml b/exercises/practice/roman-numerals/gleam.toml index 792877ed8..548f63afd 100644 --- a/exercises/practice/roman-numerals/gleam.toml +++ b/exercises/practice/roman-numerals/gleam.toml @@ -1,5 +1,6 @@ name = "roman_numerals" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/rotational-cipher/.meta/example.gleam b/exercises/practice/rotational-cipher/.meta/example.gleam index 3d5d827b4..a2b6dca1b 100644 --- a/exercises/practice/rotational-cipher/.meta/example.gleam +++ b/exercises/practice/rotational-cipher/.meta/example.gleam @@ -1,6 +1,6 @@ import gleam/string import gleam/list -import gleam/map.{Map} +import gleam/map.{type Map} import gleam/result fn shift_map(shift_key: Int, text: String) -> Map(String, String) { diff --git a/exercises/practice/rotational-cipher/gleam.toml b/exercises/practice/rotational-cipher/gleam.toml index d63dcf13c..a74c3bd41 100644 --- a/exercises/practice/rotational-cipher/gleam.toml +++ b/exercises/practice/rotational-cipher/gleam.toml @@ -1,5 +1,6 @@ name = "rotational_cipher" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/run-length-encoding/gleam.toml b/exercises/practice/run-length-encoding/gleam.toml index d4a5d12ff..aa5ad7e45 100644 --- a/exercises/practice/run-length-encoding/gleam.toml +++ b/exercises/practice/run-length-encoding/gleam.toml @@ -1,5 +1,6 @@ name = "run_length_encoding" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/saddle-points/gleam.toml b/exercises/practice/saddle-points/gleam.toml index 0af802af1..e87d7c146 100644 --- a/exercises/practice/saddle-points/gleam.toml +++ b/exercises/practice/saddle-points/gleam.toml @@ -1,5 +1,6 @@ name = "saddle_points" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/satellite/gleam.toml b/exercises/practice/satellite/gleam.toml index 7b25b6aa3..8a1b39629 100644 --- a/exercises/practice/satellite/gleam.toml +++ b/exercises/practice/satellite/gleam.toml @@ -1,5 +1,6 @@ name = "satellite" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/say/gleam.toml b/exercises/practice/say/gleam.toml index a4d99dea6..22cee77a2 100644 --- a/exercises/practice/say/gleam.toml +++ b/exercises/practice/say/gleam.toml @@ -1,5 +1,6 @@ name = "say" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/scrabble-score/.meta/example.gleam b/exercises/practice/scrabble-score/.meta/example.gleam index 21e270b45..e42e2ada0 100644 --- a/exercises/practice/scrabble-score/.meta/example.gleam +++ b/exercises/practice/scrabble-score/.meta/example.gleam @@ -1,10 +1,10 @@ import gleam/string -import gleam/map.{from_list, get} -import gleam/list.{fold} +import gleam/map +import gleam/list pub fn score(word word: String) -> Int { let word_values = - from_list([ + map.from_list([ #("a", 1), #("b", 3), #("c", 3), @@ -36,10 +36,10 @@ pub fn score(word word: String) -> Int { word |> string.lowercase |> string.to_graphemes - |> fold( + |> list.fold( 0, fn(acc, x) { - case get(word_values, x) { + case map.get(word_values, x) { Ok(value) -> acc + value _ -> acc } diff --git a/exercises/practice/scrabble-score/gleam.toml b/exercises/practice/scrabble-score/gleam.toml index 9ae13a73b..53716e4ec 100644 --- a/exercises/practice/scrabble-score/gleam.toml +++ b/exercises/practice/scrabble-score/gleam.toml @@ -1,5 +1,6 @@ name = "scrabble_score" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/secret-handshake/gleam.toml b/exercises/practice/secret-handshake/gleam.toml index 9e824e525..88a7f88e3 100644 --- a/exercises/practice/secret-handshake/gleam.toml +++ b/exercises/practice/secret-handshake/gleam.toml @@ -1,5 +1,6 @@ name = "secret_handshake" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/series/gleam.toml b/exercises/practice/series/gleam.toml index f8c9b602c..97eb10a8b 100644 --- a/exercises/practice/series/gleam.toml +++ b/exercises/practice/series/gleam.toml @@ -1,5 +1,6 @@ name = "series" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/simple-cipher/gleam.toml b/exercises/practice/simple-cipher/gleam.toml index a23ad4dc1..e5154d9ec 100644 --- a/exercises/practice/simple-cipher/gleam.toml +++ b/exercises/practice/simple-cipher/gleam.toml @@ -1,5 +1,6 @@ name = "simple_cipher" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/space-age/gleam.toml b/exercises/practice/space-age/gleam.toml index ec1f8d964..027482506 100644 --- a/exercises/practice/space-age/gleam.toml +++ b/exercises/practice/space-age/gleam.toml @@ -1,5 +1,6 @@ name = "space_age" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/square-root/gleam.toml b/exercises/practice/square-root/gleam.toml index 025d2d114..71e9041b0 100644 --- a/exercises/practice/square-root/gleam.toml +++ b/exercises/practice/square-root/gleam.toml @@ -1,5 +1,6 @@ name = "square_root" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/strain/gleam.toml b/exercises/practice/strain/gleam.toml index f83a872ae..68a71f5d5 100644 --- a/exercises/practice/strain/gleam.toml +++ b/exercises/practice/strain/gleam.toml @@ -1,5 +1,6 @@ name = "strain" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/sublist/gleam.toml b/exercises/practice/sublist/gleam.toml index 66fcdce0d..f38fa9196 100644 --- a/exercises/practice/sublist/gleam.toml +++ b/exercises/practice/sublist/gleam.toml @@ -1,5 +1,6 @@ name = "sublist" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/sum-of-multiples/.meta/example.gleam b/exercises/practice/sum-of-multiples/.meta/example.gleam index d8b3678f8..acc118efd 100644 --- a/exercises/practice/sum-of-multiples/.meta/example.gleam +++ b/exercises/practice/sum-of-multiples/.meta/example.gleam @@ -1,4 +1,4 @@ -import gleam/set.{Set} +import gleam/set.{type Set} import gleam/list import gleam/int diff --git a/exercises/practice/sum-of-multiples/gleam.toml b/exercises/practice/sum-of-multiples/gleam.toml index d425a22c7..765bd5545 100644 --- a/exercises/practice/sum-of-multiples/gleam.toml +++ b/exercises/practice/sum-of-multiples/gleam.toml @@ -1,5 +1,6 @@ name = "sum_of_multiples" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/tournament/.meta/example.gleam b/exercises/practice/tournament/.meta/example.gleam index d69c9797f..5f07304c0 100644 --- a/exercises/practice/tournament/.meta/example.gleam +++ b/exercises/practice/tournament/.meta/example.gleam @@ -1,9 +1,9 @@ import gleam/string import gleam/list import gleam/int -import gleam/map.{Map} -import gleam/option.{None, Option, Some} -import gleam/order.{Eq, Gt, Lt, Order} +import gleam/map.{type Map} +import gleam/option.{type Option, None, Some} +import gleam/order.{type Order, Eq, Gt, Lt} pub fn tally(input: String) -> String { case input { diff --git a/exercises/practice/tournament/gleam.toml b/exercises/practice/tournament/gleam.toml index 0f8269d61..7ed861271 100644 --- a/exercises/practice/tournament/gleam.toml +++ b/exercises/practice/tournament/gleam.toml @@ -1,5 +1,6 @@ name = "tournament" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/triangle/gleam.toml b/exercises/practice/triangle/gleam.toml index 8bbf636cd..806d213d6 100644 --- a/exercises/practice/triangle/gleam.toml +++ b/exercises/practice/triangle/gleam.toml @@ -1,5 +1,6 @@ name = "triangle" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/twelve-days/gleam.toml b/exercises/practice/twelve-days/gleam.toml index 32a980676..718f838ac 100644 --- a/exercises/practice/twelve-days/gleam.toml +++ b/exercises/practice/twelve-days/gleam.toml @@ -1,5 +1,6 @@ name = "twelve_days" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/two-fer/.meta/example.gleam b/exercises/practice/two-fer/.meta/example.gleam index cea232ac4..7b05799e7 100644 --- a/exercises/practice/two-fer/.meta/example.gleam +++ b/exercises/practice/two-fer/.meta/example.gleam @@ -1,4 +1,4 @@ -import gleam/option.{Option} +import gleam/option.{type Option} pub fn two_fer(name: Option(String)) -> String { "One for " <> option.unwrap(name, "you") <> ", one for me." diff --git a/exercises/practice/two-fer/gleam.toml b/exercises/practice/two-fer/gleam.toml index b55046fa8..8d7b9d775 100644 --- a/exercises/practice/two-fer/gleam.toml +++ b/exercises/practice/two-fer/gleam.toml @@ -1,5 +1,6 @@ name = "two_fer" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/two-fer/src/two_fer.gleam b/exercises/practice/two-fer/src/two_fer.gleam index 28fc7da8b..660283a51 100644 --- a/exercises/practice/two-fer/src/two_fer.gleam +++ b/exercises/practice/two-fer/src/two_fer.gleam @@ -1,4 +1,4 @@ -import gleam/option.{Option} +import gleam/option.{type Option} pub fn two_fer(name: Option(String)) -> String { "todo" diff --git a/exercises/practice/variable-length-quantity/gleam.toml b/exercises/practice/variable-length-quantity/gleam.toml index cdc0c39d7..88ef97ecb 100644 --- a/exercises/practice/variable-length-quantity/gleam.toml +++ b/exercises/practice/variable-length-quantity/gleam.toml @@ -1,5 +1,6 @@ name = "variable_length_quantity" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/variable-length-quantity/src/variable_length_quantity.gleam b/exercises/practice/variable-length-quantity/src/variable_length_quantity.gleam index 53f2f0c2a..51ab948b2 100644 --- a/exercises/practice/variable-length-quantity/src/variable_length_quantity.gleam +++ b/exercises/practice/variable-length-quantity/src/variable_length_quantity.gleam @@ -2,10 +2,10 @@ pub type Error { IncompleteSequence } -pub fn encode(integers: List(Int)) -> BitString { +pub fn encode(integers: List(Int)) -> BitArray { todo } -pub fn decode(string: BitString) -> Result(List(Int), Error) { +pub fn decode(string: BitArray) -> Result(List(Int), Error) { todo } diff --git a/exercises/practice/word-count/.meta/example.gleam b/exercises/practice/word-count/.meta/example.gleam index 730a0bf11..5aa0eb1e9 100644 --- a/exercises/practice/word-count/.meta/example.gleam +++ b/exercises/practice/word-count/.meta/example.gleam @@ -1,4 +1,4 @@ -import gleam/map.{Map} +import gleam/map.{type Map} import gleam/list import gleam/regex import gleam/string diff --git a/exercises/practice/word-count/gleam.toml b/exercises/practice/word-count/gleam.toml index dbe329a1e..855662a75 100644 --- a/exercises/practice/word-count/gleam.toml +++ b/exercises/practice/word-count/gleam.toml @@ -1,5 +1,6 @@ name = "word_count" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/word-count/src/word_count.gleam b/exercises/practice/word-count/src/word_count.gleam index a50c9b903..e2c84a78e 100644 --- a/exercises/practice/word-count/src/word_count.gleam +++ b/exercises/practice/word-count/src/word_count.gleam @@ -1,4 +1,4 @@ -import gleam/map.{Map} +import gleam/map.{type Map} pub fn count_words(input: String) -> Map(String, Int) { todo diff --git a/exercises/practice/wordy/gleam.toml b/exercises/practice/wordy/gleam.toml index e4d72dc04..a7e911c37 100644 --- a/exercises/practice/wordy/gleam.toml +++ b/exercises/practice/wordy/gleam.toml @@ -1,5 +1,6 @@ name = "wordy" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/yacht/gleam.toml b/exercises/practice/yacht/gleam.toml index 6650c3a9b..4dba6d39c 100644 --- a/exercises/practice/yacht/gleam.toml +++ b/exercises/practice/yacht/gleam.toml @@ -1,5 +1,6 @@ name = "yacht" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2" diff --git a/exercises/practice/zipper/gleam.toml b/exercises/practice/zipper/gleam.toml index ebc26b2cc..9ef53fb3c 100644 --- a/exercises/practice/zipper/gleam.toml +++ b/exercises/practice/zipper/gleam.toml @@ -1,5 +1,6 @@ name = "zipper" version = "0.1.0" +gleam = ">= 0.32.0" [dependencies] gleam_bitwise = "~> 1.2"