git.iko.soy/rowtype-yoga/purescript-backend-optimizer
on main help sign in
9 lines 299 B history raw
1module Snapshot.PrimOpBooleanNotRegression where
3import Prelude
5-- Related to #93.
6-- Inlines to multiple references to the result of comp. The call
7-- to comp should not be duplicated due to OpBooleanNot.
8test :: forall a. (a -> a -> Ordering) -> a -> a -> Boolean
9test comp a b = comp a b /= EQ