From af3310e90f388e0eed849082ff1cff28da68534b Mon Sep 17 00:00:00 2001 From: Erik Schierboom Date: Thu, 28 Jan 2021 14:12:05 +0100 Subject: [PATCH] Convert example to exemplar * Rename example files to exemplar See https://github.com/exercism/v3-docs/pull/23 * [Docs] Correct .meta/example references to .meta/exemplar * [Docs] Use exemplar instead of example * [Docs] Update example name in file listings * [Julia] Convert to exemplar.jl * [elm] Rename .meta/Cook.elm to .meta/Examplar.elm * [elm] Rename .meta/Examplar.elm .meta/Exemplar.elm Co-authored-by: Matthieu Pizenberg --- .../concept/array-loops/.meta/{example.js => exemplar.js} | 0 exercises/concept/basics/{example.js => exemplar.js} | 0 exercises/concept/booleans/{example.js => exemplar.js} | 0 exercises/concept/closures/{example.js => exemplar.js} | 0 .../.meta/{example.js => exemplar.js} | 0 .../.meta/{example.js => exemplar.js} | 0 .../elyses-enchantments/.meta/{example.js => exemplar.js} | 0 .../.meta/{example.js => exemplar.js} | 0 exercises/concept/fruit-picker/{example.js => exemplar.js} | 0 exercises/concept/lucky-numbers/{example.js => exemplar.js} | 0 exercises/concept/nullability/{example.js => exemplar.js} | 0 exercises/concept/numbers/{example.js => exemplar.js} | 0 exercises/concept/promises/{example.2.js => exemplar.2.js} | 0 exercises/concept/promises/{example.js => exemplar.js} | 0 exercises/concept/recursion/{example.js => exemplar.js} | 0 exercises/concept/strings/{example.js => exemplar.js} | 0 reference/implementing-a-concept-exercise.md | 4 ++-- 17 files changed, 2 insertions(+), 2 deletions(-) rename exercises/concept/array-loops/.meta/{example.js => exemplar.js} (100%) rename exercises/concept/basics/{example.js => exemplar.js} (100%) rename exercises/concept/booleans/{example.js => exemplar.js} (100%) rename exercises/concept/closures/{example.js => exemplar.js} (100%) rename exercises/concept/elyses-analytic-enchantments/.meta/{example.js => exemplar.js} (100%) rename exercises/concept/elyses-destructured-enchantments/.meta/{example.js => exemplar.js} (100%) rename exercises/concept/elyses-enchantments/.meta/{example.js => exemplar.js} (100%) rename exercises/concept/elyses-transformative-enchantments/.meta/{example.js => exemplar.js} (100%) rename exercises/concept/fruit-picker/{example.js => exemplar.js} (100%) rename exercises/concept/lucky-numbers/{example.js => exemplar.js} (100%) rename exercises/concept/nullability/{example.js => exemplar.js} (100%) rename exercises/concept/numbers/{example.js => exemplar.js} (100%) rename exercises/concept/promises/{example.2.js => exemplar.2.js} (100%) rename exercises/concept/promises/{example.js => exemplar.js} (100%) rename exercises/concept/recursion/{example.js => exemplar.js} (100%) rename exercises/concept/strings/{example.js => exemplar.js} (100%) diff --git a/exercises/concept/array-loops/.meta/example.js b/exercises/concept/array-loops/.meta/exemplar.js similarity index 100% rename from exercises/concept/array-loops/.meta/example.js rename to exercises/concept/array-loops/.meta/exemplar.js diff --git a/exercises/concept/basics/example.js b/exercises/concept/basics/exemplar.js similarity index 100% rename from exercises/concept/basics/example.js rename to exercises/concept/basics/exemplar.js diff --git a/exercises/concept/booleans/example.js b/exercises/concept/booleans/exemplar.js similarity index 100% rename from exercises/concept/booleans/example.js rename to exercises/concept/booleans/exemplar.js diff --git a/exercises/concept/closures/example.js b/exercises/concept/closures/exemplar.js similarity index 100% rename from exercises/concept/closures/example.js rename to exercises/concept/closures/exemplar.js diff --git a/exercises/concept/elyses-analytic-enchantments/.meta/example.js b/exercises/concept/elyses-analytic-enchantments/.meta/exemplar.js similarity index 100% rename from exercises/concept/elyses-analytic-enchantments/.meta/example.js rename to exercises/concept/elyses-analytic-enchantments/.meta/exemplar.js diff --git a/exercises/concept/elyses-destructured-enchantments/.meta/example.js b/exercises/concept/elyses-destructured-enchantments/.meta/exemplar.js similarity index 100% rename from exercises/concept/elyses-destructured-enchantments/.meta/example.js rename to exercises/concept/elyses-destructured-enchantments/.meta/exemplar.js diff --git a/exercises/concept/elyses-enchantments/.meta/example.js b/exercises/concept/elyses-enchantments/.meta/exemplar.js similarity index 100% rename from exercises/concept/elyses-enchantments/.meta/example.js rename to exercises/concept/elyses-enchantments/.meta/exemplar.js diff --git a/exercises/concept/elyses-transformative-enchantments/.meta/example.js b/exercises/concept/elyses-transformative-enchantments/.meta/exemplar.js similarity index 100% rename from exercises/concept/elyses-transformative-enchantments/.meta/example.js rename to exercises/concept/elyses-transformative-enchantments/.meta/exemplar.js diff --git a/exercises/concept/fruit-picker/example.js b/exercises/concept/fruit-picker/exemplar.js similarity index 100% rename from exercises/concept/fruit-picker/example.js rename to exercises/concept/fruit-picker/exemplar.js diff --git a/exercises/concept/lucky-numbers/example.js b/exercises/concept/lucky-numbers/exemplar.js similarity index 100% rename from exercises/concept/lucky-numbers/example.js rename to exercises/concept/lucky-numbers/exemplar.js diff --git a/exercises/concept/nullability/example.js b/exercises/concept/nullability/exemplar.js similarity index 100% rename from exercises/concept/nullability/example.js rename to exercises/concept/nullability/exemplar.js diff --git a/exercises/concept/numbers/example.js b/exercises/concept/numbers/exemplar.js similarity index 100% rename from exercises/concept/numbers/example.js rename to exercises/concept/numbers/exemplar.js diff --git a/exercises/concept/promises/example.2.js b/exercises/concept/promises/exemplar.2.js similarity index 100% rename from exercises/concept/promises/example.2.js rename to exercises/concept/promises/exemplar.2.js diff --git a/exercises/concept/promises/example.js b/exercises/concept/promises/exemplar.js similarity index 100% rename from exercises/concept/promises/example.js rename to exercises/concept/promises/exemplar.js diff --git a/exercises/concept/recursion/example.js b/exercises/concept/recursion/exemplar.js similarity index 100% rename from exercises/concept/recursion/example.js rename to exercises/concept/recursion/exemplar.js diff --git a/exercises/concept/strings/example.js b/exercises/concept/strings/exemplar.js similarity index 100% rename from exercises/concept/strings/example.js rename to exercises/concept/strings/exemplar.js diff --git a/reference/implementing-a-concept-exercise.md b/reference/implementing-a-concept-exercise.md index f8ac6604c3..d3af154eb3 100644 --- a/reference/implementing-a-concept-exercise.md +++ b/reference/implementing-a-concept-exercise.md @@ -47,7 +47,7 @@ languages ├── .eslintrc ├── .gitignore ├── babel.config.js - ├── example.js + ├── exemplar.js ├── <slug>.js ├── <slug>.spec.js ├── package.json @@ -87,7 +87,7 @@ Now create the following three files: - `.cs`. the stub implementation file, which is the starting point for students to work on the exercise. - `.spec.js`: the test suite. -- `example.js`: an example implementation that passes all the tests. +- `exemplar.js`: an exemplar implementation that passes all the tests. ## Step 2: Add documentation files