diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8e9a92f..3fb5604 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,11 +17,12 @@ jobs: strategy: matrix: include: - - { cabal: "3.12", os: ubuntu-latest, ghc: "9.2.8" } - - { cabal: "3.12", os: ubuntu-latest, ghc: "9.4.8" } - - { cabal: "3.12", os: ubuntu-latest, ghc: "9.6.6" } - - { cabal: "3.12", os: ubuntu-latest, ghc: "9.8.2" } - - { cabal: "3.12", os: ubuntu-latest, ghc: "9.10.1" } + - { cabal: "3.14", os: ubuntu-latest, ghc: "9.2.8" } + - { cabal: "3.14", os: ubuntu-latest, ghc: "9.4.8" } + - { cabal: "3.14", os: ubuntu-latest, ghc: "9.6.6" } + - { cabal: "3.14", os: ubuntu-latest, ghc: "9.8.4" } + - { cabal: "3.14", os: ubuntu-latest, ghc: "9.10.2" } + - { cabal: "3.14", os: ubuntu-latest, ghc: "9.12.2" } fail-fast: false steps: # ---------------- @@ -38,7 +39,7 @@ jobs: name: Cache ~/.cabal/store with: path: ${{ steps.setup-haskell-cabal.outputs.cabal-store }} - key: ${{ runner.os }}-${{ matrix.ghc }}--${{ github.Shah }} + key: ${{ runner.os }}-${{ matrix.ghc }}-- # ---------------- - name: Versions run: | diff --git a/ChangeLog.md b/ChangeLog.md index 9f542c3..5267477 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,3 +1,7 @@ +0.2.0.1 [XXX] +---------------- +* Documentation fixes + 0.2 [2025.05.04] ---------------- * `FromPy`/`ToPy` instances added for: `Complex`, both strict and lazy `Text` & diff --git a/inline-python.cabal b/inline-python.cabal index c3f6148..4578c4e 100644 --- a/inline-python.cabal +++ b/inline-python.cabal @@ -2,7 +2,7 @@ Cabal-Version: 3.0 Build-Type: Simple Name: inline-python -Version: 0.2 +Version: 0.2.0.1 Synopsis: Python interpreter embedded into haskell. Description: This package embeds python interpreter into haskell program and @@ -23,6 +23,14 @@ extra-source-files: include/inline-python.h py/bound-vars.py +Tested-With: + GHC == 9.2.8 + GHC == 9.4.8 + GHC == 9.6.7 + GHC == 9.8.4 + GHC == 9.10.2 + GHC == 9.12.2 + source-repository head type: git location: http://github.com/Shimuuar/inline-python diff --git a/src/Python/Inline.hs b/src/Python/Inline.hs index 735242c..82624bf 100644 --- a/src/Python/Inline.hs +++ b/src/Python/Inline.hs @@ -2,6 +2,7 @@ -- python code in haskell programs. Take for example following program: -- -- > {-# LANGUAGE QuasiQuotes #-} +-- > import Control.Monad -- > import Python.Inline -- > import Python.Inline.QQ -- > @@ -10,7 +11,7 @@ -- > let input = [1..10] :: [Int] -- > let square :: Int -> Py Int -- > square x = pure (x * x) --- > print =<< runPy $ do +-- > print <=< runPy $ do -- > fromPy' @[Int] =<< [pye| [ square_hs(x) for x in input_hs ] |] -- -- Quasiquotation 'Python.Inline.QQ.pye' captures variables @input@