haskell - Function evaluation result -
Manually Function Definition: Thanks, OK, do something first Î · -expension < Pre> You can type Now it should be quite easy, to remember that a right point simply changes all the FC [F1, F2] (\ x -> 2) 3 / > But I do not know how to match the three parameters: [F1, F2], (\ x -> 2) and 3 function definition, any help?
fc xss = \ f - & gt; Let's open x y = x Y foldl1 ope xss f1, f2 :: int - & gt; Bull F1X = (X`Mode`3) == 0 f2x = (x` mod`5) == 0
Sebastien
FC :: [A-> B] - & gt; (B-> A) - & gt; A-> B. FC XSS F = Let's open x y = x f In the Y \ q - & gt; Foldr1 ope xss q fc xss f q = let's ope x y = x f Then folders
xss q
(== 0) as
[f1, f2] (`Mod`3) : (== 0). (`Mod`5): [] .
: with fold function.
Comments
Post a Comment