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
8 changes: 4 additions & 4 deletions exercises/practice/all-your-base/.docs/instructions.append.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Additional Information
# Instructions append

### Example Input
## Example Input

```j
INPUTS=: 2 ; 1 0 0 1 0 1 ; 10
Expand All @@ -12,11 +12,11 @@ This means that your inputs are:
1{INPUTS NB. is the digits.
2{INPUTS NB. is the output base.
```
### Handling Invalid Inputs
## Handling Invalid Inputs

If any of the input values is invalid, your verb should return either an `empty`(e.g., `0$0` or `''`).

#### Examples
### Examples

- If the _input base_ is smaller than 2:
```j
Expand Down
13 changes: 9 additions & 4 deletions exercises/practice/allergies/.docs/instructions.append.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
## Notes
# Instructions append

You need to define two verbs called `allergic_to` and `list`
## Track specific instructions

You need to define two verbs called `allergic_to` and `list`.

## Inputs

### Inputs
1. `allergic_to` verb is **dyad** where:

- **Left Argument**: is a string containing the allergen name.
Expand All @@ -18,7 +21,9 @@ Your verbs will be called with these arguments like so:
'cats' allergic_to 255
list 5
```
### Outputs

## Outputs

The output of `allergic_to` verb is a **boolean**

The output of `list` is a **list of boxes**
6 changes: 3 additions & 3 deletions exercises/practice/anagram/.docs/instructions.append.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Additional Information
# Instructions append

### Input
# Input

The input for this exercise are:

Expand All @@ -16,6 +16,6 @@ Your verb will be called like this:
subject findAnagrams candidates
```

### Output
## Output

Your verb should return a _list_ of boxes containig the strings that are anagrams of the target. If there are no anagrams, the result should be `empty`.
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
## Notes
# Instructions append

## Track specific instructions

Here's what you need to know about the input format:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
# Instructions append

## Output

In this exercise, you will implement a verb that generates Pascal’s Triangle up to a given number of rows. The output from your verb can be formatted in one of two ways:

1. As an array of boxed lists, where each list represents a row in Pascal’s Triangle.
1. As a table, where the numbers are aligned to the right, and zeros are used to fill empty spaces on the left.

### Example output

Here are two valid outputs for `pascal 3`:

- As an array of boxed lists:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
## Notes
# Instructions append

## Track specific instructions

For this exercise you need to define a **locale** named `robot` that defines the **nouns** `position` and `direction` and a **verb** `move`.

Expand Down
4 changes: 3 additions & 1 deletion exercises/practice/space-age/.docs/instructions.append.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
## Notes
# Instructions append

## Track specific instructions

Here's what you need to know about the input format:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
## Notes
# Instructions append

## Track specific instructions

For this exercise, your verb will receive two arguments:

Expand Down
4 changes: 3 additions & 1 deletion exercises/practice/yacht/.docs/instructions.append.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
## Notes
# Instructions append

## Track specific instructions

In the "Yacht" exercise, you will create a verb that calculates the score for a single throw of five dice in the game Yacht, based on the chosen category.

Expand Down
Loading