I'm defining a TestList (HUnit) and want to spread the definition over multiple lines. I came to the following solution:

tests = TestList ([TestLabel "test1" test1] ++
                  [TestLabel "test2" test2] ++
                  [TestLabel "test3" test3] ++
                  [TestLabel "test4" test4] ++
                  [TestLabel "test5" test5])
  • Is the use of the ++ operator the proper way to do such things?
  • Are there better or more elegant ways to do this?
Edit
Report