Skip to content

Commit

Permalink
Incorporated review comments from #1202
Browse files Browse the repository at this point in the history
  • Loading branch information
tofische committed Feb 2, 2024
1 parent 8ef5f5b commit 2362702
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions exercises/practice/affine-cipher/.docs/instructions.append.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@
You need to implement the `decode` and `encode` functions, which decode and encode a `String` using an Affine cipher.
You can use the provided signature if you are unsure about the types, but don't let it restrict your creativity.

This exercise works with textual data. For historical reasons, Haskell's
`String` type is synonymous with `[Char]`, a list of characters. For more
efficient handling of textual data, the `Text` type can be used.
This exercise works with textual data.
For historical reasons, Haskell's `String` type is synonymous with `[Char]`, a list of characters.
For more efficient handling of textual data, the `Text` type can be used.

As an optional extension to this exercise, you can

- read about [string types](https://haskell-lang.org/tutorial/string-types) in
Haskell.
- add `- text` to your list of dependencies in package.yaml.
- import `Data.Text` in [the following
way](https://hackernoon.com/4-steps-to-a-better-imports-list-in-haskell-43a3d868273c):
Expand Down

0 comments on commit 2362702

Please sign in to comment.