1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-15 01:52:11 +03:00
juvix/bench/Suites.hs

29 lines
505 B
Haskell
Raw Normal View History

2023-01-05 19:48:26 +03:00
module Suites where
import Base
import Juvix.Prelude
import Variants
suites :: [Suite]
suites =
map
defaultSuite
[ "mergesort",
"fibonacci",
"combinations",
"maybe",
"ackermann",
"cps",
"prime"
2023-01-05 19:48:26 +03:00
]
<> [ Suite suiteName (allVariantsExcept [C] [CoreEval])
| suiteName <- ["fold", "mapfold", "mapfun"]
2023-01-05 19:48:26 +03:00
]
defaultSuite :: String -> Suite
defaultSuite title =
Suite
{ _suiteTitle = title,
_suiteVariants = defaultVariants
}