On a fresh install of Haskell Platform for Max OSX, the foll开发者_StackOverflow社区owing code fails on import Test.HUnit when run using the runghc interpreter.
Are there any extensions to HUnit or QuickCheck that allow a continuous integration system like Bamboo to do detailed开发者_运维问答 reporting of test results?
I\'ve written a function similar to LISP\'s flatten: data NestedList a = Elem a | List [NestedList a] flatten :: NestedList a -> [a]
I have the following 2 macros: #define SCOPED_ENUM_HEADER(NAME) struct NAME{ enum _NAME{ #define SCOPED_ENUM_FOOTER(NAME) };}; typedef NAME::_NAME NAMEtype;