compare

compare :: Ord a => a -> a -> Ordering
base Prelude, base Data.Ord
compareLength :: Text -> Int -> Ordering
text Data.Text
O(n) Compare the count of characters in a Text to a number. Subject to fusion. This function gives the same answer as comparing against the result of length, but can short circuit if the count of characters is greater than the number, and hence be more efficient.
compareLength :: Text -> Int64 -> Ordering
text Data.Text.Lazy
O(n) Compare the count of characters in a Text to a number. Subject to fusion. This function gives the same answer as comparing against the result of length, but can short circuit if the count of characters is greater than the number, and hence be more efficient.
package CMCompare
package
Compares two Infernal covariance models. Returns the common MaxiMin score and the offending RNA sequence. High scores point toward low discriminative power of the two models. Based on: "Christian Höner zu Siederdissen, and Ivo L. Hofacker. 2010. Discriminatory power of RNA family models. Bioinformatics 26, no. 18: 45359" http://bioinformatics.oxfordjournals.org/content/26/18/i453.long Version 0.0.1.5
messageCompare :: Message -> Message -> Ordering
parsec Text.ParserCombinators.Parsec.Error
package SizeCompare
package
SizeCompare is a small library providing size comparison functions standard Haskell data-types. Size compare runs in O(min(n,m)) for both arguments, possibly faster. Instead of measuring both containers and comparing the result, SizeCompare iteratively deconstructs both sides of the equality equation until a conclusion can be made. A common expression like: length xs > 0 runs O(n) in the length of the list. Sizecompare runs (O(1)) in this particular case: xs |>| 0 This is still an initial version of the library and updates may follow after some more profiling. Version 0.1
textureCompareFailValue :: ParameterizedTextureTarget t => t -> StateVar GLclampf
OpenGL Graphics.Rendering.OpenGL.GL.Texturing.Parameters
textureCompareMode :: ParameterizedTextureTarget t => t -> StateVar (Maybe ComparisonFunction)
OpenGL Graphics.Rendering.OpenGL.GL.Texturing.Parameters
data TextureCompareOperator
OpenGL Graphics.Rendering.OpenGL.GL.Texturing.Parameters
textureCompareOperator :: ParameterizedTextureTarget t => t -> StateVar (Maybe TextureCompareOperator)
OpenGL Graphics.Rendering.OpenGL.GL.Texturing.Parameters