git.iko.soy/rowtype-yoga/purescript-backend-optimizer
on main help sign in
17 lines 322 B history raw
1module Snapshot.FunctionCompose02 (test1, test2, test3, test4) where
3import Prelude
5type F = Int -> Int
7test1 :: F -> F -> F
8test1 f g = f <<< g
10test2 :: F -> F -> F
11test2 f g = g <<< (f <<< g)
13test3 :: F -> F -> F
14test3 f g = (f <<< g) <<< (f <<< g)
16test4 :: F -> F -> F
17test4 f g = ((g <<< f) <<< g) <<< (f <<< g)