binrep-0.3.1: Encode precise binary representations directly in types
Safe HaskellSafe-Inferred
LanguageHaskell2010

Binrep.Type.Byte

Description

Safe, if silly, byte representation for use at the type level.

Word8 is a special type that GHC doesn't (and I think can't) promote to the type level. We only have Naturals, which are unbounded. So we define a safe, promotable representation, to allow us to prove well-sizedness at compile time. Then we provide a bunch of type families and reifying typeclasses to enable going between "similar" kinds (Natural) and types (Word8, ByteString) respectively.

Type-level functionality is stored in TypeLevel because the definitions are even sillier than the ones here.

Do not use this on the term level. That would be _extremely_ silly.

Synopsis

Documentation

class ByteVal (n :: Natural) where Source #

Methods

byteVal :: Proxy# n -> Word8# Source #

Instances

Instances details
ByteVal 0 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 0 -> Word8# Source #

ByteVal 1 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 1 -> Word8# Source #

ByteVal 2 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 2 -> Word8# Source #

ByteVal 3 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 3 -> Word8# Source #

ByteVal 4 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 4 -> Word8# Source #

ByteVal 5 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 5 -> Word8# Source #

ByteVal 6 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 6 -> Word8# Source #

ByteVal 7 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 7 -> Word8# Source #

ByteVal 8 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 8 -> Word8# Source #

ByteVal 9 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 9 -> Word8# Source #

ByteVal 10 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 10 -> Word8# Source #

ByteVal 11 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 11 -> Word8# Source #

ByteVal 12 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 12 -> Word8# Source #

ByteVal 13 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 13 -> Word8# Source #

ByteVal 14 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 14 -> Word8# Source #

ByteVal 15 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 15 -> Word8# Source #

ByteVal 16 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 16 -> Word8# Source #

ByteVal 17 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 17 -> Word8# Source #

ByteVal 18 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 18 -> Word8# Source #

ByteVal 19 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 19 -> Word8# Source #

ByteVal 20 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 20 -> Word8# Source #

ByteVal 21 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 21 -> Word8# Source #

ByteVal 22 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 22 -> Word8# Source #

ByteVal 23 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 23 -> Word8# Source #

ByteVal 24 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 24 -> Word8# Source #

ByteVal 25 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 25 -> Word8# Source #

ByteVal 26 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 26 -> Word8# Source #

ByteVal 27 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 27 -> Word8# Source #

ByteVal 28 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 28 -> Word8# Source #

ByteVal 29 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 29 -> Word8# Source #

ByteVal 30 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 30 -> Word8# Source #

ByteVal 31 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 31 -> Word8# Source #

ByteVal 32 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 32 -> Word8# Source #

ByteVal 33 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 33 -> Word8# Source #

ByteVal 34 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 34 -> Word8# Source #

ByteVal 35 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 35 -> Word8# Source #

ByteVal 36 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 36 -> Word8# Source #

ByteVal 37 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 37 -> Word8# Source #

ByteVal 38 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 38 -> Word8# Source #

ByteVal 39 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 39 -> Word8# Source #

ByteVal 40 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 40 -> Word8# Source #

ByteVal 41 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 41 -> Word8# Source #

ByteVal 42 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 42 -> Word8# Source #

ByteVal 43 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 43 -> Word8# Source #

ByteVal 44 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 44 -> Word8# Source #

ByteVal 45 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 45 -> Word8# Source #

ByteVal 46 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 46 -> Word8# Source #

ByteVal 47 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 47 -> Word8# Source #

ByteVal 48 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 48 -> Word8# Source #

ByteVal 49 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 49 -> Word8# Source #

ByteVal 50 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 50 -> Word8# Source #

ByteVal 51 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 51 -> Word8# Source #

ByteVal 52 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 52 -> Word8# Source #

ByteVal 53 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 53 -> Word8# Source #

ByteVal 54 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 54 -> Word8# Source #

ByteVal 55 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 55 -> Word8# Source #

ByteVal 56 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 56 -> Word8# Source #

