Skip to content

Commit 0f86450

Browse files
authored
Merge pull request #333 from rbasso/linked-list-move-hints
linked-list: Move hints to HINTS.md
2 parents 9daac9d + c8993e7 commit 0f86450

2 files changed

Lines changed: 13 additions & 3 deletions

File tree

exercises/linked-list/HINTS.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
## Hints
2+
3+
To complete this exercise, you need to create the data type `Deque`
4+
and implement the following functions:
5+
6+
- `mkDeque`
7+
- `pop`
8+
- `push`
9+
- `unshift`
10+
- `shift`
11+
12+
You will find the type signatures already in place, but it is up to you
13+
to define the functions.

exercises/linked-list/src/Deque.hs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
module Deque (Deque, mkDeque, pop, push, shift, unshift) where
22

3-
-- The task is to create the data type `Deque`
4-
-- and implement the functions below.
5-
63
mkDeque :: IO (Deque a)
74
mkDeque = undefined
85

0 commit comments

Comments
 (0)