Skip to content

Commit

Permalink
[kowainik#1] PR 1 tasks (kowainik#16)
Browse files Browse the repository at this point in the history
* [kowainik#1] PR 1 tasks

Resolves kowainik#1

* Fix

* Update src/Chapter1.hs

Co-authored-by: Dmitrii Kovanikov <[email protected]>

Co-authored-by: Dmitrii Kovanikov <[email protected]>
  • Loading branch information
vrom911 and chshersh authored Sep 30, 2020
1 parent 0b97eca commit 118f453
Show file tree
Hide file tree
Showing 5 changed files with 646 additions and 43 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
runs-on: ubuntu-16.04
strategy:
matrix:
cabal: ["2.4"]
cabal: ["3.2"]
ghc:
- "8.10.1"
- "8.10.2"

steps:
- uses: actions/checkout@v2
Expand Down
27 changes: 4 additions & 23 deletions learn4haskell.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ homepage: https://github.com/kowainik/learn4haskell
bug-reports: https://github.com/kowainik/learn4haskell/issues
license: MPL-2.0
license-file: LICENSE
author: Kowainik
author: Veronika Romashkina, Dmitrii Kovanikov
maintainer: Kowainik <[email protected]>
copyright: 2020 Kowainik
build-type: Simple
extra-doc-files: README.md
CHANGELOG.md
tested-with: GHC == 8.10.1
tested-with: GHC == 8.10.2

source-repository head
type: git
Expand All @@ -33,35 +33,16 @@ common common-options
if impl(ghc >= 8.2)
ghc-options: -fhide-source-paths
if impl(ghc >= 8.4)
ghc-options: -Wmissing-export-lists
-Wpartial-fields
if impl(ghc >= 8.8)
ghc-options: -Wmissing-deriving-strategies
-fwrite-ide-info
-hiedir=.hie
ghc-options: -Wpartial-fields
if impl(ghc >= 8.10)
ghc-options: -Wunused-packages

default-language: Haskell2010
default-extensions: ConstraintKinds
DeriveGeneric
DerivingStrategies
GeneralizedNewtypeDeriving
InstanceSigs
KindSignatures
LambdaCase
OverloadedStrings
RecordWildCards
ScopedTypeVariables
StandaloneDeriving
TupleSections
TypeApplications
ViewPatterns

library
import: common-options
hs-source-dirs: src
exposed-modules: Learn4haskell
exposed-modules: Chapter1

test-suite learn4haskell-test
import: common-options
Expand Down
Loading

0 comments on commit 118f453

Please sign in to comment.