tvl-depot/users/Profpatsch/my-prelude/my-prelude.cabal
Profpatsch cd40585ea4 feat(users/Profpatsch/netencode): Add initial Haskell parser
A simple categorical parser that does not implement Monad, and does
not contain an `m` and some rudementary error message handling.

In the future I’d probably want to wrap everything in an additional
`m`, so that subparsers can somehow use `Selective` to throw errors
from within `m` that contain the parsing context if at all possible.
Hard to do without Monad, I have to say. Not even stuff like `StateT`
works without the inner `m` implementing `Monad`.

Change-Id: I1366eda606ddfb019637b09c82d8b0e30bd4e318
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7797
Tested-by: BuildkiteCI
Reviewed-by: Profpatsch <mail@profpatsch.de>
2023-01-08 23:10:28 +00:00

42 lines
855 B
Text

cabal-version: 2.4
name: my-prelude
version: 0.0.1.0
author: Profpatsch
maintainer: mail@profpatsch.de
library
exposed-modules:
MyPrelude
Label
Pretty
Data.Error.Tree
Aeson
Test
-- Modules included in this executable, other than Main.
-- other-modules:
-- LANGUAGE extensions used by modules in this package.
-- other-extensions:
build-depends:
base >=4.15 && <5
, aeson
, aeson-better-errors
, PyF
, validation-selective
, these
, text
, semigroupoids
, profunctors
, containers
, error
, exceptions
, bytestring
, mtl
, hspec
, hspec-expectations-pretty-diff
, hscolour
, nicify-lib
, ansi-terminal
, vector
default-language: GHC2021