eval :: Expr -> [Int]
eval :: Expr -> [Int]
subs :: [a] -> [[a]]
interleave :: a -> [a] -> [[a]]
perms :: [a] -> [[a]]
using function composition.
choices :: [a] -> [[a]]
solution :: Expr -> [Int] -> Int -> Bool
split :: [a] -> [([a], [a])]
exprs :: [Int] -> [Expr]
solutions :: [Int] -> Int -> [Expr]
solutions :: [Int] -> Int -> [Expr], using list comprehensions
Adding samples.