File: Types.hs

package info (click to toggle)
haskell-type-level-numbers 0.1.1.2-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 132 kB
  • sloc: haskell: 663; makefile: 3
file content (12 lines) | stat: -rw-r--r-- 271 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
{-# LANGUAGE EmptyDataDecls #-}
module TypeLevel.Number.Nat.Types ( I
                                  , O
                                  , Z
                                  ) where

-- | One bit.
data I n
-- | Zero bit.
data O n
-- | Bit stream terminator.
data Z