Safe Haskell | None |
---|---|
Language | Haskell2010 |
UPattern matching on literals for refactorings.
- pattern CharLit :: forall dom. Char -> Literal dom
- pattern StringLit :: forall dom. String -> Literal dom
- pattern IntLit :: forall dom. Integer -> Literal dom
- pattern FracLit :: forall dom. Rational -> Literal dom
- pattern PrimIntLit :: forall dom. Integer -> Literal dom
- pattern PrimWordLit :: forall dom. Integer -> Literal dom
- pattern PrimFloatLit :: forall dom. Rational -> Literal dom
- pattern PrimDoubleLit :: forall dom. Rational -> Literal dom
- pattern PrimCharLit :: forall dom. Char -> Literal dom
- pattern PrimStringLit :: forall dom. String -> Literal dom
Documentation
pattern PrimIntLit :: forall dom. Integer -> Literal dom Source #
Primitive integer literal (of type Int#
): 32#
pattern PrimWordLit :: forall dom. Integer -> Literal dom Source #
Primitive word literal (of type Word#
): 32##
pattern PrimFloatLit :: forall dom. Rational -> Literal dom Source #
Primitive float literal (of type Float#
): 3.14#
pattern PrimDoubleLit :: forall dom. Rational -> Literal dom Source #
Primitive double literal (of type Double#
): 3.14##
pattern PrimCharLit :: forall dom. Char -> Literal dom Source #
Primitive character literal (of type Char#
): c
#
pattern PrimStringLit :: forall dom. String -> Literal dom Source #
Primitive string literal (of type Addr#
): "xxx"#