octal

octal = base 8
Parses a non-negative whole number in the octal system. The number should be prefixed with "o" or "O". Returns the value of the number.
Parse an integer in the octal representation. The format of the octal number is expected to be according to the Haskell report except for the fact that this parser doesn't parse “0o” or “0O” prefix. It is a responsibility of the programmer to parse correct prefix before parsing the number itself. For example you can make it conform to the Haskell report like this:
octal = char 48 >> char' 111 >> L.octal
Warning: this function does not perform range checks.
Parse an integer in the octal representation. The format of the octal number is expected to be according to the Haskell report except for the fact that this parser doesn't parse “0o” or “0O” prefix. It is a responsibility of the programmer to parse correct prefix before parsing the number itself. For example you can make it conform to the Haskell report like this:
octal = char '0' >> char' 'o' >> L.octal
Note: before version 6.0.0 the function returned Integer, i.e. it wasn't polymorphic in its return type. Warning: this function does not perform range checks.
Parses a non-negative whole number in the octal system. The number should be prefixed with "o" or "O". Returns the value of the number. This parser does NOT swallow trailing whitespace
Parse an integer in the octal representation. The format of the octal number is expected to be according to the Haskell report except for the fact that this parser doesn't parse “0o” or “0O” prefix. It is a responsibility of the programmer to parse correct prefix before parsing the number itself. For example you can make it conform to the Haskell report like this:
octal = char '0' >> char' 'o' >> L.octal
Note: before version 6.0.0 the function returned Integer, i.e. it wasn't polymorphic in its return type. Warning: this function does not perform range checks.
Octal representation of an integer.
>>> octal @Int32 123456
"00000361100"
>>> octal @Int32 (-123456)
"77777416700"
Recognize an octal number. Must have a prefix of the form 0o/0O.
>>> octal
(re.++ (re.union (str.to.re "0o") (str.to.re "0O")) (re.+ (re.range "0" "7")))

>>> prove $ \s -> s `match` octal .=> sAny (.== take 2 s) ["0o", "0O"]
Q.E.D.
Print a number in the octal numeral system. Negative values are prefixed with a minus sign.
parse an octal number preceded by an o or O character
parse an octal number preceded by an o or O character
The octal numeral system.
Octal digits of a non-negative integral number.
Print a number in the octal numeral system.
Print a binary number in the octal numeral system. Negative values are prefixed with a minus sign.
Print a binary number in the octal numeral system.
Literal: Octal Integer
Octal, such as 00245
Octal value is greater than "\377". Since 2.16