From 27ddf01e23113961c03db7ebc905369c2b1fad04 Mon Sep 17 00:00:00 2001 From: Katrina Owen Date: Sun, 4 Dec 2022 13:01:52 +0100 Subject: [PATCH 1/2] Reformat exercise config files This runs the `bin/configlet fmt --update` command to reformat the exercise configs. --- exercises/concept/guessing-game/.meta/config.json | 6 +++--- .../lucians-luscious-lasagna/.meta/config.json | 12 ++++++------ exercises/concept/temperature/.meta/config.json | 6 +++--- exercises/concept/valentines-day/.meta/config.json | 10 +++++----- exercises/practice/accumulate/.meta/config.json | 2 +- exercises/practice/acronym/.meta/config.json | 2 +- exercises/practice/all-your-base/.meta/config.json | 4 ++-- exercises/practice/allergies/.meta/config.json | 2 +- exercises/practice/alphametics/.meta/config.json | 4 ++-- exercises/practice/anagram/.meta/config.json | 2 +- .../practice/armstrong-numbers/.meta/config.json | 2 +- exercises/practice/atbash-cipher/.meta/config.json | 2 +- exercises/practice/bank-account/.meta/config.json | 4 ++-- exercises/practice/beer-song/.meta/config.json | 2 +- .../practice/binary-search-tree/.meta/config.json | 2 +- exercises/practice/binary-search/.meta/config.json | 2 +- exercises/practice/bob/.meta/config.json | 2 +- exercises/practice/bowling/.meta/config.json | 2 +- exercises/practice/change/.meta/config.json | 2 +- exercises/practice/clock/.meta/config.json | 2 +- .../practice/collatz-conjecture/.meta/config.json | 2 +- exercises/practice/complex-numbers/.meta/config.json | 2 +- exercises/practice/connect/.meta/config.json | 4 ++-- exercises/practice/crypto-square/.meta/config.json | 2 +- exercises/practice/custom-set/.meta/config.json | 4 ++-- exercises/practice/diamond/.meta/config.json | 2 +- .../practice/difference-of-squares/.meta/config.json | 2 +- exercises/practice/dnd-character/.meta/config.json | 2 +- exercises/practice/dominoes/.meta/config.json | 4 ++-- exercises/practice/etl/.meta/config.json | 2 +- exercises/practice/food-chain/.meta/config.json | 2 +- exercises/practice/forth/.meta/config.json | 4 ++-- exercises/practice/go-counting/.meta/config.json | 4 ++-- exercises/practice/grade-school/.meta/config.json | 2 +- exercises/practice/grains/.meta/config.json | 2 +- exercises/practice/hamming/.meta/config.json | 2 +- exercises/practice/hello-world/.meta/config.json | 2 +- exercises/practice/house/.meta/config.json | 2 +- exercises/practice/isbn-verifier/.meta/config.json | 2 +- exercises/practice/isogram/.meta/config.json | 2 +- .../practice/kindergarten-garden/.meta/config.json | 2 +- .../largest-series-product/.meta/config.json | 2 +- exercises/practice/leap/.meta/config.json | 2 +- exercises/practice/lens-person/.meta/config.json | 4 ++-- exercises/practice/linked-list/.meta/config.json | 2 +- exercises/practice/list-ops/.meta/config.json | 4 ++-- exercises/practice/luhn/.meta/config.json | 2 +- .../practice/matching-brackets/.meta/config.json | 2 +- exercises/practice/matrix/.meta/config.json | 2 +- exercises/practice/meetup/.meta/config.json | 2 +- exercises/practice/minesweeper/.meta/config.json | 4 ++-- exercises/practice/nth-prime/.meta/config.json | 2 +- .../practice/nucleotide-count/.meta/config.json | 2 +- exercises/practice/ocr-numbers/.meta/config.json | 2 +- .../practice/palindrome-products/.meta/config.json | 2 +- exercises/practice/pangram/.meta/config.json | 2 +- .../parallel-letter-frequency/.meta/config.json | 4 ++-- .../practice/pascals-triangle/.meta/config.json | 2 +- exercises/practice/perfect-numbers/.meta/config.json | 2 +- exercises/practice/phone-number/.meta/config.json | 2 +- exercises/practice/pig-latin/.meta/config.json | 2 +- exercises/practice/poker/.meta/config.json | 2 +- exercises/practice/pov/.meta/config.json | 2 +- exercises/practice/prime-factors/.meta/config.json | 2 +- .../practice/protein-translation/.meta/config.json | 2 +- exercises/practice/proverb/.meta/config.json | 2 +- .../practice/pythagorean-triplet/.meta/config.json | 2 +- exercises/practice/queen-attack/.meta/config.json | 2 +- .../practice/rail-fence-cipher/.meta/config.json | 2 +- exercises/practice/raindrops/.meta/config.json | 2 +- .../practice/resistor-color-duo/.meta/config.json | 2 +- .../practice/resistor-color-trio/.meta/config.json | 2 +- .../practice/rna-transcription/.meta/config.json | 2 +- exercises/practice/robot-name/.meta/config.json | 2 +- exercises/practice/robot-simulator/.meta/config.json | 2 +- exercises/practice/roman-numerals/.meta/config.json | 2 +- .../practice/rotational-cipher/.meta/config.json | 2 +- .../practice/run-length-encoding/.meta/config.json | 2 +- exercises/practice/saddle-points/.meta/config.json | 2 +- exercises/practice/say/.meta/config.json | 2 +- exercises/practice/scrabble-score/.meta/config.json | 2 +- .../practice/secret-handshake/.meta/config.json | 2 +- exercises/practice/series/.meta/config.json | 2 +- exercises/practice/sgf-parsing/.meta/config.json | 4 ++-- exercises/practice/sieve/.meta/config.json | 2 +- exercises/practice/simple-cipher/.meta/config.json | 2 +- .../practice/simple-linked-list/.meta/config.json | 2 +- exercises/practice/space-age/.meta/config.json | 2 +- exercises/practice/spiral-matrix/.meta/config.json | 2 +- exercises/practice/strain/.meta/config.json | 2 +- exercises/practice/sublist/.meta/config.json | 4 ++-- .../practice/sum-of-multiples/.meta/config.json | 2 +- exercises/practice/transpose/.meta/config.json | 2 +- exercises/practice/triangle/.meta/config.json | 2 +- exercises/practice/twelve-days/.meta/config.json | 2 +- exercises/practice/word-count/.meta/config.json | 2 +- exercises/practice/wordy/.meta/config.json | 2 +- exercises/practice/yacht/.meta/config.json | 2 +- exercises/practice/zebra-puzzle/.meta/config.json | 2 +- exercises/practice/zipper/.meta/config.json | 4 ++-- 100 files changed, 128 insertions(+), 128 deletions(-) diff --git a/exercises/concept/guessing-game/.meta/config.json b/exercises/concept/guessing-game/.meta/config.json index e3ebf6bb9..fa491fb46 100644 --- a/exercises/concept/guessing-game/.meta/config.json +++ b/exercises/concept/guessing-game/.meta/config.json @@ -1,6 +1,4 @@ { - "blurb": "Learn about pattern matching by implementing a simple secret number guessing game", - "icon": "guessing-game", "authors": [ "pwadsworth" ], @@ -18,5 +16,7 @@ "invalidator": [ "stack.yaml" ] - } + }, + "icon": "guessing-game", + "blurb": "Learn about pattern matching by implementing a simple secret number guessing game" } diff --git a/exercises/concept/lucians-luscious-lasagna/.meta/config.json b/exercises/concept/lucians-luscious-lasagna/.meta/config.json index 8faee1517..34fcfe6f5 100644 --- a/exercises/concept/lucians-luscious-lasagna/.meta/config.json +++ b/exercises/concept/lucians-luscious-lasagna/.meta/config.json @@ -1,12 +1,7 @@ { - "blurb": "Learn the basics of Haskell by cooking Lucian's Luscious Lasagna", - "icon": "lasagna", "authors": [ "pwadsworth" ], - "forked_from": [ - "fsharp/lucians-luscious-lasagna" - ], "files": { "solution": [ "src/LuciansLusciousLasagna.hs", @@ -21,5 +16,10 @@ "invalidator": [ "stack.yaml" ] - } + }, + "forked_from": [ + "fsharp/lucians-luscious-lasagna" + ], + "icon": "lasagna", + "blurb": "Learn the basics of Haskell by cooking Lucian's Luscious Lasagna" } diff --git a/exercises/concept/temperature/.meta/config.json b/exercises/concept/temperature/.meta/config.json index 938124fd8..09c431604 100644 --- a/exercises/concept/temperature/.meta/config.json +++ b/exercises/concept/temperature/.meta/config.json @@ -1,6 +1,4 @@ { - "blurb": "Learn about numbers and type conversion by converting temperatures", - "icon": "the-weather-in-deather", "authors": [ "pwadsworth" ], @@ -18,5 +16,7 @@ "invalidator": [ "stack.yaml" ] - } + }, + "icon": "the-weather-in-deather", + "blurb": "Learn about numbers and type conversion by converting temperatures" } diff --git a/exercises/concept/valentines-day/.meta/config.json b/exercises/concept/valentines-day/.meta/config.json index a17c285b5..85d127d79 100644 --- a/exercises/concept/valentines-day/.meta/config.json +++ b/exercises/concept/valentines-day/.meta/config.json @@ -1,11 +1,7 @@ { - "blurb": "Learn about algebraic data types by deciding what activity to surprise your partner with on Valentines Day.", "authors": [ "pwadsworth" ], - "forked_from": [ - "fsharp/valentines-day" - ], "files": { "solution": [ "src/ValentinesDay.hs", @@ -20,5 +16,9 @@ "invalidator": [ "stack.yaml" ] - } + }, + "forked_from": [ + "fsharp/valentines-day" + ], + "blurb": "Learn about algebraic data types by deciding what activity to surprise your partner with on Valentines Day." } diff --git a/exercises/practice/accumulate/.meta/config.json b/exercises/practice/accumulate/.meta/config.json index 9c41c3a8f..483566ac3 100644 --- a/exercises/practice/accumulate/.meta/config.json +++ b/exercises/practice/accumulate/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Implement the `accumulate` operation, which, given a collection and an operation to perform on each element of the collection, returns a new collection containing the result of applying that operation to each element of the input collection.", "authors": [ "etrepum" ], @@ -28,6 +27,7 @@ "stack.yaml" ] }, + "blurb": "Implement the `accumulate` operation, which, given a collection and an operation to perform on each element of the collection, returns a new collection containing the result of applying that operation to each element of the input collection.", "source": "Conversation with James Edward Gray II", "source_url": "https://twitter.com/jeg2" } diff --git a/exercises/practice/acronym/.meta/config.json b/exercises/practice/acronym/.meta/config.json index a472b58e6..ad9a41f68 100644 --- a/exercises/practice/acronym/.meta/config.json +++ b/exercises/practice/acronym/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Convert a long phrase to its acronym.", "authors": [ "lpalma" ], @@ -30,6 +29,7 @@ "stack.yaml" ] }, + "blurb": "Convert a long phrase to its acronym.", "source": "Julien Vanier", "source_url": "https://github.com/monkbroc" } diff --git a/exercises/practice/all-your-base/.meta/config.json b/exercises/practice/all-your-base/.meta/config.json index 1e4b76ff9..a4e2b6d2a 100644 --- a/exercises/practice/all-your-base/.meta/config.json +++ b/exercises/practice/all-your-base/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Convert a number, represented as a sequence of digits in one base, to any other base.", "authors": [ "rbasso" ], @@ -26,5 +25,6 @@ "invalidator": [ "stack.yaml" ] - } + }, + "blurb": "Convert a number, represented as a sequence of digits in one base, to any other base." } diff --git a/exercises/practice/allergies/.meta/config.json b/exercises/practice/allergies/.meta/config.json index afe06d134..fcc2f73d6 100644 --- a/exercises/practice/allergies/.meta/config.json +++ b/exercises/practice/allergies/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Given a person's allergy score, determine whether or not they're allergic to a given item, and their full list of allergies.", "authors": [ "etrepum" ], @@ -29,6 +28,7 @@ "stack.yaml" ] }, + "blurb": "Given a person's allergy score, determine whether or not they're allergic to a given item, and their full list of allergies.", "source": "Jumpstart Lab Warm-up", "source_url": "http://jumpstartlab.com" } diff --git a/exercises/practice/alphametics/.meta/config.json b/exercises/practice/alphametics/.meta/config.json index 22d2c84c0..1652a71b6 100644 --- a/exercises/practice/alphametics/.meta/config.json +++ b/exercises/practice/alphametics/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Write a function to solve alphametics puzzles.", "authors": [], "contributors": [ "iHiD", @@ -26,5 +25,6 @@ "invalidator": [ "stack.yaml" ] - } + }, + "blurb": "Write a function to solve alphametics puzzles." } diff --git a/exercises/practice/anagram/.meta/config.json b/exercises/practice/anagram/.meta/config.json index edec1eb04..c6c83309b 100644 --- a/exercises/practice/anagram/.meta/config.json +++ b/exercises/practice/anagram/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Given a word and a list of possible anagrams, select the correct sublist.", "authors": [ "etrepum" ], @@ -29,6 +28,7 @@ "stack.yaml" ] }, + "blurb": "Given a word and a list of possible anagrams, select the correct sublist.", "source": "Inspired by the Extreme Startup game", "source_url": "https://github.com/rchatley/extreme_startup" } diff --git a/exercises/practice/armstrong-numbers/.meta/config.json b/exercises/practice/armstrong-numbers/.meta/config.json index 839b5bcf9..f60357f73 100644 --- a/exercises/practice/armstrong-numbers/.meta/config.json +++ b/exercises/practice/armstrong-numbers/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Determine if a number is an Armstrong number.", "authors": [], "contributors": [ "iHiD", @@ -23,6 +22,7 @@ "stack.yaml" ] }, + "blurb": "Determine if a number is an Armstrong number.", "source": "Wikipedia", "source_url": "https://en.wikipedia.org/wiki/Narcissistic_number" } diff --git a/exercises/practice/atbash-cipher/.meta/config.json b/exercises/practice/atbash-cipher/.meta/config.json index b523451bd..972ae8560 100644 --- a/exercises/practice/atbash-cipher/.meta/config.json +++ b/exercises/practice/atbash-cipher/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Create an implementation of the atbash cipher, an ancient encryption system created in the Middle East.", "authors": [ "etrepum" ], @@ -31,6 +30,7 @@ "stack.yaml" ] }, + "blurb": "Create an implementation of the atbash cipher, an ancient encryption system created in the Middle East.", "source": "Wikipedia", "source_url": "https://en.wikipedia.org/wiki/Atbash" } diff --git a/exercises/practice/bank-account/.meta/config.json b/exercises/practice/bank-account/.meta/config.json index 5baa94a7a..bb6f99f4a 100644 --- a/exercises/practice/bank-account/.meta/config.json +++ b/exercises/practice/bank-account/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Simulate a bank account supporting opening/closing, withdraws, and deposits of money. Watch out for concurrent transactions!", "authors": [ "etrepum" ], @@ -28,5 +27,6 @@ "invalidator": [ "stack.yaml" ] - } + }, + "blurb": "Simulate a bank account supporting opening/closing, withdraws, and deposits of money. Watch out for concurrent transactions!" } diff --git a/exercises/practice/beer-song/.meta/config.json b/exercises/practice/beer-song/.meta/config.json index c2ac2fae7..8df5102fe 100644 --- a/exercises/practice/beer-song/.meta/config.json +++ b/exercises/practice/beer-song/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Produce the lyrics to that beloved classic, that field-trip favorite: 99 Bottles of Beer on the Wall.", "authors": [ "etrepum" ], @@ -28,6 +27,7 @@ "stack.yaml" ] }, + "blurb": "Produce the lyrics to that beloved classic, that field-trip favorite: 99 Bottles of Beer on the Wall.", "source": "Learn to Program by Chris Pine", "source_url": "https://pine.fm/LearnToProgram/?Chapter=06" } diff --git a/exercises/practice/binary-search-tree/.meta/config.json b/exercises/practice/binary-search-tree/.meta/config.json index f6aa3abee..d68fbd403 100644 --- a/exercises/practice/binary-search-tree/.meta/config.json +++ b/exercises/practice/binary-search-tree/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Insert and search for numbers in a binary tree.", "authors": [ "etrepum" ], @@ -28,6 +27,7 @@ "stack.yaml" ] }, + "blurb": "Insert and search for numbers in a binary tree.", "source": "Josh Cheek", "source_url": "https://twitter.com/josh_cheek" } diff --git a/exercises/practice/binary-search/.meta/config.json b/exercises/practice/binary-search/.meta/config.json index 8ce7509d2..0236b497b 100644 --- a/exercises/practice/binary-search/.meta/config.json +++ b/exercises/practice/binary-search/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Implement a binary search algorithm.", "authors": [ "sshine" ], @@ -24,6 +23,7 @@ "stack.yaml" ] }, + "blurb": "Implement a binary search algorithm.", "source": "Wikipedia", "source_url": "https://en.wikipedia.org/wiki/Binary_search_algorithm" } diff --git a/exercises/practice/bob/.meta/config.json b/exercises/practice/bob/.meta/config.json index f2010b0c3..eacba228f 100644 --- a/exercises/practice/bob/.meta/config.json +++ b/exercises/practice/bob/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Bob is a lackadaisical teenager. In conversation, his responses are very limited.", "authors": [ "etrepum" ], @@ -35,6 +34,7 @@ "stack.yaml" ] }, + "blurb": "Bob is a lackadaisical teenager. In conversation, his responses are very limited.", "source": "Inspired by the 'Deaf Grandma' exercise in Chris Pine's Learn to Program tutorial.", "source_url": "https://pine.fm/LearnToProgram/?Chapter=06" } diff --git a/exercises/practice/bowling/.meta/config.json b/exercises/practice/bowling/.meta/config.json index 96084dab3..8c78cf5ad 100644 --- a/exercises/practice/bowling/.meta/config.json +++ b/exercises/practice/bowling/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Score a bowling game.", "authors": [ "abo64" ], @@ -28,6 +27,7 @@ "stack.yaml" ] }, + "blurb": "Score a bowling game.", "source": "The Bowling Game Kata from UncleBob", "source_url": "http://butunclebob.com/ArticleS.UncleBob.TheBowlingGameKata" } diff --git a/exercises/practice/change/.meta/config.json b/exercises/practice/change/.meta/config.json index 8a2a28f64..028010ba8 100644 --- a/exercises/practice/change/.meta/config.json +++ b/exercises/practice/change/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Correctly determine change to be given using the least number of coins.", "authors": [ "abo64" ], @@ -28,6 +27,7 @@ "stack.yaml" ] }, + "blurb": "Correctly determine change to be given using the least number of coins.", "source": "Software Craftsmanship - Coin Change Kata", "source_url": "https://web.archive.org/web/20130115115225/http://craftsmanship.sv.cmu.edu:80/exercises/coin-change-kata" } diff --git a/exercises/practice/clock/.meta/config.json b/exercises/practice/clock/.meta/config.json index 51276dd2b..8f67157a8 100644 --- a/exercises/practice/clock/.meta/config.json +++ b/exercises/practice/clock/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Implement a clock that handles times without dates.", "authors": [ "etrepum" ], @@ -32,6 +31,7 @@ "stack.yaml" ] }, + "blurb": "Implement a clock that handles times without dates.", "source": "Pairing session with Erin Drummond", "source_url": "https://twitter.com/ebdrummond" } diff --git a/exercises/practice/collatz-conjecture/.meta/config.json b/exercises/practice/collatz-conjecture/.meta/config.json index 9b296e004..5627086eb 100644 --- a/exercises/practice/collatz-conjecture/.meta/config.json +++ b/exercises/practice/collatz-conjecture/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Calculate the number of steps to reach 1 using the Collatz conjecture.", "authors": [], "contributors": [ "guygastineau", @@ -25,6 +24,7 @@ "stack.yaml" ] }, + "blurb": "Calculate the number of steps to reach 1 using the Collatz conjecture.", "source": "An unsolved problem in mathematics named after mathematician Lothar Collatz", "source_url": "https://en.wikipedia.org/wiki/3x_%2B_1_problem" } diff --git a/exercises/practice/complex-numbers/.meta/config.json b/exercises/practice/complex-numbers/.meta/config.json index b7bf9b262..ff5ab3f14 100644 --- a/exercises/practice/complex-numbers/.meta/config.json +++ b/exercises/practice/complex-numbers/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Implement complex numbers.", "authors": [ "Average-user" ], @@ -26,6 +25,7 @@ "stack.yaml" ] }, + "blurb": "Implement complex numbers.", "source": "Wikipedia", "source_url": "https://en.wikipedia.org/wiki/Complex_number" } diff --git a/exercises/practice/connect/.meta/config.json b/exercises/practice/connect/.meta/config.json index 80531988f..b1be156c1 100644 --- a/exercises/practice/connect/.meta/config.json +++ b/exercises/practice/connect/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Compute the result for a game of Hex / Polygon.", "authors": [ "pminten" ], @@ -29,5 +28,6 @@ "invalidator": [ "stack.yaml" ] - } + }, + "blurb": "Compute the result for a game of Hex / Polygon." } diff --git a/exercises/practice/crypto-square/.meta/config.json b/exercises/practice/crypto-square/.meta/config.json index 0fc7c6e46..cea3022c5 100644 --- a/exercises/practice/crypto-square/.meta/config.json +++ b/exercises/practice/crypto-square/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Implement the classic method for composing secret messages called a square code.", "authors": [ "etrepum" ], @@ -33,6 +32,7 @@ "stack.yaml" ] }, + "blurb": "Implement the classic method for composing secret messages called a square code.", "source": "J Dalbey's Programming Practice problems", "source_url": "http://users.csc.calpoly.edu/~jdalbey/103/Projects/ProgrammingPractice.html" } diff --git a/exercises/practice/custom-set/.meta/config.json b/exercises/practice/custom-set/.meta/config.json index 313a0dc87..8ad994d04 100644 --- a/exercises/practice/custom-set/.meta/config.json +++ b/exercises/practice/custom-set/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Create a custom set type.", "authors": [ "etrepum" ], @@ -27,5 +26,6 @@ "invalidator": [ "stack.yaml" ] - } + }, + "blurb": "Create a custom set type." } diff --git a/exercises/practice/diamond/.meta/config.json b/exercises/practice/diamond/.meta/config.json index 86e21c509..18ff478ee 100644 --- a/exercises/practice/diamond/.meta/config.json +++ b/exercises/practice/diamond/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Given a letter, print a diamond starting with 'A' with the supplied letter at the widest point.", "authors": [], "contributors": [ "chiroptical", @@ -25,6 +24,7 @@ "stack.yaml" ] }, + "blurb": "Given a letter, print a diamond starting with 'A' with the supplied letter at the widest point.", "source": "Seb Rose", "source_url": "http://claysnow.co.uk/recycling-tests-in-tdd/" } diff --git a/exercises/practice/difference-of-squares/.meta/config.json b/exercises/practice/difference-of-squares/.meta/config.json index 97e29b076..c867b0149 100644 --- a/exercises/practice/difference-of-squares/.meta/config.json +++ b/exercises/practice/difference-of-squares/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Find the difference between the square of the sum and the sum of the squares of the first N natural numbers.", "authors": [ "etrepum" ], @@ -30,6 +29,7 @@ "stack.yaml" ] }, + "blurb": "Find the difference between the square of the sum and the sum of the squares of the first N natural numbers.", "source": "Problem 6 at Project Euler", "source_url": "https://projecteuler.net/problem=6" } diff --git a/exercises/practice/dnd-character/.meta/config.json b/exercises/practice/dnd-character/.meta/config.json index ccc15debb..0143d7923 100644 --- a/exercises/practice/dnd-character/.meta/config.json +++ b/exercises/practice/dnd-character/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Randomly generate Dungeons & Dragons characters.", "authors": [ "sshine" ], @@ -24,6 +23,7 @@ "stack.yaml" ] }, + "blurb": "Randomly generate Dungeons & Dragons characters.", "source": "Simon Shine, Erik Schierboom", "source_url": "https://github.com/exercism/problem-specifications/issues/616#issuecomment-437358945" } diff --git a/exercises/practice/dominoes/.meta/config.json b/exercises/practice/dominoes/.meta/config.json index fa6e5c221..a963fa3a3 100644 --- a/exercises/practice/dominoes/.meta/config.json +++ b/exercises/practice/dominoes/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Make a chain of dominoes.", "authors": [ "petertseng" ], @@ -26,5 +25,6 @@ "invalidator": [ "stack.yaml" ] - } + }, + "blurb": "Make a chain of dominoes." } diff --git a/exercises/practice/etl/.meta/config.json b/exercises/practice/etl/.meta/config.json index 15127ca62..d5950a017 100644 --- a/exercises/practice/etl/.meta/config.json +++ b/exercises/practice/etl/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "We are going to do the `Transform` step of an Extract-Transform-Load.", "authors": [ "etrepum" ], @@ -31,6 +30,7 @@ "stack.yaml" ] }, + "blurb": "We are going to do the `Transform` step of an Extract-Transform-Load.", "source": "The Jumpstart Lab team", "source_url": "http://jumpstartlab.com" } diff --git a/exercises/practice/food-chain/.meta/config.json b/exercises/practice/food-chain/.meta/config.json index 1dbe447b3..a42914f83 100644 --- a/exercises/practice/food-chain/.meta/config.json +++ b/exercises/practice/food-chain/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Generate the lyrics of the song 'I Know an Old Lady Who Swallowed a Fly'.", "authors": [ "sjakobi" ], @@ -29,6 +28,7 @@ "stack.yaml" ] }, + "blurb": "Generate the lyrics of the song 'I Know an Old Lady Who Swallowed a Fly'.", "source": "Wikipedia", "source_url": "https://en.wikipedia.org/wiki/There_Was_an_Old_Lady_Who_Swallowed_a_Fly" } diff --git a/exercises/practice/forth/.meta/config.json b/exercises/practice/forth/.meta/config.json index 6ad2ed94b..3073d45fc 100644 --- a/exercises/practice/forth/.meta/config.json +++ b/exercises/practice/forth/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Implement an evaluator for a very simple subset of Forth.", "authors": [ "etrepum" ], @@ -28,5 +27,6 @@ "invalidator": [ "stack.yaml" ] - } + }, + "blurb": "Implement an evaluator for a very simple subset of Forth." } diff --git a/exercises/practice/go-counting/.meta/config.json b/exercises/practice/go-counting/.meta/config.json index 3c85d8c82..bbd43d507 100644 --- a/exercises/practice/go-counting/.meta/config.json +++ b/exercises/practice/go-counting/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Count the scored points on a Go board.", "authors": [], "contributors": [ "iHiD", @@ -26,5 +25,6 @@ "invalidator": [ "stack.yaml" ] - } + }, + "blurb": "Count the scored points on a Go board." } diff --git a/exercises/practice/grade-school/.meta/config.json b/exercises/practice/grade-school/.meta/config.json index a5a8ce829..d5eb2b898 100644 --- a/exercises/practice/grade-school/.meta/config.json +++ b/exercises/practice/grade-school/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Given students' names along with the grade that they are in, create a roster for the school.", "authors": [ "etrepum" ], @@ -30,5 +29,6 @@ "stack.yaml" ] }, + "blurb": "Given students' names along with the grade that they are in, create a roster for the school.", "source": "A pairing session with Phil Battos at gSchool" } diff --git a/exercises/practice/grains/.meta/config.json b/exercises/practice/grains/.meta/config.json index 84fcb310c..939af2328 100644 --- a/exercises/practice/grains/.meta/config.json +++ b/exercises/practice/grains/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Calculate the number of grains of wheat on a chessboard given that the number on each square doubles.", "authors": [ "etrepum" ], @@ -30,6 +29,7 @@ "stack.yaml" ] }, + "blurb": "Calculate the number of grains of wheat on a chessboard given that the number on each square doubles.", "source": "JavaRanch Cattle Drive, exercise 6", "source_url": "https://www.javaranch.com/grains.jsp" } diff --git a/exercises/practice/hamming/.meta/config.json b/exercises/practice/hamming/.meta/config.json index 127a43f79..2521d679f 100644 --- a/exercises/practice/hamming/.meta/config.json +++ b/exercises/practice/hamming/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Calculate the Hamming difference between two DNA strands.", "authors": [ "petertseng" ], @@ -29,6 +28,7 @@ "stack.yaml" ] }, + "blurb": "Calculate the Hamming difference between two DNA strands.", "source": "The Calculating Point Mutations problem at Rosalind", "source_url": "https://rosalind.info/problems/hamm/" } diff --git a/exercises/practice/hello-world/.meta/config.json b/exercises/practice/hello-world/.meta/config.json index ba62a5582..dc0596fd1 100644 --- a/exercises/practice/hello-world/.meta/config.json +++ b/exercises/practice/hello-world/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "The classical introductory exercise. Just say \"Hello, World!\".", "authors": [ "ErikSchierboom" ], @@ -27,6 +26,7 @@ "stack.yaml" ] }, + "blurb": "The classical introductory exercise. Just say \"Hello, World!\".", "source": "This is an exercise to introduce users to using Exercism", "source_url": "https://en.wikipedia.org/wiki/%22Hello,_world!%22_program" } diff --git a/exercises/practice/house/.meta/config.json b/exercises/practice/house/.meta/config.json index 3448c53b0..962fc0071 100644 --- a/exercises/practice/house/.meta/config.json +++ b/exercises/practice/house/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Output the nursery rhyme 'This is the House that Jack Built'.", "authors": [ "sjakobi" ], @@ -29,6 +28,7 @@ "stack.yaml" ] }, + "blurb": "Output the nursery rhyme 'This is the House that Jack Built'.", "source": "British nursery rhyme", "source_url": "https://en.wikipedia.org/wiki/This_Is_The_House_That_Jack_Built" } diff --git a/exercises/practice/isbn-verifier/.meta/config.json b/exercises/practice/isbn-verifier/.meta/config.json index a8826c7eb..2e3fd92ae 100644 --- a/exercises/practice/isbn-verifier/.meta/config.json +++ b/exercises/practice/isbn-verifier/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Check if a given string is a valid ISBN-10 number.", "authors": [ "Average-user" ], @@ -26,6 +25,7 @@ "stack.yaml" ] }, + "blurb": "Check if a given string is a valid ISBN-10 number.", "source": "Converting a string into a number and some basic processing utilizing a relatable real world example.", "source_url": "https://en.wikipedia.org/wiki/International_Standard_Book_Number#ISBN-10_check_digit_calculation" } diff --git a/exercises/practice/isogram/.meta/config.json b/exercises/practice/isogram/.meta/config.json index fe3805dc3..844594798 100644 --- a/exercises/practice/isogram/.meta/config.json +++ b/exercises/practice/isogram/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Determine if a word or phrase is an isogram.", "authors": [], "contributors": [ "bitfield", @@ -25,6 +24,7 @@ "stack.yaml" ] }, + "blurb": "Determine if a word or phrase is an isogram.", "source": "Wikipedia", "source_url": "https://en.wikipedia.org/wiki/Isogram" } diff --git a/exercises/practice/kindergarten-garden/.meta/config.json b/exercises/practice/kindergarten-garden/.meta/config.json index ebbdd3f5b..0ac1859fc 100644 --- a/exercises/practice/kindergarten-garden/.meta/config.json +++ b/exercises/practice/kindergarten-garden/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Given a diagram, determine which plants each child in the kindergarten class is responsible for.", "authors": [ "kytrinyx" ], @@ -30,6 +29,7 @@ "stack.yaml" ] }, + "blurb": "Given a diagram, determine which plants each child in the kindergarten class is responsible for.", "source": "Random musings during airplane trip.", "source_url": "http://jumpstartlab.com" } diff --git a/exercises/practice/largest-series-product/.meta/config.json b/exercises/practice/largest-series-product/.meta/config.json index 66c911029..df95b4e79 100644 --- a/exercises/practice/largest-series-product/.meta/config.json +++ b/exercises/practice/largest-series-product/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Given a string of digits, calculate the largest product for a contiguous substring of digits of length n.", "authors": [ "etrepum" ], @@ -29,6 +28,7 @@ "stack.yaml" ] }, + "blurb": "Given a string of digits, calculate the largest product for a contiguous substring of digits of length n.", "source": "A variation on Problem 8 at Project Euler", "source_url": "https://projecteuler.net/problem=8" } diff --git a/exercises/practice/leap/.meta/config.json b/exercises/practice/leap/.meta/config.json index 23c074d67..bff9962ab 100644 --- a/exercises/practice/leap/.meta/config.json +++ b/exercises/practice/leap/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Given a year, report if it is a leap year.", "authors": [ "etrepum" ], @@ -31,6 +30,7 @@ "stack.yaml" ] }, + "blurb": "Given a year, report if it is a leap year.", "source": "JavaRanch Cattle Drive, exercise 3", "source_url": "https://www.javaranch.com/leap.jsp" } diff --git a/exercises/practice/lens-person/.meta/config.json b/exercises/practice/lens-person/.meta/config.json index 380be2be9..7364fe917 100644 --- a/exercises/practice/lens-person/.meta/config.json +++ b/exercises/practice/lens-person/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Use lenses to update nested records (specific to languages with immutable data).", "authors": [ "pminten" ], @@ -29,5 +28,6 @@ "invalidator": [ "stack.yaml" ] - } + }, + "blurb": "Use lenses to update nested records (specific to languages with immutable data)." } diff --git a/exercises/practice/linked-list/.meta/config.json b/exercises/practice/linked-list/.meta/config.json index 73f52f39e..8d8515f20 100644 --- a/exercises/practice/linked-list/.meta/config.json +++ b/exercises/practice/linked-list/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Implement a doubly linked list.", "authors": [ "etrepum" ], @@ -29,5 +28,6 @@ "stack.yaml" ] }, + "blurb": "Implement a doubly linked list.", "source": "Classic computer science topic" } diff --git a/exercises/practice/list-ops/.meta/config.json b/exercises/practice/list-ops/.meta/config.json index 39a61ceb4..dfc0c8336 100644 --- a/exercises/practice/list-ops/.meta/config.json +++ b/exercises/practice/list-ops/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Implement basic list operations.", "authors": [ "etrepum" ], @@ -31,5 +30,6 @@ "invalidator": [ "stack.yaml" ] - } + }, + "blurb": "Implement basic list operations." } diff --git a/exercises/practice/luhn/.meta/config.json b/exercises/practice/luhn/.meta/config.json index ac331cb43..6f027e9f7 100644 --- a/exercises/practice/luhn/.meta/config.json +++ b/exercises/practice/luhn/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Given a number determine whether or not it is valid per the Luhn formula.", "authors": [ "etrepum" ], @@ -33,6 +32,7 @@ "stack.yaml" ] }, + "blurb": "Given a number determine whether or not it is valid per the Luhn formula.", "source": "The Luhn Algorithm on Wikipedia", "source_url": "https://en.wikipedia.org/wiki/Luhn_algorithm" } diff --git a/exercises/practice/matching-brackets/.meta/config.json b/exercises/practice/matching-brackets/.meta/config.json index 83ba5400b..a5c988397 100644 --- a/exercises/practice/matching-brackets/.meta/config.json +++ b/exercises/practice/matching-brackets/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Make sure the brackets and braces all match.", "authors": [ "lpalma" ], @@ -29,5 +28,6 @@ "stack.yaml" ] }, + "blurb": "Make sure the brackets and braces all match.", "source": "Ginna Baker" } diff --git a/exercises/practice/matrix/.meta/config.json b/exercises/practice/matrix/.meta/config.json index 908ff39ad..ec9c2d17d 100644 --- a/exercises/practice/matrix/.meta/config.json +++ b/exercises/practice/matrix/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Given a string representing a matrix of numbers, return the rows and columns of that matrix.", "authors": [ "etrepum" ], @@ -33,6 +32,7 @@ "stack.yaml" ] }, + "blurb": "Given a string representing a matrix of numbers, return the rows and columns of that matrix.", "source": "Warmup to the `saddle-points` warmup.", "source_url": "http://jumpstartlab.com" } diff --git a/exercises/practice/meetup/.meta/config.json b/exercises/practice/meetup/.meta/config.json index 19ea7d0ec..85c55b9f6 100644 --- a/exercises/practice/meetup/.meta/config.json +++ b/exercises/practice/meetup/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Calculate the date of meetups.", "authors": [ "etrepum" ], @@ -29,6 +28,7 @@ "stack.yaml" ] }, + "blurb": "Calculate the date of meetups.", "source": "Jeremy Hinegardner mentioned a Boulder meetup that happens on the Wednesteenth of every month", "source_url": "https://twitter.com/copiousfreetime" } diff --git a/exercises/practice/minesweeper/.meta/config.json b/exercises/practice/minesweeper/.meta/config.json index 44ed212a1..d19f1ccf1 100644 --- a/exercises/practice/minesweeper/.meta/config.json +++ b/exercises/practice/minesweeper/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Add the numbers to a minesweeper board.", "authors": [ "etrepum" ], @@ -28,5 +27,6 @@ "invalidator": [ "stack.yaml" ] - } + }, + "blurb": "Add the numbers to a minesweeper board." } diff --git a/exercises/practice/nth-prime/.meta/config.json b/exercises/practice/nth-prime/.meta/config.json index b97cba15e..193d07777 100644 --- a/exercises/practice/nth-prime/.meta/config.json +++ b/exercises/practice/nth-prime/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Given a number n, determine what the nth prime is.", "authors": [ "etrepum" ], @@ -28,6 +27,7 @@ "stack.yaml" ] }, + "blurb": "Given a number n, determine what the nth prime is.", "source": "A variation on Problem 7 at Project Euler", "source_url": "https://projecteuler.net/problem=7" } diff --git a/exercises/practice/nucleotide-count/.meta/config.json b/exercises/practice/nucleotide-count/.meta/config.json index 343cf52b0..e2f6ccca6 100644 --- a/exercises/practice/nucleotide-count/.meta/config.json +++ b/exercises/practice/nucleotide-count/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Given a DNA string, compute how many times each nucleotide occurs in the string.", "authors": [ "etrepum" ], @@ -34,6 +33,7 @@ "stack.yaml" ] }, + "blurb": "Given a DNA string, compute how many times each nucleotide occurs in the string.", "source": "The Calculating DNA Nucleotides_problem at Rosalind", "source_url": "https://rosalind.info/problems/dna/" } diff --git a/exercises/practice/ocr-numbers/.meta/config.json b/exercises/practice/ocr-numbers/.meta/config.json index 91631ca28..e8d044695 100644 --- a/exercises/practice/ocr-numbers/.meta/config.json +++ b/exercises/practice/ocr-numbers/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Given a 3 x 4 grid of pipes, underscores, and spaces, determine which number is represented, or whether it is garbled.", "authors": [ "etrepum" ], @@ -29,6 +28,7 @@ "stack.yaml" ] }, + "blurb": "Given a 3 x 4 grid of pipes, underscores, and spaces, determine which number is represented, or whether it is garbled.", "source": "Inspired by the Bank OCR kata", "source_url": "http://codingdojo.org/cgi-bin/wiki.pl?KataBankOCR" } diff --git a/exercises/practice/palindrome-products/.meta/config.json b/exercises/practice/palindrome-products/.meta/config.json index 651408123..239372d50 100644 --- a/exercises/practice/palindrome-products/.meta/config.json +++ b/exercises/practice/palindrome-products/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Detect palindrome products in a given range.", "authors": [ "etrepum" ], @@ -33,6 +32,7 @@ "stack.yaml" ] }, + "blurb": "Detect palindrome products in a given range.", "source": "Problem 4 at Project Euler", "source_url": "https://projecteuler.net/problem=4" } diff --git a/exercises/practice/pangram/.meta/config.json b/exercises/practice/pangram/.meta/config.json index ad33edec6..3f21c7b49 100644 --- a/exercises/practice/pangram/.meta/config.json +++ b/exercises/practice/pangram/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Determine if a sentence is a pangram.", "authors": [ "lpalma" ], @@ -30,6 +29,7 @@ "stack.yaml" ] }, + "blurb": "Determine if a sentence is a pangram.", "source": "Wikipedia", "source_url": "https://en.wikipedia.org/wiki/Pangram" } diff --git a/exercises/practice/parallel-letter-frequency/.meta/config.json b/exercises/practice/parallel-letter-frequency/.meta/config.json index 02c53be96..68b4f20c5 100644 --- a/exercises/practice/parallel-letter-frequency/.meta/config.json +++ b/exercises/practice/parallel-letter-frequency/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Count the frequency of letters in texts using parallel computation.", "authors": [], "contributors": [ "iHiD", @@ -25,5 +24,6 @@ "invalidator": [ "stack.yaml" ] - } + }, + "blurb": "Count the frequency of letters in texts using parallel computation." } diff --git a/exercises/practice/pascals-triangle/.meta/config.json b/exercises/practice/pascals-triangle/.meta/config.json index 3a526afc2..a0cc6dbcb 100644 --- a/exercises/practice/pascals-triangle/.meta/config.json +++ b/exercises/practice/pascals-triangle/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Compute Pascal's triangle up to a given number of rows.", "authors": [ "etrepum" ], @@ -30,6 +29,7 @@ "stack.yaml" ] }, + "blurb": "Compute Pascal's triangle up to a given number of rows.", "source": "Pascal's Triangle at Wolfram Math World", "source_url": "https://mathworld.wolfram.com/PascalsTriangle.html" } diff --git a/exercises/practice/perfect-numbers/.meta/config.json b/exercises/practice/perfect-numbers/.meta/config.json index 3c77d6d05..854293a8a 100644 --- a/exercises/practice/perfect-numbers/.meta/config.json +++ b/exercises/practice/perfect-numbers/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Determine if a number is perfect, abundant, or deficient based on Nicomachus' (60 - 120 CE) classification scheme for positive integers.", "authors": [ "Average-user" ], @@ -26,6 +25,7 @@ "stack.yaml" ] }, + "blurb": "Determine if a number is perfect, abundant, or deficient based on Nicomachus' (60 - 120 CE) classification scheme for positive integers.", "source": "Taken from Chapter 2 of Functional Thinking by Neal Ford.", "source_url": "https://shop.oreilly.com/product/0636920029687.do" } diff --git a/exercises/practice/phone-number/.meta/config.json b/exercises/practice/phone-number/.meta/config.json index 40935f4c5..140a13430 100644 --- a/exercises/practice/phone-number/.meta/config.json +++ b/exercises/practice/phone-number/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Clean up user-entered phone numbers so that they can be sent SMS messages.", "authors": [ "etrepum" ], @@ -34,6 +33,7 @@ "stack.yaml" ] }, + "blurb": "Clean up user-entered phone numbers so that they can be sent SMS messages.", "source": "Event Manager by JumpstartLab", "source_url": "http://tutorials.jumpstartlab.com/projects/eventmanager.html" } diff --git a/exercises/practice/pig-latin/.meta/config.json b/exercises/practice/pig-latin/.meta/config.json index a6078d538..01f97d2bc 100644 --- a/exercises/practice/pig-latin/.meta/config.json +++ b/exercises/practice/pig-latin/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Implement a program that translates from English to Pig Latin.", "authors": [ "etrepum" ], @@ -29,6 +28,7 @@ "stack.yaml" ] }, + "blurb": "Implement a program that translates from English to Pig Latin.", "source": "The Pig Latin exercise at Test First Teaching by Ultrasaurus", "source_url": "https://github.com/ultrasaurus/test-first-teaching/blob/master/learn_ruby/pig_latin/" } diff --git a/exercises/practice/poker/.meta/config.json b/exercises/practice/poker/.meta/config.json index 3416200e2..857d6cdf1 100644 --- a/exercises/practice/poker/.meta/config.json +++ b/exercises/practice/poker/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Pick the best hand(s) from a list of poker hands.", "authors": [ "Average-user" ], @@ -25,6 +24,7 @@ "stack.yaml" ] }, + "blurb": "Pick the best hand(s) from a list of poker hands.", "source": "Inspired by the training course from Udacity.", "source_url": "https://www.udacity.com/course/viewer#!/c-cs212/" } diff --git a/exercises/practice/pov/.meta/config.json b/exercises/practice/pov/.meta/config.json index c5da17998..d02ccc25c 100644 --- a/exercises/practice/pov/.meta/config.json +++ b/exercises/practice/pov/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Reparent a graph on a selected node.", "authors": [ "alexkalderimis" ], @@ -32,6 +31,7 @@ "stack.yaml" ] }, + "blurb": "Reparent a graph on a selected node.", "source": "Adaptation of exercise from 4clojure", "source_url": "https://www.4clojure.com/" } diff --git a/exercises/practice/prime-factors/.meta/config.json b/exercises/practice/prime-factors/.meta/config.json index 1d189a0a4..081da2e8b 100644 --- a/exercises/practice/prime-factors/.meta/config.json +++ b/exercises/practice/prime-factors/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Compute the prime factors of a given natural number.", "authors": [ "etrepum" ], @@ -28,6 +27,7 @@ "stack.yaml" ] }, + "blurb": "Compute the prime factors of a given natural number.", "source": "The Prime Factors Kata by Uncle Bob", "source_url": "http://butunclebob.com/ArticleS.UncleBob.ThePrimeFactorsKata" } diff --git a/exercises/practice/protein-translation/.meta/config.json b/exercises/practice/protein-translation/.meta/config.json index 69d400782..a409bf858 100644 --- a/exercises/practice/protein-translation/.meta/config.json +++ b/exercises/practice/protein-translation/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Translate RNA sequences into proteins.", "authors": [ "Average-user" ], @@ -25,5 +24,6 @@ "stack.yaml" ] }, + "blurb": "Translate RNA sequences into proteins.", "source": "Tyler Long" } diff --git a/exercises/practice/proverb/.meta/config.json b/exercises/practice/proverb/.meta/config.json index 3c282a611..9aa8b822a 100644 --- a/exercises/practice/proverb/.meta/config.json +++ b/exercises/practice/proverb/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "For want of a horseshoe nail, a kingdom was lost, or so the saying goes. Output the full text of this proverbial rhyme.", "authors": [ "tejasbubane" ], @@ -24,6 +23,7 @@ "stack.yaml" ] }, + "blurb": "For want of a horseshoe nail, a kingdom was lost, or so the saying goes. Output the full text of this proverbial rhyme.", "source": "Wikipedia", "source_url": "https://en.wikipedia.org/wiki/For_Want_of_a_Nail" } diff --git a/exercises/practice/pythagorean-triplet/.meta/config.json b/exercises/practice/pythagorean-triplet/.meta/config.json index 14dcdb59b..8ecc83705 100644 --- a/exercises/practice/pythagorean-triplet/.meta/config.json +++ b/exercises/practice/pythagorean-triplet/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "There exists exactly one Pythagorean triplet for which a + b + c = 1000. Find the product a * b * c.", "authors": [ "etrepum" ], @@ -30,6 +29,7 @@ "stack.yaml" ] }, + "blurb": "There exists exactly one Pythagorean triplet for which a + b + c = 1000. Find the product a * b * c.", "source": "Problem 9 at Project Euler", "source_url": "https://projecteuler.net/problem=9" } diff --git a/exercises/practice/queen-attack/.meta/config.json b/exercises/practice/queen-attack/.meta/config.json index ffc862fdc..25dab3429 100644 --- a/exercises/practice/queen-attack/.meta/config.json +++ b/exercises/practice/queen-attack/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Given the position of two queens on a chess board, indicate whether or not they are positioned so that they can attack each other.", "authors": [ "etrepum" ], @@ -34,6 +33,7 @@ "stack.yaml" ] }, + "blurb": "Given the position of two queens on a chess board, indicate whether or not they are positioned so that they can attack each other.", "source": "J Dalbey's Programming Practice problems", "source_url": "http://users.csc.calpoly.edu/~jdalbey/103/Projects/ProgrammingPractice.html" } diff --git a/exercises/practice/rail-fence-cipher/.meta/config.json b/exercises/practice/rail-fence-cipher/.meta/config.json index b464be6ed..1e121f6b0 100644 --- a/exercises/practice/rail-fence-cipher/.meta/config.json +++ b/exercises/practice/rail-fence-cipher/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Implement encoding and decoding for the rail fence cipher.", "authors": [ "Average-user" ], @@ -25,6 +24,7 @@ "stack.yaml" ] }, + "blurb": "Implement encoding and decoding for the rail fence cipher.", "source": "Wikipedia", "source_url": "https://en.wikipedia.org/wiki/Transposition_cipher#Rail_Fence_cipher" } diff --git a/exercises/practice/raindrops/.meta/config.json b/exercises/practice/raindrops/.meta/config.json index 315c1df50..9ec8e0536 100644 --- a/exercises/practice/raindrops/.meta/config.json +++ b/exercises/practice/raindrops/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Convert a number to a string, the content of which depends on the number's factors.", "authors": [ "etrepum" ], @@ -29,6 +28,7 @@ "stack.yaml" ] }, + "blurb": "Convert a number to a string, the content of which depends on the number's factors.", "source": "A variation on FizzBuzz, a famous technical interview question that is intended to weed out potential candidates. That question is itself derived from Fizz Buzz, a popular children's game for teaching division.", "source_url": "https://en.wikipedia.org/wiki/Fizz_buzz" } diff --git a/exercises/practice/resistor-color-duo/.meta/config.json b/exercises/practice/resistor-color-duo/.meta/config.json index 3b12d27a7..defb837c0 100644 --- a/exercises/practice/resistor-color-duo/.meta/config.json +++ b/exercises/practice/resistor-color-duo/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Convert color codes, as used on resistors, to a numeric value.", "authors": [ "tejasbubane" ], @@ -26,6 +25,7 @@ "stack.yaml" ] }, + "blurb": "Convert color codes, as used on resistors, to a numeric value.", "source": "Maud de Vries, Erik Schierboom", "source_url": "https://github.com/exercism/problem-specifications/issues/1464" } diff --git a/exercises/practice/resistor-color-trio/.meta/config.json b/exercises/practice/resistor-color-trio/.meta/config.json index f0a5062b7..80d4d249b 100644 --- a/exercises/practice/resistor-color-trio/.meta/config.json +++ b/exercises/practice/resistor-color-trio/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Convert color codes, as used on resistors, to a human-readable label.", "authors": [ "sshine" ], @@ -22,6 +21,7 @@ "stack.yaml" ] }, + "blurb": "Convert color codes, as used on resistors, to a human-readable label.", "source": "Maud de Vries, Erik Schierboom", "source_url": "https://github.com/exercism/problem-specifications/issues/1549" } diff --git a/exercises/practice/rna-transcription/.meta/config.json b/exercises/practice/rna-transcription/.meta/config.json index f4304ea09..b84f62fe2 100644 --- a/exercises/practice/rna-transcription/.meta/config.json +++ b/exercises/practice/rna-transcription/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Given a DNA strand, return its RNA Complement Transcription.", "authors": [ "etrepum" ], @@ -32,6 +31,7 @@ "stack.yaml" ] }, + "blurb": "Given a DNA strand, return its RNA Complement Transcription.", "source": "Hyperphysics", "source_url": "http://hyperphysics.phy-astr.gsu.edu/hbase/Organic/transcription.html" } diff --git a/exercises/practice/robot-name/.meta/config.json b/exercises/practice/robot-name/.meta/config.json index 1cd2847c6..fd9b0b3fe 100644 --- a/exercises/practice/robot-name/.meta/config.json +++ b/exercises/practice/robot-name/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Manage robot factory settings.", "authors": [ "etrepum" ], @@ -31,5 +30,6 @@ "stack.yaml" ] }, + "blurb": "Manage robot factory settings.", "source": "A debugging session with Paul Blackwell at gSchool." } diff --git a/exercises/practice/robot-simulator/.meta/config.json b/exercises/practice/robot-simulator/.meta/config.json index 157e8babb..7b7587de5 100644 --- a/exercises/practice/robot-simulator/.meta/config.json +++ b/exercises/practice/robot-simulator/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Write a robot simulator.", "authors": [ "etrepum" ], @@ -29,5 +28,6 @@ "stack.yaml" ] }, + "blurb": "Write a robot simulator.", "source": "Inspired by an interview question at a famous company." } diff --git a/exercises/practice/roman-numerals/.meta/config.json b/exercises/practice/roman-numerals/.meta/config.json index 5c9d7f360..c34367bd7 100644 --- a/exercises/practice/roman-numerals/.meta/config.json +++ b/exercises/practice/roman-numerals/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Write a function to convert from normal numbers to Roman Numerals.", "authors": [ "etrepum" ], @@ -29,6 +28,7 @@ "stack.yaml" ] }, + "blurb": "Write a function to convert from normal numbers to Roman Numerals.", "source": "The Roman Numeral Kata", "source_url": "http://codingdojo.org/cgi-bin/index.pl?KataRomanNumerals" } diff --git a/exercises/practice/rotational-cipher/.meta/config.json b/exercises/practice/rotational-cipher/.meta/config.json index 09e6aa2e9..09eecb7b2 100644 --- a/exercises/practice/rotational-cipher/.meta/config.json +++ b/exercises/practice/rotational-cipher/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Create an implementation of the rotational cipher, also sometimes called the Caesar cipher.", "authors": [ "Average-user" ], @@ -26,6 +25,7 @@ "stack.yaml" ] }, + "blurb": "Create an implementation of the rotational cipher, also sometimes called the Caesar cipher.", "source": "Wikipedia", "source_url": "https://en.wikipedia.org/wiki/Caesar_cipher" } diff --git a/exercises/practice/run-length-encoding/.meta/config.json b/exercises/practice/run-length-encoding/.meta/config.json index 971c06aeb..28c74d467 100644 --- a/exercises/practice/run-length-encoding/.meta/config.json +++ b/exercises/practice/run-length-encoding/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Implement run-length encoding and decoding.", "authors": [ "ed359" ], @@ -28,6 +27,7 @@ "stack.yaml" ] }, + "blurb": "Implement run-length encoding and decoding.", "source": "Wikipedia", "source_url": "https://en.wikipedia.org/wiki/Run-length_encoding" } diff --git a/exercises/practice/saddle-points/.meta/config.json b/exercises/practice/saddle-points/.meta/config.json index 2064dd983..695f35906 100644 --- a/exercises/practice/saddle-points/.meta/config.json +++ b/exercises/practice/saddle-points/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Detect saddle points in a matrix.", "authors": [ "etrepum" ], @@ -32,6 +31,7 @@ "stack.yaml" ] }, + "blurb": "Detect saddle points in a matrix.", "source": "J Dalbey's Programming Practice problems", "source_url": "http://users.csc.calpoly.edu/~jdalbey/103/Projects/ProgrammingPractice.html" } diff --git a/exercises/practice/say/.meta/config.json b/exercises/practice/say/.meta/config.json index c32b2ab2a..99265f874 100644 --- a/exercises/practice/say/.meta/config.json +++ b/exercises/practice/say/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Given a number from 0 to 999,999,999,999, spell out that number in English.", "authors": [ "etrepum" ], @@ -29,6 +28,7 @@ "stack.yaml" ] }, + "blurb": "Given a number from 0 to 999,999,999,999, spell out that number in English.", "source": "A variation on JavaRanch CattleDrive, exercise 4a", "source_url": "https://www.javaranch.com/say.jsp" } diff --git a/exercises/practice/scrabble-score/.meta/config.json b/exercises/practice/scrabble-score/.meta/config.json index 97eb7d49b..b22744224 100644 --- a/exercises/practice/scrabble-score/.meta/config.json +++ b/exercises/practice/scrabble-score/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Given a word, compute the Scrabble score for that word.", "authors": [ "etrepum" ], @@ -30,6 +29,7 @@ "stack.yaml" ] }, + "blurb": "Given a word, compute the Scrabble score for that word.", "source": "Inspired by the Extreme Startup game", "source_url": "https://github.com/rchatley/extreme_startup" } diff --git a/exercises/practice/secret-handshake/.meta/config.json b/exercises/practice/secret-handshake/.meta/config.json index d9c9c114d..375678ce2 100644 --- a/exercises/practice/secret-handshake/.meta/config.json +++ b/exercises/practice/secret-handshake/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Given a decimal number, convert it to the appropriate sequence of events for a secret handshake.", "authors": [ "etrepum" ], @@ -30,6 +29,7 @@ "stack.yaml" ] }, + "blurb": "Given a decimal number, convert it to the appropriate sequence of events for a secret handshake.", "source": "Bert, in Mary Poppins", "source_url": "https://www.imdb.com/title/tt0058331/quotes/qt0437047" } diff --git a/exercises/practice/series/.meta/config.json b/exercises/practice/series/.meta/config.json index a76d12ba9..1f4ea1391 100644 --- a/exercises/practice/series/.meta/config.json +++ b/exercises/practice/series/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Given a string of digits, output all the contiguous substrings of length `n` in that string.", "authors": [ "etrepum" ], @@ -28,6 +27,7 @@ "stack.yaml" ] }, + "blurb": "Given a string of digits, output all the contiguous substrings of length `n` in that string.", "source": "A subset of the Problem 8 at Project Euler", "source_url": "https://projecteuler.net/problem=8" } diff --git a/exercises/practice/sgf-parsing/.meta/config.json b/exercises/practice/sgf-parsing/.meta/config.json index 9e6a98f73..a8cd51e47 100644 --- a/exercises/practice/sgf-parsing/.meta/config.json +++ b/exercises/practice/sgf-parsing/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Parsing a Smart Game Format string.", "authors": [], "contributors": [ "cmccandless", @@ -28,5 +27,6 @@ "invalidator": [ "stack.yaml" ] - } + }, + "blurb": "Parsing a Smart Game Format string." } diff --git a/exercises/practice/sieve/.meta/config.json b/exercises/practice/sieve/.meta/config.json index e65656f32..db4482cd2 100644 --- a/exercises/practice/sieve/.meta/config.json +++ b/exercises/practice/sieve/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Use the Sieve of Eratosthenes to find all the primes from 2 up to a given number.", "authors": [ "etrepum" ], @@ -29,6 +28,7 @@ "stack.yaml" ] }, + "blurb": "Use the Sieve of Eratosthenes to find all the primes from 2 up to a given number.", "source": "Sieve of Eratosthenes at Wikipedia", "source_url": "https://en.wikipedia.org/wiki/Sieve_of_Eratosthenes" } diff --git a/exercises/practice/simple-cipher/.meta/config.json b/exercises/practice/simple-cipher/.meta/config.json index 10d0f62bc..545d11424 100644 --- a/exercises/practice/simple-cipher/.meta/config.json +++ b/exercises/practice/simple-cipher/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Implement a simple shift cipher like Caesar and a more secure substitution cipher.", "authors": [ "etrepum" ], @@ -33,6 +32,7 @@ "stack.yaml" ] }, + "blurb": "Implement a simple shift cipher like Caesar and a more secure substitution cipher.", "source": "Substitution Cipher at Wikipedia", "source_url": "https://en.wikipedia.org/wiki/Substitution_cipher" } diff --git a/exercises/practice/simple-linked-list/.meta/config.json b/exercises/practice/simple-linked-list/.meta/config.json index d76afdcaf..1bcafd485 100644 --- a/exercises/practice/simple-linked-list/.meta/config.json +++ b/exercises/practice/simple-linked-list/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Write a simple linked list implementation that uses Elements and a List.", "authors": [ "etrepum" ], @@ -29,6 +28,7 @@ "stack.yaml" ] }, + "blurb": "Write a simple linked list implementation that uses Elements and a List.", "source": "Inspired by 'Data Structures and Algorithms with Object-Oriented Design Patterns in Ruby', singly linked-lists.", "source_url": "https://web.archive.org/web/20160731005714/http://brpreiss.com/books/opus8/html/page96.html" } diff --git a/exercises/practice/space-age/.meta/config.json b/exercises/practice/space-age/.meta/config.json index 58875b35c..55cdeb1d7 100644 --- a/exercises/practice/space-age/.meta/config.json +++ b/exercises/practice/space-age/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Given an age in seconds, calculate how old someone is in terms of a given planet's solar years.", "authors": [ "etrepum" ], @@ -30,6 +29,7 @@ "stack.yaml" ] }, + "blurb": "Given an age in seconds, calculate how old someone is in terms of a given planet's solar years.", "source": "Partially inspired by Chapter 1 in Chris Pine's online Learn to Program tutorial.", "source_url": "https://pine.fm/LearnToProgram/?Chapter=01" } diff --git a/exercises/practice/spiral-matrix/.meta/config.json b/exercises/practice/spiral-matrix/.meta/config.json index d42fc6c12..b48ed31d8 100644 --- a/exercises/practice/spiral-matrix/.meta/config.json +++ b/exercises/practice/spiral-matrix/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": " Given the size, return a square matrix of numbers in spiral order.", "authors": [ "rbasso" ], @@ -26,6 +25,7 @@ "stack.yaml" ] }, + "blurb": " Given the size, return a square matrix of numbers in spiral order.", "source": "Reddit r/dailyprogrammer challenge #320 [Easy] Spiral Ascension.", "source_url": "https://www.reddit.com/r/dailyprogrammer/comments/6i60lr/20170619_challenge_320_easy_spiral_ascension/" } diff --git a/exercises/practice/strain/.meta/config.json b/exercises/practice/strain/.meta/config.json index 543a78056..c55dc2eb2 100644 --- a/exercises/practice/strain/.meta/config.json +++ b/exercises/practice/strain/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Implement the `keep` and `discard` operation on collections. Given a collection and a predicate on the collection's elements, `keep` returns a new collection containing those elements where the predicate is true, while `discard` returns a new collection containing those elements where the predicate is false.", "authors": [ "etrepum" ], @@ -28,6 +27,7 @@ "stack.yaml" ] }, + "blurb": "Implement the `keep` and `discard` operation on collections. Given a collection and a predicate on the collection's elements, `keep` returns a new collection containing those elements where the predicate is true, while `discard` returns a new collection containing those elements where the predicate is false.", "source": "Conversation with James Edward Gray II", "source_url": "https://twitter.com/jeg2" } diff --git a/exercises/practice/sublist/.meta/config.json b/exercises/practice/sublist/.meta/config.json index 7307dcd03..a3b71844d 100644 --- a/exercises/practice/sublist/.meta/config.json +++ b/exercises/practice/sublist/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Write a function to determine if a list is a sublist of another list.", "authors": [ "etrepum" ], @@ -27,5 +26,6 @@ "invalidator": [ "stack.yaml" ] - } + }, + "blurb": "Write a function to determine if a list is a sublist of another list." } diff --git a/exercises/practice/sum-of-multiples/.meta/config.json b/exercises/practice/sum-of-multiples/.meta/config.json index 48ffe94a3..41248b6e1 100644 --- a/exercises/practice/sum-of-multiples/.meta/config.json +++ b/exercises/practice/sum-of-multiples/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Given a number, find the sum of all the multiples of particular numbers up to but not including that number.", "authors": [ "etrepum" ], @@ -31,6 +30,7 @@ "stack.yaml" ] }, + "blurb": "Given a number, find the sum of all the multiples of particular numbers up to but not including that number.", "source": "A variation on Problem 1 at Project Euler", "source_url": "https://projecteuler.net/problem=1" } diff --git a/exercises/practice/transpose/.meta/config.json b/exercises/practice/transpose/.meta/config.json index 1b51a43d0..19c72ae42 100644 --- a/exercises/practice/transpose/.meta/config.json +++ b/exercises/practice/transpose/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Take input text and output it transposed.", "authors": [ "tuxagon" ], @@ -25,6 +24,7 @@ "stack.yaml" ] }, + "blurb": "Take input text and output it transposed.", "source": "Reddit r/dailyprogrammer challenge #270 [Easy].", "source_url": "https://www.reddit.com/r/dailyprogrammer/comments/4msu2x/challenge_270_easy_transpose_the_input_text" } diff --git a/exercises/practice/triangle/.meta/config.json b/exercises/practice/triangle/.meta/config.json index 115efa409..2af2c1c54 100644 --- a/exercises/practice/triangle/.meta/config.json +++ b/exercises/practice/triangle/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Determine if a triangle is equilateral, isosceles, or scalene.", "authors": [ "etrepum" ], @@ -31,6 +30,7 @@ "stack.yaml" ] }, + "blurb": "Determine if a triangle is equilateral, isosceles, or scalene.", "source": "The Ruby Koans triangle project, parts 1 & 2", "source_url": "http://rubykoans.com" } diff --git a/exercises/practice/twelve-days/.meta/config.json b/exercises/practice/twelve-days/.meta/config.json index 5d6497c2a..74332c327 100644 --- a/exercises/practice/twelve-days/.meta/config.json +++ b/exercises/practice/twelve-days/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Output the lyrics to 'The Twelve Days of Christmas'.", "authors": [ "tuxagon" ], @@ -27,6 +26,7 @@ "stack.yaml" ] }, + "blurb": "Output the lyrics to 'The Twelve Days of Christmas'.", "source": "Wikipedia", "source_url": "https://en.wikipedia.org/wiki/The_Twelve_Days_of_Christmas_(song)" } diff --git a/exercises/practice/word-count/.meta/config.json b/exercises/practice/word-count/.meta/config.json index 7cb4b2c2a..f090213ea 100644 --- a/exercises/practice/word-count/.meta/config.json +++ b/exercises/practice/word-count/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Given a phrase, count the occurrences of each word in that phrase.", "authors": [ "etrepum" ], @@ -31,5 +30,6 @@ "stack.yaml" ] }, + "blurb": "Given a phrase, count the occurrences of each word in that phrase.", "source": "This is a classic toy problem, but we were reminded of it by seeing it in the Go Tour." } diff --git a/exercises/practice/wordy/.meta/config.json b/exercises/practice/wordy/.meta/config.json index 995067872..9d4c8f8bf 100644 --- a/exercises/practice/wordy/.meta/config.json +++ b/exercises/practice/wordy/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Parse and evaluate simple math word problems returning the answer as an integer.", "authors": [ "etrepum" ], @@ -29,6 +28,7 @@ "stack.yaml" ] }, + "blurb": "Parse and evaluate simple math word problems returning the answer as an integer.", "source": "Inspired by one of the generated questions in the Extreme Startup game.", "source_url": "https://github.com/rchatley/extreme_startup" } diff --git a/exercises/practice/yacht/.meta/config.json b/exercises/practice/yacht/.meta/config.json index 52925b80b..e35cd47b0 100644 --- a/exercises/practice/yacht/.meta/config.json +++ b/exercises/practice/yacht/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Score a single throw of dice in the game Yacht.", "authors": [ "guygastineau" ], @@ -25,6 +24,7 @@ "stack.yaml" ] }, + "blurb": "Score a single throw of dice in the game Yacht.", "source": "James Kilfiger, using wikipedia", "source_url": "https://en.wikipedia.org/wiki/Yacht_(dice_game)" } diff --git a/exercises/practice/zebra-puzzle/.meta/config.json b/exercises/practice/zebra-puzzle/.meta/config.json index a7b9aa4c8..b1f904c07 100644 --- a/exercises/practice/zebra-puzzle/.meta/config.json +++ b/exercises/practice/zebra-puzzle/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Solve the zebra puzzle.", "authors": [], "contributors": [ "iHiD", @@ -24,6 +23,7 @@ "stack.yaml" ] }, + "blurb": "Solve the zebra puzzle.", "source": "Wikipedia", "source_url": "https://en.wikipedia.org/wiki/Zebra_Puzzle" } diff --git a/exercises/practice/zipper/.meta/config.json b/exercises/practice/zipper/.meta/config.json index bb59c64f0..800cd81bb 100644 --- a/exercises/practice/zipper/.meta/config.json +++ b/exercises/practice/zipper/.meta/config.json @@ -1,5 +1,4 @@ { - "blurb": "Creating a zipper for a binary tree.", "authors": [], "contributors": [ "iHiD", @@ -26,5 +25,6 @@ "invalidator": [ "stack.yaml" ] - } + }, + "blurb": "Creating a zipper for a binary tree." } From 34397bbadf8592e9f750b3934bfe6c4b7f66777a Mon Sep 17 00:00:00 2001 From: Peter Tseng Date: Fri, 9 Dec 2022 17:30:09 +0000 Subject: [PATCH 2/2] grade-school: replace `zip (repeat g)` with `map (g,)` https://github.com/ndmitchell/hlint/blob/master/CHANGES.txt 3.5, released 2022-09-20 [#1421][1421], change zip/repeat to map with tuple section [1421]: https://github.com/ndmitchell/hlint/pull/1421 --- exercises/practice/grade-school/test/Tests.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/exercises/practice/grade-school/test/Tests.hs b/exercises/practice/grade-school/test/Tests.hs index c873f5fd6..5bfe0473b 100644 --- a/exercises/practice/grade-school/test/Tests.hs +++ b/exercises/practice/grade-school/test/Tests.hs @@ -1,4 +1,5 @@ {-# OPTIONS_GHC -fno-warn-type-defaults #-} +{-# LANGUAGE TupleSections #-} import Test.Hspec (Spec, it, shouldBe) import Test.Hspec.Runner (configFastFail, defaultConfig, hspecWith) @@ -12,7 +13,7 @@ specs :: Spec specs = do let fromList = foldr (uncurry add) empty - let fromGrade g = fromList . zip (repeat g) + let fromGrade g = fromList . map (g,) it "add student" $ sorted (add 2 "Aimee" empty) `shouldBe` [(2, ["Aimee"])]