ByteVal 57 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 57 -> Word8# Source #

ByteVal 58 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 58 -> Word8# Source #

ByteVal 59 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 59 -> Word8# Source #

ByteVal 60 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 60 -> Word8# Source #

ByteVal 61 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 61 -> Word8# Source #

ByteVal 62 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 62 -> Word8# Source #

ByteVal 63 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 63 -> Word8# Source #

ByteVal 64 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 64 -> Word8# Source #

ByteVal 65 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 65 -> Word8# Source #

ByteVal 66 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 66 -> Word8# Source #

ByteVal 67 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 67 -> Word8# Source #

ByteVal 68 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 68 -> Word8# Source #

ByteVal 69 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 69 -> Word8# Source #

ByteVal 70 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 70 -> Word8# Source #

ByteVal 71 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 71 -> Word8# Source #

ByteVal 72 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 72 -> Word8# Source #

ByteVal 73 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 73 -> Word8# Source #

ByteVal 74 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 74 -> Word8# Source #

ByteVal 75 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 75 -> Word8# Source #

ByteVal 76 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 76 -> Word8# Source #

ByteVal 77 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 77 -> Word8# Source #

ByteVal 78 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 78 -> Word8# Source #

ByteVal 79 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 79 -> Word8# Source #

ByteVal 80 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 80 -> Word8# Source #

ByteVal 81 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 81 -> Word8# Source #

ByteVal 82 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 82 -> Word8# Source #

ByteVal 83 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 83 -> Word8# Source #

ByteVal 84 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 84 -> Word8# Source #

ByteVal 85 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 85 -> Word8# Source #

ByteVal 86 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 86 -> Word8# Source #

ByteVal 87 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 87 -> Word8# Source #

ByteVal 88 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 88 -> Word8# Source #

ByteVal 89 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 89 -> Word8# Source #

ByteVal 90 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 90 -> Word8# Source #

ByteVal 91 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 91 -> Word8# Source #

ByteVal 92 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 92 -> Word8# Source #

ByteVal 93 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 93 -> Word8# Source #

ByteVal 94 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 94 -> Word8# Source #

ByteVal 95 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 95 -> Word8# Source #

ByteVal 96 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 96 -> Word8# Source #

ByteVal 97 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 97 -> Word8# Source #

ByteVal 98 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 98 -> Word8# Source #

ByteVal 99 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 99 -> Word8# Source #

ByteVal 100 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 100 -> Word8# Source #

ByteVal 101 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 101 -> Word8# Source #

ByteVal 102 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 102 -> Word8# Source #

ByteVal 103 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 103 -> Word8# Source #

ByteVal 104 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 104 -> Word8# Source #

ByteVal 105 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 105 -> Word8# Source #

ByteVal 106 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 106 -> Word8# Source #

ByteVal 107 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 107 -> Word8# Source #

ByteVal 108 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 108 -> Word8# Source #

ByteVal 109 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 109 -> Word8# Source #

ByteVal 110 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 110 -> Word8# Source #

ByteVal 111 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 111 -> Word8# Source #

ByteVal 112 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 112 -> Word8# Source #

ByteVal 113 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 113 -> Word8# Source #

ByteVal 114 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 114 -> Word8# Source #

ByteVal 115 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 115 -> Word8# Source #

ByteVal 116 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 116 -> Word8# Source #

ByteVal 117 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 117 -> Word8# Source #

ByteVal 118 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 118 -> Word8# Source #

ByteVal 119 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 119 -> Word8# Source #

ByteVal 120 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 120 -> Word8# Source #

ByteVal 121 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 121 -> Word8# Source #

ByteVal 122 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 122 -> Word8# Source #

ByteVal 123 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 123 -> Word8# Source #

ByteVal 124 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 124 -> Word8# Source #

ByteVal 125 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 125 -> Word8# Source #

ByteVal 126 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 126 -> Word8# Source #

ByteVal 127 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 127 -> Word8# Source #

ByteVal 128 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 128 -> Word8# Source #

ByteVal 129 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 129 -> Word8# Source #

