Skip to content

Commit 33bc53a

Browse files
committed
got rid of solution for last in Exercsises01
1 parent 3d44d27 commit 33bc53a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

HaskellExercises01/src/Exercises01.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ macid = "TODO"
3535
-- other available Prelude functions
3636
-----------------------------------------------------------------------------------------------------------
3737
last :: [a] -> a
38-
last xs = head (take (length xs -1) xs)
38+
last xs = error "TODO implement init"
3939

4040
-- Exercise B
4141
-----------------------------------------------------------------------------------------------------------

HaskellExercises02/stack.yaml.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
packages: []
77
snapshots:
88
- completed:
9-
size: 533252
10-
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/16/27.yaml
11-
sha256: c2aaae52beeacf6a5727c1010f50e89d03869abfab6d2c2658ade9da8ed50c73
12-
original: lts-16.27
9+
size: 534126
10+
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/16/31.yaml
11+
sha256: 637fb77049b25560622a224845b7acfe81a09fdb6a96a3c75997a10b651667f6
12+
original: lts-16.31

0 commit comments

Comments
 (0)