libasterix 0.14.0 → 0.15.1
raw patch · 3 files changed
+20/−4 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Asterix.Base: aligned :: Offset -> Int -> Bool
+ Asterix.Base: class HListAppend (l1 :: [Type]) (l2 :: [Type]) where {
+ Asterix.Base: class HListSplit (ix :: [Type]) (ts :: [Type]) where {
+ Asterix.Base: data Fspec
+ Asterix.Base: eof :: forall (pm :: ParsingMode) a b c d e f. ParsingM pm a b c d e f Bool
+ Asterix.Base: evalGz :: VZ -> Integer
+ Asterix.Base: hListAppend :: HListAppend l1 l2 => HList l1 -> HList l2 -> HList (HListAppendR l1 l2)
+ Asterix.Base: hListSplit :: HListSplit ix ts => Proxy ix -> HList ts -> (HList (HListSplitL ix ts), HList (HListSplitR ix ts))
+ Asterix.Base: moveOffset :: forall (pm :: ParsingMode) a b c d e f. Size -> ParsingM pm a b c d e f ()
+ Asterix.Base: parseBits :: forall (pm :: ParsingMode) a b c d e f. Int -> Size -> ParsingM pm a b c d e f Bits
+ Asterix.Base: parseBytes :: forall (pm :: ParsingMode) a b c d e f. Int -> ParsingM pm a b c d e f ByteString
+ Asterix.Base: parseFspec :: forall (pm :: ParsingMode) a b c d e f. ParsingMode -> Int -> ParsingM pm a b c d e f Fspec
+ Asterix.Base: parseFx :: forall (pm :: ParsingMode) a b c d e f. ParsingM pm a b c d e f Bool
+ Asterix.Base: parseItem :: forall (pm :: ParsingMode) a b c item e f. VItem -> ParsingM pm a b c item e f item
+ Asterix.Base: parseRuleVariation :: forall (pm :: ParsingMode) a rv c d e f. VRule VVariation -> ParsingM pm a rv c d e f rv
+ Asterix.Base: parseWord8 :: forall (pm :: ParsingMode) a b c d e f. ParsingM pm a b c d e f Word8
+ Asterix.Base: parsingError :: forall (pm :: ParsingMode) a b c d e f r. ParsingError -> ParsingM pm a b c d e f r
+ Asterix.Base: recreateFspec :: [Bool] -> Bits
+ Asterix.Base: type HListAppendR (l1 :: [Type]) (l2 :: [Type]) :: [Type];
+ Asterix.Base: type HListSplitL (ix :: [Type]) (ts :: [Type]) :: [Type];
+ Asterix.Base: type HListSplitR (ix :: [Type]) (ts :: [Type]) :: [Type];
+ Asterix.Base: }
Files
- libasterix.cabal +1/−1
- src/Asterix/Base.hs +16/−0
- src/Asterix/Generated.hs +3/−3
libasterix.cabal view
@@ -1,6 +1,6 @@ cabal-version: 3.0 name: libasterix-version: 0.14.0+version: 0.15.1 synopsis: Asterix data processing library description: This library provides features to process asterix data format, including
src/Asterix/Base.hs view
@@ -30,6 +30,7 @@ -- * Basic asterix building blocks , ItemName+, Fspec , FRN , RecordItem(..) @@ -41,9 +42,18 @@ , ParsingMode(..) , Env(..) , runParsing+, parsingError+, aligned+, parseBits+, parseWord8+, parseBytes+, parseFx+, parseFspec , parseVariation+, parseRuleVariation , parseExpansion , parseNonSpare+, parseItem , parseRecord , parseRecords , parseRecordsTry@@ -53,6 +63,7 @@ , unparseToNum -- * Asterix related support types and functions+, recreateFspec , recreateExtended , mkFspecFx , mkFspecFixed@@ -61,7 +72,10 @@ , bitsToDouble , asUint , endOffset+, moveOffset+, eof , bitsPerChar+, evalGz , evalNum -- * Other support types and functions@@ -78,6 +92,8 @@ , hlTail , nil , (*:)+, HListSplit(..)+, HListAppend(..) , FoldHList(..) ) where
src/Asterix/Generated.hs view
@@ -14,13 +14,13 @@ import Asterix.Schema asterixSpecsRef :: String-asterixSpecsRef = "git:c2b3d676a3359c319f672c974553cff7a79f0cae"+asterixSpecsRef = "git:d53554a651aad4dfca0f088e412852681b3a4f24" asterixSpecsDate :: String-asterixSpecsDate = "2026-06-29T10:02:11+02:00"+asterixSpecsDate = "2026-07-09T12:52:55+02:00" codeGeneratorVersion :: String-codeGeneratorVersion = "0.13.0"+codeGeneratorVersion = "0.13.1" -- Asterix types