ycextra-0.1: csvprim/20080629.csv
Primitive Name,Use Row,Primitive Semantics,Status [1],Arity,Strictness,Type Signature,Front-End Mappings
,,,,,,,Yhc,Hugs,GHC
,,Arithmetic Primitives
ADD_W,Y,Add two integer values,M,2,All,Int -> Int -> Int,ADD_W,Prelude;primPlusInt
ADD_L,Y,Add two long integer values,ADD_W,2,All,Integer -> Integer -> Integer,YHC.Primitive;PrimIntegerAdd,Prelude;primPlusInteger
SUB_W,Y,Subtract two integer values,M,2,All,Int -> Int -> Int,SUB_W,Prelude;primMinusInt
SUB_L,Y,Subtract two long integer values,SUB_W,2,All,Integer -> Integer -> Integer,YHC.Primitive;PrimIntegerSub,Prelude;primMinusInteger
NEG_W,Y,Negate an integer value,M,1,All,Int -> Int,NEG_W,Prelude;primNegInt
NEG_L,Y,Negate a long integer value,NEG_W,1,All,Integer -> Integer,YHC.Primitive;PrimIntegerNeg,Prelude;primNegInteger
EQ_W,Y,Compare two integer values for equality,M,2,All,Int -> Int -> Bool,EQ_W,Prelude;primEqInt
EQ_L,Y,Compare two long integer values for equality,EQ_W,2,All,Integer -> Integer -> Bool,YHC.Primitive;primIntegerEq,Prelude;primEqInteger
NE_W,Y,Compare two integer values for non-equality,M,2,All,Int -> Int -> Bool,NE_W
NE_L,Y,Compare two long integer values for non-equality,NE_W,2,All,Integer -> Integer -> Bool,YHC.Primitive;primIntegerNe
LE_W,Y,Compare two integer values for less or equal,M,2,All,Int -> Int -> Bool,LE_W
LE_L,Y,Compare two long integer values for less or equal,LE_W,2,All,Integer -> Integer -> Bool,YHC.Primitive;primIntegerLe
LT_W,Y,Compare two integer values for less,M,2,All,Int -> Int -> Bool,LT_W
LT_L,Y,Compare two long integer values for less,LT_W,2,All,Integer -> Integer -> Bool,YHC.Primitive;primIntegerLt
GE_W,Y,Compare two integer values for greater or equal,M,2,All,Int -> Int -> Bool,GE_W
GE_L,Y,Compare two long integer values for greater or equal,GE_W,2,All,Integer -> Integer -> Bool,YHC.Primitive;primIntegerGe
GT_W,Y,Compare two integer values for greater,M,2,All,Int -> Int -> Bool,GT_W
GT_L,Y,Compare two long integer values for greater,GT_W,2,All,Integer -> Integer -> Bool,YHC.Primitive;primIntegerGt
CMP_W,Y,Compare two integer values,M,2,All,Int -> Int -> Ordering,,Prelude;primCmpInt
CMP_L,Y,Compare two long integer values,CMP_W,2,All,Integer -> Integer -> Ordering,,Prelude;primCmpInteger
MUL_W,Y,Multiply two integer values,M,2,All,Int -> Int -> Int,MUL_W,Prelude;primMulInt
MUL_L,Y,Multiply two long integer values,MUL_W,2,All,Integer -> Integer -> Integer,YHC.Primitive;PrimIntegerMul,Prelude;primMulInteger
MOD_W,Y,Remainder of flooring integer division,M,2,All,Int -> Int -> Int
MOD_L,Y,Remainder of flooring long integer division,MOD_W,2,All,Integer -> Integer -> Integer
DIV_W,Y,Quotient of flooring integer division,M,2,All,Int -> Int -> Int
DIV_L,Y,Quotient of flooring long integer division,DIV_W,2,All,Integer -> Integer -> Integer
REM_W,Y,Remainder of trunc to zero integer division,M,2,All,Int -> Int -> Int
REM_L,Y,Remainder of trunc to zero long integer division,REM_W,2,All,Integer -> Integer -> Integer
QUOT_W,Y,Quotient of trunc to zero integer division,M,2,All,Int -> Int -> Int
QUOT_L,Y,Quotient of trunc to zero long integer division,QUOT_W,2,All,Integer -> Integer -> Integer
ADD_D,Y,Add two double precision values,M,2,All,Double -> Double -> Double,ADD_D,Prelude;primPlusDouble
ADD_F,Y,Add two floating point single precision values,ADD_D,2,All,Float -> Float -> Float,ADD_F,Prelude;primPlusFloat
ADD_D,Y,Subtract two double precision values,M,2,All,Double -> Double -> Double,SUB_D,Prelude;primMinusDouble
SUB_F,Y,Subtract two floating point single precision values,ADD_D,2,All,Float -> Float -> Float,SUB_F,Prelude;primMinusFloat
MUL_D,Y,Multiply two double precision values,M,2,All,Double -> Double -> Double,MUL_D,Prelude;primMulDouble
MUL_F,Y,Multiply two floating point single precision values,ADD_D,2,All,Float -> Float -> Float,MUL_F,Prelude;primMulFloat
DIV_D,Y,Divide two double precision values,M,2,All,Double -> Double -> Double,SLASH_D,Prelude;primDivDouble
DIV_F,Y,Divide two floating point single precision values,ADD_D,2,All,Float -> Float -> Float,SLASH_F,Prelude;primDivFloat
NEG_D,Y,Negate a double precision value,M,1,All,Float -> Float,NEG_D,Prelude;primNegDouble
NEG_F,Y,Negate a floating point single precision value,NEG_D,1,All,Float -> Float,NEG_F,Prelude;primNegFloat
ABS_W,Y,Absolute value of an integer,M,1,All,Int -> Int,YHC.Primitive;primIntAbs
ABS_L,Y,Absolute value of a long integer,ABS_W,1,All,Integer -> Integer
ABS_D,Y,Absolute value of a double precision ,M,1,All,Double -> Double
ABS_F,Y,Absolute value of a floating,ABS_D,1,All,Float -> Float
SIGNUM_W,Y,Sign of an integer,M,1,All,Int -> Int,YHC.Primitive;primIntSignum
SIGNUM_L,Y,Sign of a long integer,SIGNUM_W,1,All,Integer -> Integer
SIGNUM_D,Y,Sign of a double,M,1,All,Double -> Double
SIGNUM_F,Y,Sign of a float,SIGNUM_D,1,All,Float -> Float
LE_D,Y,Compare two double values for less or equal,M,2,All,Double -> Double -> Bool,LE_D
LE_F,Y,Compare two floating values for less or equal,LE_D,2,All,Float -> Float -> Bool,LE_F
LT_D,Y,Compare two double values for less,M,2,All,Double -> Double -> Bool,LT_D
LT_F,Y,Compare two floating values for less,LT_D,2,All,Float -> Float -> Bool,LT_F
GE_D,Y,Compare two double values for greater or equal,M,2,All,Double -> Double -> Bool,GE_D
GE_F,Y,Compare two floating values for greater or equal,GE_D,2,All,Float -> Float -> Bool,GE_F
GT_D,Y,Compare two double values for greater,M,2,All,Double -> Double -> Bool,GT_D
GT_F,Y,Compare two floating values for greater,GT_D,2,All,Float -> Float -> Bool,GT_F
EQ_D,Y,Compare two double values for equality,E [2],2,All,Double -> Double -> Bool,EQ_D
EQ_F,Y,Compare two floating values for equality,E,2,All,Float -> Float -> Bool,EQ_F
NE_D,Y,Compare two double values for non-equality,E,2,All,Double -> Double -> Bool,EQ_D
NE_F,Y,Compare two floating values for non-equality,E,2,All,Float -> Float -> Bool,EQ_F
CMP_D,Y,Compare two double values,M,2,All,Double -> Double -> Ordering,,Prelude;primCmpDouble
CMP_F,Y,Compare two floating values,CMP_D,2,All,Float -> Float -> Ordering,,Prelude;primCmpFloat
CAST_LW,Y,Cast long integer to integer,M,1,All,Integer -> Int,YHC.Primitive;primIntFromInteger,Prelude;primIntegerToInt
CAST_WL,Y,Cast integer to long integer,M,1,All,Int -> Integer,YHC.Primitive;primIntegerFromInt,Prelude;primIntToInteger
CAST_LD,Y,Cast long integer to double,M,1,All,Integer -> Double,YHC.Primitive;primDoubleFromInteger,Prelude;primIntegerToDouble
,,Character/Unicode Primitives
MAX_C,Y,Maximal value of a character,M,0,None,Char,,Prelude;primMaxChar
ISUPR_C,Y,Character in Unicode categories: Lu | Lt,M,1,All,Char -> Bool,,Prelude;primIsUpper
ISLOW_C,Y,Character in Unicode categories: Ll,M,1,All,Char -> Bool,,Prelude;primIsLower
ISALP_C,Y,Character in Unicode categories: Lu | Ll | Lt | Lm | Lo,M,1,All,Char -> Bool,,Prelude;primIsAlpha
ISALN_C,Y,Character in Unicode categories: Lu through No,M,1,All,Char -> Bool,,Prelude;primIsAlphaNum
ISPRT_C,Y,Character in Unicode catrgories: Lu through Zs,M,1,All,Char -> Bool,,Prelude;isPrint
TOUPR_C,Y,Change character case to upper,M,1,All,Char -> Char,,Prelude;toUpper
TOLOW_C,Y,Change character case to lower,M,1,All,Char -> Char,,Prelude;toLower
TOTIT_C,Y,Change character case to title,TOUPR_C,1,All,Char -> Char,,Hugs.Char;toTitle
UCAT_C,Y,Character Unicode category,M,1,All,Char -> Int,,Hugs.Char;primUniGenCat
,,Math/Floating point Primitives
SIN_F,Y,Sine of a float,M,1,All,Float -> Float,,Prelude;primSinFloat
COS_F,Y,Cosine of a float,M,1,All,Float -> Float,,Prelude;primCosFloat
TAN_F,Y,Tangent of a float,M,1,All,Float -> Float,,Prelude;primTanFloat
ASIN_F,Y,Arcsine of a float,M,1,All,Float -> Float,,Prelude;primAsinFloat
ACOS_F,Y,Arccos. of a float,M,1,All,Float -> Float,,Prelude;primAcosFloat
ATAN_F,Y,Arctan. of a float,M,1,All,Float -> Float,,Prelude;primAtanFloat
EXP_F,Y,Exponent of a float,M,1,All,Float -> Float,,Prelude;primExpFloat
LOG_F,Y,Nat. logarithm of a float,M,1,All,Float -> Float,,Prelude;primLogFloat
SQRT_F,Y,Square root of a float,M,1,All,Float -> Float,,Prelude;primSqrtFloat
SIN_D,Y,Sine of a double,M,1,All,Double -> Double,,Prelude;primSinDouble
COS_D,Y,Cosine of a double,M,1,All,Double -> Double,,Prelude;primCosDouble
TAN_D,Y,Tangent of a double,M,1,All,Double -> Double,,Prelude;primTanDouble
ASIN_D,Y,Arcsine of a double,M,1,All,Double -> Double,,Prelude;primAsinDouble
ACOS_D,Y,Arccos. of a double,M,1,All,Double -> Double,,Prelude;primAcosDouble
ATAN_D,Y,Arctan. of a double,M,1,All,Double -> Double,,Prelude;primAtanDouble
EXP_D,Y,Exponent of a double,M,1,All,Double -> Double,,Prelude;primExpDouble
LOG_D,Y,Nat. logarithm of a double,M,1,All,Double -> Double,,Prelude;primLogDouble
SQRT_D,Y,Square root of a double,M,1,All,Double -> Double,,Prelude;primSqrtDouble
RADIX_F,Y,Constant 2,M,0,,Int,,"Prelude;primFloatRadix, Prelude;primDoubleRadix"
DIGITS_F,Y,Significant digits in a float,M,0,,Int,,Prelude;primFloatDigits
MINEXP_F,Y,Minimal exponent of a float,M,0,,Int,,Prelude;primFloatMinExp
MAXEXP_F,Y,Maximal exponent of a float,M,0,,Int,,Prelude;primFloatMaxExp
ENC_F,Y,Encode a float from significand and exponent,M,2,All,Integer -> Int -> Float,,Prelude;primFloatEncode
DEC_F,Y,Decode a float into significand and exponent,M,1,All,"Float -> (Integer, Int)",,Prelude;primFloatDecode
DIGITS_D,Y,Significant digits in a double,M,0,,Int,,Prelude;primDoubleDigits
MINEXP_D,Y,Minimal exponent of a double,M,0,,Int,,Prelude;primDoubleMinExp
MAXEXP_D,Y,Maximal exponent of a double,M,0,,Int,,Prelude;primDoubleMaxExp
ENC_D,Y,Encode a double from significand and exponent,M,2,All,Integer -> Int -> Double,,Prelude;primDoubleEncode
DEC_D,Y,Decode a double into significand and exponent,M,1,All,"Double -> (Integer, Int)",,Prelude;primDoubleDecode