From d4fc3f6f20f0e65132055414a8af34c688b25b7f Mon Sep 17 00:00:00 2001 From: Simon Shine Date: Wed, 12 Jun 2019 08:24:52 +0200 Subject: [PATCH] Rename 'bracket-push' to 'matching-brackets' This rename was proposed in exercism/problem-specifications#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}/README.md | 6 +++--- exercises/{bracket-push => matching-brackets}/example.sml | 0 .../matching-brackets.sml} | 0 exercises/{bracket-push => matching-brackets}/test.sml | 2 +- exercises/{bracket-push => matching-brackets}/testlib.sml | 0 6 files changed, 5 insertions(+), 5 deletions(-) rename exercises/{bracket-push => matching-brackets}/README.md (89%) rename exercises/{bracket-push => matching-brackets}/example.sml (100%) rename exercises/{bracket-push/bracket-push.sml => matching-brackets/matching-brackets.sml} (100%) rename exercises/{bracket-push => matching-brackets}/test.sml (98%) rename exercises/{bracket-push => matching-brackets}/testlib.sml (100%) diff --git a/config.json b/config.json index 9e34972..6299524 100644 --- a/config.json +++ b/config.json @@ -41,7 +41,7 @@ ] }, { - "slug": "bracket-push", + "slug": "matching-brackets", "uuid": "67108540-cdc3-46df-81f9-6bd8d3580575", "core": false, "unlocked_by": null, diff --git a/exercises/bracket-push/README.md b/exercises/matching-brackets/README.md similarity index 89% rename from exercises/bracket-push/README.md rename to exercises/matching-brackets/README.md index 98c5fd8..2a49b33 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. @@ -6,14 +6,14 @@ verify that all the pairs are matched and nested correctly. ## Loading your exercise implementation in PolyML ``` -$ poly --use bracket-push.sml +$ poly --use matching-brackets.sml ``` Or: ``` $ poly -> use "bracket-push.sml"; +> use "matching-brackets.sml"; ``` ## Running the tests diff --git a/exercises/bracket-push/example.sml b/exercises/matching-brackets/example.sml similarity index 100% rename from exercises/bracket-push/example.sml rename to exercises/matching-brackets/example.sml diff --git a/exercises/bracket-push/bracket-push.sml b/exercises/matching-brackets/matching-brackets.sml similarity index 100% rename from exercises/bracket-push/bracket-push.sml rename to exercises/matching-brackets/matching-brackets.sml diff --git a/exercises/bracket-push/test.sml b/exercises/matching-brackets/test.sml similarity index 98% rename from exercises/bracket-push/test.sml rename to exercises/matching-brackets/test.sml index 22cb4b4..6f5d601 100644 --- a/exercises/bracket-push/test.sml +++ b/exercises/matching-brackets/test.sml @@ -1,7 +1,7 @@ (* version 1.4.0 *) use "testlib.sml"; -use "bracket-push.sml"; +use "matching-brackets.sml"; infixr |> fun x |> f = f x diff --git a/exercises/bracket-push/testlib.sml b/exercises/matching-brackets/testlib.sml similarity index 100% rename from exercises/bracket-push/testlib.sml rename to exercises/matching-brackets/testlib.sml