File: OctetPredicates.hs

package info (click to toggle)
haskell-scanner 0.3.1-4
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 168 kB
  • sloc: haskell: 810; makefile: 5
file content (9 lines) | stat: -rw-r--r-- 121 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
module Scanner.OctetPredicates
where

import Prelude
import Data.Word


isDigit :: Word8 -> Bool
isDigit w = w - 48 <= 9