diff options
author | Alex Biehl <alexbiehl@gmail.com> | 2017-07-03 19:43:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-03 19:43:04 +0200 |
commit | a330da5297106ff214cbb5e74965d9d1ef9dab7b (patch) | |
tree | 91a27b0a2de35d4082a7c9c2fc23e950bed05c82 /html-test/src/DuplicateRecordFields.hs | |
parent | 901b327f46dc4bd70cd310ae2c6339aa9ce572bb (diff) |
Document record fields when DuplicateRecordFields is enabled (#649)
Diffstat (limited to 'html-test/src/DuplicateRecordFields.hs')
-rw-r--r-- | html-test/src/DuplicateRecordFields.hs | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/html-test/src/DuplicateRecordFields.hs b/html-test/src/DuplicateRecordFields.hs new file mode 100644 index 00000000..2cf9ff43 --- /dev/null +++ b/html-test/src/DuplicateRecordFields.hs @@ -0,0 +1,25 @@ +{-# LANGUAGE DuplicateRecordFields #-} +module DuplicateRecordFields (RawReplay(..)) where + +import Prelude hiding (Int) + +data Int = Int + +data RawReplay = RawReplay + { headerSize :: Int + -- ^ The byte size of the first section. + , headerCRC :: Int + -- ^ The CRC of the first section. + , header :: Int + -- ^ The first section. + , contentSize :: Int + -- ^ The byte size of the second section. + , contentCRC :: Int + -- ^ The CRC of the second section. + , content :: Int + -- ^ The second section. + , footer :: Int + -- ^ Arbitrary data after the second section. In replays generated by + -- Rocket League, this is always empty. However it is not technically + -- invalid to put something here. + }
\ No newline at end of file |