1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-02 10:47:32 +03:00
juvix/bench/Suites.hs
2023-04-04 13:20:38 +02:00

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
}