Question: emacs programming. Would be helpful if someone can explain why I am getting this error? Thanks student@wadler:~/haskell-katas Q 22 Save Failures: File Edit Options Buffers

emacs programming.

Would be helpful if someone can explain why I am getting this error? Thanks

emacs programming. Would be helpful if someone can explain why I am

student@wadler:~/haskell-katas Q 22 Save Failures: File Edit Options Buffers Tools Haskell Help Undo d module Exo3_ListsRanges Spec ( spec > where test/Exo3_ListsRangesSpec.hs:14:11: 1) ranges can express ranges expected: 10 but got: 0 import Test.Hspec To rerun use: --match "/ranges/can express ranges/" main :: IO () main = hspec spec test/Ex03_ListsRangesSpec.hs:16:11: 2) ranges can set steps expected: [2,4,] but got: [] To rerun use: --match "/ranges/can set steps/" spec :: Spec spec = do describe "ranges" $ do it "can express ranges" $ do length [] 'shouldBe 10 it "can set steps" $ do take 3 [] 'shouldbe [2, 4, 6] describe "cycle" $ do it "can cycle through numbers" $ do (cycle []) 'shouldbe. [1, 2, 3, 1, 2] describe "repeat" $ do it "can repeat numbers" $ do take 1 [] 'shouldBe [3, 3, 3, 3, 3] describe "elem" $ do it "can remove non-uppercase letters" $ do let removeNonUppercase st = [] removeNonUppercase"IdontLIKEFROGS" shouldbe test/Exo3_ListsRangesSpec.hs:18:9: 3) cycle can cycle through numbers Uncaught exception: Errorcall Prelude, cycle: empty list To rerun use: --match "/cycle/can cycle through numbers/" "ILIKEFROGS" ---- EXO3 ListsRangesSpec.hs All L27 (Haskell ElDoc) Source file '/home/student/.emacs.d/elpa/haskell-mode-20200120.2233/inf-haskell. sel' newer than byte-compiled file

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!