ByteVal 130 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 130 -> Word8# Source #

ByteVal 131 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 131 -> Word8# Source #

ByteVal 132 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 132 -> Word8# Source #

ByteVal 133 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 133 -> Word8# Source #

ByteVal 134 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 134 -> Word8# Source #

ByteVal 135 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 135 -> Word8# Source #

ByteVal 136 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 136 -> Word8# Source #

ByteVal 137 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 137 -> Word8# Source #

ByteVal 138 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 138 -> Word8# Source #

ByteVal 139 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 139 -> Word8# Source #

ByteVal 140 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 140 -> Word8# Source #

ByteVal 141 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 141 -> Word8# Source #

ByteVal 142 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 142 -> Word8# Source #

ByteVal 143 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 143 -> Word8# Source #

ByteVal 144 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 144 -> Word8# Source #

ByteVal 145 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 145 -> Word8# Source #

ByteVal 146 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 146 -> Word8# Source #

ByteVal 147 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 147 -> Word8# Source #

ByteVal 148 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 148 -> Word8# Source #

ByteVal 149 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 149 -> Word8# Source #

ByteVal 150 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 150 -> Word8# Source #

ByteVal 151 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 151 -> Word8# Source #

ByteVal 152 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 152 -> Word8# Source #

ByteVal 153 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 153 -> Word8# Source #

ByteVal 154 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 154 -> Word8# Source #

ByteVal 155 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 155 -> Word8# Source #

ByteVal 156 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 156 -> Word8# Source #

ByteVal 157 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 157 -> Word8# Source #

ByteVal 158 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 158 -> Word8# Source #

ByteVal 159 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 159 -> Word8# Source #

ByteVal 160 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 160 -> Word8# Source #

ByteVal 161 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 161 -> Word8# Source #

ByteVal 162 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 162 -> Word8# Source #

ByteVal 163 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 163 -> Word8# Source #

ByteVal 164 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 164 -> Word8# Source #

ByteVal 165 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 165 -> Word8# Source #

ByteVal 166 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 166 -> Word8# Source #

ByteVal 167 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 167 -> Word8# Source #

ByteVal 168 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 168 -> Word8# Source #

ByteVal 169 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 169 -> Word8# Source #

ByteVal 170 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 170 -> Word8# Source #

ByteVal 171 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 171 -> Word8# Source #

ByteVal 172 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 172 -> Word8# Source #

ByteVal 173 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 173 -> Word8# Source #

ByteVal 174 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 174 -> Word8# Source #

ByteVal 175 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 175 -> Word8# Source #

ByteVal 176 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 176 -> Word8# Source #

ByteVal 177 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 177 -> Word8# Source #

ByteVal 178 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 178 -> Word8# Source #

ByteVal 179 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 179 -> Word8# Source #

ByteVal 180 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 180 -> Word8# Source #

ByteVal 181 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 181 -> Word8# Source #

ByteVal 182 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 182 -> Word8# Source #

ByteVal 183 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 183 -> Word8# Source #

ByteVal 184 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 184 -> Word8# Source #

ByteVal 185 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 185 -> Word8# Source #

ByteVal 186 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 186 -> Word8# Source #

ByteVal 187 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 187 -> Word8# Source #

ByteVal 188 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 188 -> Word8# Source #

ByteVal 189 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 189 -> Word8# Source #

ByteVal 190 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 190 -> Word8# Source #

ByteVal 191 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 191 -> Word8# Source #

ByteVal 192 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 192 -> Word8# Source #

ByteVal 193 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 193 -> Word8# Source #

ByteVal 194 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 194 -> Word8# Source #

ByteVal 195 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 195 -> Word8# Source #

ByteVal 196 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 196 -> Word8# Source #

ByteVal 197 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 197 -> Word8# Source #

ByteVal 198 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 198 -> Word8# Source #

ByteVal 199 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 199 -> Word8# Source #

ByteVal 200 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 200 -> Word8# Source #

ByteVal 201 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 201 -> Word8# Source #

