From f1e8f9411dc2e2fe6fc62f18748d7b0c5d952dce Mon Sep 17 00:00:00 2001 From: Simon Shine Date: Tue, 11 Jun 2019 15:24:18 +0200 Subject: [PATCH] Rename 'bracket-push' to 'matching-brackets' (fixes #303) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This rename was proposed in: exercism/problem-spåecifications#1501 The rationale for the name is: * to name the exercise by its story, not by what it potentially teaches * to avoid unnecessarily biasing the solution space --- config.json | 2 +- exercises/{bracket-push => matching-brackets}/Makefile | 0 exercises/{bracket-push => matching-brackets}/README.md | 2 +- exercises/{bracket-push => matching-brackets}/dune | 0 exercises/{bracket-push => matching-brackets}/dune-project | 0 exercises/{bracket-push => matching-brackets}/example.ml | 0 .../matching_brackets.mli} | 0 exercises/{bracket-push => matching-brackets}/test.ml | 4 ++-- 8 files changed, 4 insertions(+), 4 deletions(-) rename exercises/{bracket-push => matching-brackets}/Makefile (100%) rename exercises/{bracket-push => matching-brackets}/README.md (98%) rename exercises/{bracket-push => matching-brackets}/dune (100%) rename exercises/{bracket-push => matching-brackets}/dune-project (100%) rename exercises/{bracket-push => matching-brackets}/example.ml (100%) rename exercises/{bracket-push/bracket_push.mli => matching-brackets/matching_brackets.mli} (100%) rename exercises/{bracket-push => matching-brackets}/test.ml (93%) diff --git a/config.json b/config.json index 7490a01b2a..7ff2143f6f 100644 --- a/config.json +++ b/config.json @@ -173,7 +173,7 @@ ] }, { - "slug": "bracket-push", + "slug": "matching-brackets", "uuid": "9f7b9da6-afff-4d2b-862e-df1b3a0a7cef", "core": false, "unlocked_by": null, diff --git a/exercises/bracket-push/Makefile b/exercises/matching-brackets/Makefile similarity index 100% rename from exercises/bracket-push/Makefile rename to exercises/matching-brackets/Makefile diff --git a/exercises/bracket-push/README.md b/exercises/matching-brackets/README.md similarity index 98% rename from exercises/bracket-push/README.md rename to exercises/matching-brackets/README.md index a847b31955..e97438a8b4 100644 --- a/exercises/bracket-push/README.md +++ b/exercises/matching-brackets/README.md @@ -1,4 +1,4 @@ -# Bracket Push +# Matching Brackets Given a string containing brackets `[]`, braces `{}` and parentheses `()`, verify that all the pairs are matched and nested correctly. diff --git a/exercises/bracket-push/dune b/exercises/matching-brackets/dune similarity index 100% rename from exercises/bracket-push/dune rename to exercises/matching-brackets/dune diff --git a/exercises/bracket-push/dune-project b/exercises/matching-brackets/dune-project similarity index 100% rename from exercises/bracket-push/dune-project rename to exercises/matching-brackets/dune-project diff --git a/exercises/bracket-push/example.ml b/exercises/matching-brackets/example.ml similarity index 100% rename from exercises/bracket-push/example.ml rename to exercises/matching-brackets/example.ml diff --git a/exercises/bracket-push/bracket_push.mli b/exercises/matching-brackets/matching_brackets.mli similarity index 100% rename from exercises/bracket-push/bracket_push.mli rename to exercises/matching-brackets/matching_brackets.mli diff --git a/exercises/bracket-push/test.ml b/exercises/matching-brackets/test.ml similarity index 93% rename from exercises/bracket-push/test.ml rename to exercises/matching-brackets/test.ml index 29bcab0ca0..04b4e4de99 100644 --- a/exercises/bracket-push/test.ml +++ b/exercises/matching-brackets/test.ml @@ -1,6 +1,6 @@ open Base open OUnit2 -open Bracket_push +open Matching_brackets let ae exp got _test_ctxt = assert_equal exp got ~printer:Bool.to_string @@ -39,4 +39,4 @@ let tests = [ ] let () = - run_test_tt_main ("bracket-push tests" >::: tests) + run_test_tt_main ("matching-brackets tests" >::: tests)