Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Haskell: define list over multiple lines
- tests = TestList ([TestLabel "test1" test1] ++
- [TestLabel "test2" test2] ++
- [TestLabel "test3" test3] ++
- [TestLabel "test4" test4] ++
- [TestLabel "test5" test5])
- tests = TestList
- [ TestLabel "test1" test1
- , TestLabel "test2" test2
- , TestLabel "test3" test3
- , TestLabel "test4" test4
- , TestLabel "test5" test5 ]
- tests = TestList
- [ "test1" ~: test1
- , "test2" ~: test2
- , "test3" ~: test3
- , "test4" ~: test4
- , "test5" ~: test5 ]
- tests = TestList ([TestLabel "test1" test1,
- TestLabel "test2" test2,
- TestLabel "test3" test3,
- TestLabel "test4" test4,
- TestLabel "test5" test5])
Add Comment
Please, Sign In to add comment