Skip to content

Commit

Permalink
Convert example to exemplar
Browse files Browse the repository at this point in the history
* Rename example files to exemplar

See exercism/docs#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 <[email protected]>
  • Loading branch information
2 people authored and iHiD committed Feb 5, 2021
1 parent 0a9ee5f commit 7136750
Show file tree
Hide file tree
Showing 16 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions reference/implementing-a-concept-exercise.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ languages
├── .meta
| |── config.json
| |── design.md
| └── Example.swift
| └── Exemplar.swift
├── Package.swift
├── Sources
| └── &lt;NAME&gt;
Expand Down Expand Up @@ -98,13 +98,13 @@ For more information, please read [this in-depth description][tests-file], [watc

This file will be generated by the Swift Package Manager, but it needs to be removed as it conflicts with a README.md file that will be generated for the student when they attempt the exercise.

### Add `.meta/Example.swift` file
### Add `.meta/Exemplar.swift` file

**Purpose:** The idiomatic example implementation that passes all the tests.

For more information, please read [this in-depth description][example-file], [watch this video][video-example-file] and check [this example file][example-example-file].

Note that all of the above files except for .meta/Example.swift can be created automatically by running `swift package init --type library --&lt;NAME&gt;` inside the &lt;SLUG&gt; directory.
Note that all of the above files except for .meta/Exemplar.swift can be created automatically by running `swift package init --type library --&lt;NAME&gt;` inside the &lt;SLUG&gt; directory.

## Step 2: Add documentation files

Expand Down Expand Up @@ -161,7 +161,7 @@ If you have any questions regarding implementing the exercise, please post them

<!--[example-stub-file]: ../exercises/concept/strings/Source/Strings/Strings.swift
[example-tests-file]: ../exercises/concept/strings/Tests/StringsTests/StringTests.swift
[example-example-file]: ../exercises/concept/strings/.meta/Example.swift
[example-example-file]: ../exercises/concept/strings/.meta/Exemplar.swift
[example-project-file]: ../exercises/concept/strings/Package.swift
-->

Expand Down

0 comments on commit 7136750

Please sign in to comment.