Skip to content

Commit

Permalink
Prepare 0.3.11.1 release.
Browse files Browse the repository at this point in the history
Minor code cleanup.
Updated changelog.
  • Loading branch information
brianjosephmckeon committed Feb 28, 2024
1 parent cbe865b commit 8851db1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Revision history for bytesmith

## 0.3.11.1 -- 2024-02-13
## 0.3.11.1 -- 2024-02-28

* Update package metadata.
* Remove dependency on `run-st` library.

## 0.3.11.0 -- 2024-01-05

Expand Down
2 changes: 1 addition & 1 deletion bytesmith.cabal
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cabal-version: 2.2
cabal-version: 3.0
name: bytesmith
version: 0.3.11.1
synopsis: Nonresumable byte parser
Expand Down
6 changes: 3 additions & 3 deletions sample/TakeLetter.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# language MagicHash #-}
{-# LANGUAGE MagicHash #-}

-- Build with:
-- ghc -fforce-recomp -O2 -ddump-simpl -dsuppress-all -ddump-to-file sample/TakeLetter.hs
Expand All @@ -8,10 +8,10 @@ module TakeLetter
) where

import Data.Bytes.Parser (Parser)
import Data.Text.Short (ShortText)
import Data.Bytes.Parser.Ascii (takeShortWhile)
import Data.Text.Short (ShortText)
import GHC.Exts

takeLetter :: Parser e s ShortText
{-# noinline takeLetter #-}
{-# NOINLINE takeLetter #-}
takeLetter = takeShortWhile (== 'A')

0 comments on commit 8851db1

Please sign in to comment.