ByteVal 202 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 202 -> Word8# Source #

ByteVal 203 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 203 -> Word8# Source #

ByteVal 204 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 204 -> Word8# Source #

ByteVal 205 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 205 -> Word8# Source #

ByteVal 206 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 206 -> Word8# Source #

ByteVal 207 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 207 -> Word8# Source #

ByteVal 208 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 208 -> Word8# Source #

ByteVal 209 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 209 -> Word8# Source #

ByteVal 210 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 210 -> Word8# Source #

ByteVal 211 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 211 -> Word8# Source #

ByteVal 212 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 212 -> Word8# Source #

ByteVal 213 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 213 -> Word8# Source #

ByteVal 214 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 214 -> Word8# Source #

ByteVal 215 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 215 -> Word8# Source #

ByteVal 216 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 216 -> Word8# Source #

ByteVal 217 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 217 -> Word8# Source #

ByteVal 218 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 218 -> Word8# Source #

ByteVal 219 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 219 -> Word8# Source #

ByteVal 220 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 220 -> Word8# Source #

ByteVal 221 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 221 -> Word8# Source #

ByteVal 222 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 222 -> Word8# Source #

ByteVal 223 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 223 -> Word8# Source #

ByteVal 224 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 224 -> Word8# Source #

ByteVal 225 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 225 -> Word8# Source #

ByteVal 226 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 226 -> Word8# Source #

ByteVal 227 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 227 -> Word8# Source #

ByteVal 228 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 228 -> Word8# Source #

ByteVal 229 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 229 -> Word8# Source #

ByteVal 230 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 230 -> Word8# Source #

ByteVal 231 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 231 -> Word8# Source #

ByteVal 232 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 232 -> Word8# Source #

ByteVal 233 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 233 -> Word8# Source #

ByteVal 234 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 234 -> Word8# Source #

ByteVal 235 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 235 -> Word8# Source #

ByteVal 236 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 236 -> Word8# Source #

ByteVal 237 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 237 -> Word8# Source #

ByteVal 238 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 238 -> Word8# Source #

ByteVal 239 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 239 -> Word8# Source #

ByteVal 240 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 240 -> Word8# Source #

ByteVal 241 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 241 -> Word8# Source #

ByteVal 242 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 242 -> Word8# Source #

ByteVal 243 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 243 -> Word8# Source #

ByteVal 244 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 244 -> Word8# Source #

ByteVal 245 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 245 -> Word8# Source #

ByteVal 246 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 246 -> Word8# Source #

ByteVal 247 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 247 -> Word8# Source #

ByteVal 248 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 248 -> Word8# Source #

ByteVal 249 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 249 -> Word8# Source #

ByteVal 250 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 250 -> Word8# Source #

ByteVal 251 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 251 -> Word8# Source #

ByteVal 252 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 252 -> Word8# Source #

ByteVal 253 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 253 -> Word8# Source #

ByteVal 254 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 254 -> Word8# Source #

ByteVal 255 Source # 
Instance details

Defined in Binrep.Type.Byte

Methods

byteVal :: Proxy# 255 -> Word8# Source #

type family Length (a :: [k]) :: Natural where ... Source #

Equations

Length '[] = 0 
Length (a ': as) = 1 + Length as 

class ReifyBytes (ns :: [Natural]) where Source #

Efficiently reify a list of type-level Natural bytes to to a bytestring builder.

Attempting to reify a Natural larger than 255 results in a type error.

This is about as far as one should go for pointless performance here, I should think.

Instances

Instances details
(n ~ Length ns, KnownNat n, WriteReifiedBytes ns) => ReifyBytes ns Source # 
Instance details

Defined in Binrep.Type.Byte

class WriteReifiedBytes (ns :: [Natural]) where Source #

Instances

Instances details
WriteReifiedBytes ('[] :: [Natural]) Source # 
Instance details

Defined in Binrep.Type.Byte

(ByteVal n, WriteReifiedBytes ns) => WriteReifiedBytes (n ': ns) Source # 
Instance details

Defined in Binrep.Type.Byte