packages feed

hid-examples-0.1.0.0: hid-examples.cabal

name:                hid-examples
version:             0.1.0.0
synopsis:            Examples to accompany the book "Haskell in Depth"
description:
        This package provides source code examples which accompany the book
        "Haskell in Depth" by Vitaly Bragilevsky (Manning Publications 2019).
        You may want to get this package via @cabal get hid-examples@
        and explore its content.

license:             BSD3
license-file:        LICENSE
author:              Vitaly Bragilevsky
maintainer:          Vitaly Bragilevsky <vit.bragilevsky@gmail.com>
copyright:           (c) Vitaly Bragilevsky 2018
category:            Sample Code
build-type:          Simple
extra-source-files:  ChangeLog.md
cabal-version:       >=1.10

bug-reports:         https://github.com/bravit/hid-examples/issues
homepage:            https://github.com/bravit/hid-examples/

extra-source-files:    ChangeLog.md
                       LICENSE
                       README.md
                       stack.yaml

data-files:            data/quotes.csv
                       texts/Dracula.srt
                       texts/*.txt

source-repository head
    type:     git
    location: https://github.com/bravit/hid-examples.git

-- -----------------------------------------------------------------------------
-- Chapter 2

executable locator
  main-is:             locator.hs
  build-depends:       base >=4.10 && <4.12
  default-language:    Haskell2010

executable vocab1
  main-is:             vocab1.hs
  build-depends:       base >=4.10 && <4.12
                     , text >=1.2 && <1.3
  default-language:    Haskell2010

executable vocab2
  main-is:             vocab2.hs
  build-depends:       base >=4.10 && <4.12
                     , text >=1.2 && <1.3
  default-language:    Haskell2010

executable vocab3
  main-is:             vocab3.hs
  build-depends:       base >=4.10 && <4.12
                     , text >=1.2 && <1.3
  default-language:    Haskell2010

executable showexpr
  main-is:             showexpr.hs
  build-depends:       base >=4.10 && <4.12
                     , hint >=0.7 && <0.9
  default-language:    Haskell2010

-- -----------------------------------------------------------------------------
-- Chapter 3

executable stockquotes
  hs-source-dirs:      stockquotes
  main-is:             Main.hs
  other-modules:       BoundedEnum QuoteData Statistics StatReport
                       Charts HtmlReport Params 
  other-extensions:    RecordWildCards OverloadedStrings FlexibleInstances
                       DeriveGeneric DeriveAnyClass
  build-depends:       base >=4.10 && <4.11
                     , bytestring >=0.10 && <0.11
                     , blaze-html >=0.9 && <0.10
                     , optparse-applicative >=0.14 && <0.15
                     , time >=1.8 && <1.9
                     , text >=1.2 && <1.3
                     , fmt >=0.5 && <0.7
                     , safe >=0.3 && <0.4
                     , Chart >=1.8 && <1.9
                     , Chart-diagrams >=1.8 && <1.9
                     , cassava >=0.5 && <0.6
  default-language:    Haskell2010