From db9f7410a4b1024528f1c72f5dccc58187579a47 Mon Sep 17 00:00:00 2001 From: Arnaud Bailly Date: Wed, 19 Nov 2025 11:08:40 +0100 Subject: added stateful PBT kata from SW Crafters Nantes --- pbt/stateful-pbt/stateful-pbt.cabal | 77 +++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 pbt/stateful-pbt/stateful-pbt.cabal (limited to 'pbt/stateful-pbt/stateful-pbt.cabal') diff --git a/pbt/stateful-pbt/stateful-pbt.cabal b/pbt/stateful-pbt/stateful-pbt.cabal new file mode 100644 index 0000000..6af9056 --- /dev/null +++ b/pbt/stateful-pbt/stateful-pbt.cabal @@ -0,0 +1,77 @@ +cabal-version: 1.12 + +-- This file has been generated from package.yaml by hpack version 0.35.1. +-- +-- see: https://github.com/sol/hpack + +name: stateful-pbt +version: 0.1.0.0 +description: Please see the README on Github at +homepage: https://github.com/abailly/minilang#readme +bug-reports: https://github.com/abailly/minilang/issues +author: Arnaud Bailly +maintainer: arnaud@pankzsoft.com +copyright: 2025 Arnaud Bailly +license: BSD3 +license-file: LICENSE +build-type: Simple +extra-source-files: + README.md + ChangeLog.md + +source-repository head + type: git + location: https://github.com/abailly/minilang + +library + exposed-modules: + hs-source-dirs: + src + default-extensions: + DeriveGeneric + OverloadedStrings + FlexibleInstances + MultiParamTypeClasses + FlexibleContexts + RecordWildCards + NamedFieldPuns + GeneralizedNewtypeDeriving + ghc-options: -Wall -fno-warn-orphans + build-depends: + aeson + , async + , base + default-language: Haskell2010 + +test-suite minilang-test + type: exitcode-stdio-1.0 + main-is: Spec.hs + other-modules: + Exalt.APISpec + hs-source-dirs: + test + default-extensions: + DeriveGeneric + OverloadedStrings + FlexibleInstances + MultiParamTypeClasses + FlexibleContexts + RecordWildCards + NamedFieldPuns + GeneralizedNewtypeDeriving + ghc-options: -Wall -fno-warn-orphans -threaded -rtsopts -with-rtsopts=-N + build-tool-depends: + hspec-discover:hspec-discover + build-depends: + QuickCheck + , base + , base16-bytestring + , bytestring + , containers + , data-default + , directory + , exceptions + , filepath + , haskeline + , hspec + default-language: Haskell2010 -- cgit v1.3.1