diff --git a/Problem01.hs b/Problem01.hs index 4ddee01..e53286c 100644 --- a/Problem01.hs +++ b/Problem01.hs @@ -1,4 +1,4 @@ -module Problem1 where +module Problem01 where -- Problem 1 -- Find the last element of a list. diff --git a/Problem02.hs b/Problem02.hs index c107b14..c452eb5 100644 --- a/Problem02.hs +++ b/Problem02.hs @@ -1,4 +1,4 @@ -module Problem2 where +module Problem02 where -- Problem 2 -- Find the last but one element of a list. diff --git a/Problem03.hs b/Problem03.hs index 00eeb37..5142ac0 100644 --- a/Problem03.hs +++ b/Problem03.hs @@ -1,4 +1,4 @@ -module Problem3 where +module Problem03 where -- Problem 3 -- Find the K'th element of a list. The first element in the list is number 1. diff --git a/Problem04.hs b/Problem04.hs index bae0f0d..71e66b2 100644 --- a/Problem04.hs +++ b/Problem04.hs @@ -1,4 +1,4 @@ -module Problem4 where +module Problem04 where -- Problem 4 -- Find the number of elements of a list. diff --git a/Problem05.hs b/Problem05.hs index 1bfea15..b490ec0 100644 --- a/Problem05.hs +++ b/Problem05.hs @@ -1,4 +1,4 @@ -module Problem5 where +module Problem05 where import DList diff --git a/Problem06.hs b/Problem06.hs index f05a36b..cf4e0d5 100644 --- a/Problem06.hs +++ b/Problem06.hs @@ -1,4 +1,4 @@ -module Problem6 where +module Problem06 where import Problem5 (myReverse) diff --git a/Problem07.hs b/Problem07.hs index 7964007..08c6e63 100644 --- a/Problem07.hs +++ b/Problem07.hs @@ -1,4 +1,4 @@ -module Problem7 where +module Problem07 where -- Problem 7 -- Flatten a nested list structure. diff --git a/Problem08.hs b/Problem08.hs index 0d4c604..16aa2a6 100644 --- a/Problem08.hs +++ b/Problem08.hs @@ -1,4 +1,4 @@ -module Problem8 where +module Problem08 where -- Problem 8 -- Eliminate consecutive duplicates of list elements. diff --git a/Problem09.hs b/Problem09.hs index 3fb9ecf..2cba524 100644 --- a/Problem09.hs +++ b/Problem09.hs @@ -1,4 +1,4 @@ -module Problem9 where +module Problem09 where import Data.List (group)