hex is:module

Convert strings into hexadecimal and back.
This module contains ByteString-valued combinators for implementing the RFC 4648 specification of the Base32hex encoding format. This includes padded and unpadded decoding variants, as well as internal and external validation for canonicity.
This module contains ByteString-valued combinators for implementing the RFC 4648 specification of the Base32hex encoding format. This includes strictly padded/unpadded decoding variants, as well as internal and external validation for canonicity.
This module contains ShortByteString-valued combinators for implementing the RFC 4648 specification of the Base32hex encoding format. This includes strictly padded/unpadded and decoding variants, as well as internal and external validation for canonicity.
This module contains Text-valued combinators for implementing the RFC 4648 specification of the Base32hex encoding format. This includes strictly padded and unpadded decoding variants, as well as internal and external validation for canonicity.
This module contains Text-valued combinators for implementing the RFC 4648 specification of the Base32hex encoding format. This includes strictly padded/unpadded decoding variants, as well as internal and external validation for canonicity.
This module contains ShortText-valued combinators implementing the RFC 4648 specification for the Base32hex encoding format. This includes strictly padded/unpadded decoding variants, and external + internal validations for canonicity.
We're given a board, with 19 hexagon cells. The cells are arranged as follows:
01  02  03
04  05  06  07
08  09  10  11  12
13  14  15  16
17  18  19
  • Each cell has a color, one of BLACK, BLUE, GREEN, or RED.
  • At each step, you get to press one of the center buttons. That is, one of 5, 6, 9, 10, 11, 14, or 15.
  • Pressing a button that is currently colored BLACK has no effect.
  • Otherwise (i.e., if the pressed button is not BLACK), then colors rotate clockwise around that button. For instance if you press 15 when it is not colored BLACK, then 11 moves to 16, 16 moves to 19, 19 moves to 18, 18 moves to 14, 14 moves to 10, and 10 moves to 11.
  • Note that by "move," we mean the colors move: We still refer to the buttons with the same number after a move.
You are given an initial board coloring, and a final one. Your goal is to find a minimal sequence of button presses that will turn the original board to the final one.
A module for fast first-approximation parsing of XML. Note that entities, e.g. &, are not expanded.
Implemented as specified in RFC 4648 (http://tools.ietf.org/html/rfc4648). This encoding is closely related to base 32 and so is its implementation, so please refer to Codec.Binary.Base32 for further details.
This module defines operations for an interactive hex-caluclator using GHCi. This is a simple and casual interactive tool like Perl and Excel for daily work. Interactive oriented features:
  • Short-named operators and functions
  • Show values in hexadecimal format by default
  • Suppress type annotation of numeric literals by type inference
  • Postfix-notation available
  • Highlight available
Example of use:
ghci> (1 .<< 16) .| 0xf .& 3
0x0000_0000_0001_0003
ghci> 0xff .@dec
"255"
See also web page.
Glyph extent values, measured in font units. Note that height is negative, in coordinate systems that grow up.
Reading/Writing hexadecimal floating-point numbers. See: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1256.pdf, pages 57-58. We slightly diverge from the standard and do not allow for the "floating-suffix," as the type inference of Haskell makes this unnecessary.