Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions exercises/practice/anagram/.docs/instructions.append.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Instructions Append

## Implementation

You must return the anagrams in the same order as they are listed in the candidate words.
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Hints
# Instructions append

## Hints

There are some important concepts that are necessary for this task:

Expand Down
7 changes: 4 additions & 3 deletions exercises/practice/hello-world/.docs/instructions.append.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Hints
# Instructions append

## Hints

To complete this exercise, you need to implement the `hello` function.

You will find the type signature for `hello` already in place,
but it is up to you to define the function.
You will find the type signature for `hello` already in place, but it is up to you to define the function.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Instructions append

## Implementation

- Bonus points: can you generalize your implementation to find the majority element of any type of List?
- Bonus points: is your implementation performant if there are many different elements to choose from when finding the majority?
- While you can implement the `majorityFinder` function in any way you choose, we've provided a few stubs which use the `MyStore` ability. (The `MyStore` ability is the same as `Store` from the standard library, but here we've given it a slightly different name for disambiguation.) You'll need to implement the `runWith` handler if you choose to use this ability. `runWith` returns both the result of running the function which uses the `MyStore` ability and the final state of the `MyStore`.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
# Instructions append

## Implementation

There are many ways to accomplish this exercise, but we've provided some additional stubs for folks who'd like to practice writing their own [ability handlers][ability-handler-docs].

The signature for the `checkBalance` helper function given for this exercise makes use of an ability requirement, `{Stack}`. The ability `Stack` is defined for you, but the handler, `Stack.run` is not! If you chose, you can implement the `Stack.run`, `checkBalance`, and `isPaired` function. The tests will run even if you choose not to implement this exercise with abilities.
The signature for the `checkBalance` helper function given for this exercise makes use of an ability requirement, `{Stack}`.
The ability `Stack` is defined for you, but the handler, `Stack.run` is not!
If you chose, you can implement the `Stack.run`, `checkBalance`, and `isPaired` function.
The tests will run even if you choose not to implement this exercise with abilities.

[ability-handler-docs]: https://www.unison-lang.org/learn/fundamentals/abilities/writing-abilities/
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Instructions append

## Implementation

~~~~exercism/caution
Your implementation should not use `Text.reverse`.
~~~~
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Instructions append

To complete this exercise, you need to create the data type `LinkedList`,
and implement the following functions:
## Implementation

To complete this exercise, you need to create the data type `LinkedList`, and implement the following functions:

- `new`
- `cons`
Expand All @@ -13,5 +14,4 @@ and implement the following functions:
- `reverseLinkedList`
- `toList`

You will find a dummy type declaration and type signatures already in place,
but it is up to you to define the functions and create a meaningful data type.
You will find a dummy type declaration and type signatures already in place, but it is up to you to define the functions and create a meaningful data type.
Loading