Skip to content

Commit c8993e7

Browse files
committed
linked-list: Move hints to HINTS.md
1 parent 91105df commit c8993e7

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)