File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Revision history for bytesmith
22
3- ## 0.3.11.1 -- 2024-02-13
3+ ## 0.3.11.1 -- 2024-02-28
44
55* Update package metadata.
6+ * Remove dependency on ` run-st ` library.
67
78## 0.3.11.0 -- 2024-01-05
89
Original file line number Diff line number Diff line change 1- cabal-version : 2.2
1+ cabal-version : 3.0
22name : bytesmith
33version : 0.3.11.1
44synopsis : Nonresumable byte parser
Original file line number Diff line number Diff line change 1- {-# language MagicHash #-}
1+ {-# LANGUAGE MagicHash #-}
22
33-- Build with:
4+ -- cabal build --write-ghc-environment-files=always
45-- ghc -fforce-recomp -O2 -ddump-simpl -dsuppress-all -ddump-to-file sample/TakeLetter.hs
56-- to examine GHC optimizations.
67module TakeLetter
78 ( takeLetter
89 ) where
910
1011import Data.Bytes.Parser (Parser )
11- import Data.Text.Short (ShortText )
1212import Data.Bytes.Parser.Ascii (takeShortWhile )
13+ import Data.Text.Short (ShortText )
1314import GHC.Exts
1415
1516takeLetter :: Parser e s ShortText
16- {-# noinline takeLetter #-}
17+ {-# NOINLINE takeLetter #-}
1718takeLetter = takeShortWhile (== ' A' )
You can’t perform that action at this time.
0 commit comments