packages feed

code-conjure-0.5.8: eg/pow.out

pow :: Int -> Int -> Int
-- testing 5 combinations of argument values
-- pruning with 14/30 rules
-- looking through 4 candidates of size 1
-- looking through 15 candidates of size 2
-- looking through 45 candidates of size 3
-- looking through 168 candidates of size 4
-- looking through 491 candidates of size 5
-- looking through 1729 candidates of size 6
-- looking through 5420 candidates of size 7
-- looking through 17952 candidates of size 8
-- tested 8593 candidates
pow x 0  =  1
pow x y  =  x * pow x (y - 1)

pow :: Int -> Int -> Int
-- testing 5 combinations of argument values
-- pruning with 15/19 rules
-- looking through 4 candidates of size 1
-- looking through 17 candidates of size 2
-- looking through 59 candidates of size 3
-- looking through 190 candidates of size 4
-- looking through 594 candidates of size 5
-- looking through 1784 candidates of size 6
-- tested 2648 candidates
cannot conjure