rattletrap 0.4.0 → 0.4.1
raw patch · 2 files changed
+3/−2 lines, 2 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
+ Rattletrap.Attribute: [attribute_name] :: Attribute -> Text
- Rattletrap.Attribute: Attribute :: CompressedWord -> AttributeValue -> Attribute
+ Rattletrap.Attribute: Attribute :: CompressedWord -> Text -> AttributeValue -> Attribute
Files
- library/Rattletrap/Attribute.hs +2/−1
- rattletrap.cabal +1/−1
library/Rattletrap/Attribute.hs view
@@ -10,6 +10,7 @@ data Attribute = Attribute { attributeId :: CompressedWord+ , attribute_name :: Text , attributeValue :: AttributeValue } deriving (Eq, Ord, Show) @@ -52,7 +53,7 @@ Nothing -> fail ("could not get attribute name for " ++ show id_) Just name -> do value <- getAttributeValue version name- pure (Attribute id_ value)+ pure (Attribute id_ name value) putAttribute :: Attribute -> BinaryBit.BitPut () putAttribute attribute = do
rattletrap.cabal view
@@ -3,7 +3,7 @@ -- see: https://github.com/sol/hpack name: rattletrap-version: 0.4.0+version: 0.4.1 synopsis: Parse and generate Rocket League replays. description: Rattletrap parses and generates Rocket League replays. category: Game