mirror of
https://github.com/anoma/juvix.git
synced 2024-11-26 08:55:32 +03:00
75d25a56bb
* Closes #1973
29 lines
505 B
Haskell
29 lines
505 B
Haskell
module Suites where
|
|
|
|
import Base
|
|
import Juvix.Prelude
|
|
import Variants
|
|
|
|
suites :: [Suite]
|
|
suites =
|
|
map
|
|
defaultSuite
|
|
[ "mergesort",
|
|
"fibonacci",
|
|
"combinations",
|
|
"maybe",
|
|
"ackermann",
|
|
"cps",
|
|
"prime"
|
|
]
|
|
<> [ Suite suiteName (allVariantsExcept [C] [CoreEval])
|
|
| suiteName <- ["fold", "mapfold", "mapfun"]
|
|
]
|
|
|
|
defaultSuite :: String -> Suite
|
|
defaultSuite title =
|
|
Suite
|
|
{ _suiteTitle = title,
|
|
_suiteVariants = defaultVariants
|
|
}
|