Skip to content

Commit

Permalink
[#37] Add bounds to all deps
Browse files Browse the repository at this point in the history
  • Loading branch information
vrom911 committed Sep 30, 2018
1 parent 3ad9fd5 commit 46384dd
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 10 deletions.
12 changes: 10 additions & 2 deletions co-log-core/co-log-core.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,16 @@ library
Colog.Core.Class
Colog.Core.Severity

ghc-options: -Wall -fhide-source-paths
build-depends: base
build-depends: base >= 4.11 && < 5

ghc-options: -Wall
-Wincomplete-uni-patterns
-Wincomplete-record-updates
-Wcompat
-Widentities
-Wredundant-constraints
-fhide-source-paths
-freverse-errors

default-language: Haskell2010
default-extensions: InstanceSigs
16 changes: 8 additions & 8 deletions co-log/co-log.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,18 @@ library
Colog.Message
Colog.Monad
Colog.Pure
Prelude
other-modules: Prelude

build-depends: base-noprelude >= 4.11 && < 5
, ansi-terminal ^>= 0.8
, bytestring
, co-log-core
, bytestring ^>= 0.10.8
, co-log-core ^>= 0.0
, containers >= 0.5.7 && < 0.7
, contravariant ^>= 1.5
, mtl
, mtl ^>= 2.2.2
, relude ^>= 0.3.0
, text
, time
, text ^>= 1.2.3
, time ^>= 1.9.2
, transformers >= 0.5
, typerep-map ^>= 0.3.0

Expand All @@ -63,7 +63,7 @@ executable play-colog
hs-source-dirs: example
main-is: Main.hs

build-depends: base-noprelude
build-depends: base
, co-log
, relude
, typerep-map
Expand All @@ -84,7 +84,7 @@ executable play-colog

executable readme
main-is: README.lhs
build-depends: base-noprelude
build-depends: base
, co-log
, text

Expand Down
3 changes: 3 additions & 0 deletions co-log/example/Main.hs
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE DeriveAnyClass #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE TypeApplications #-}

module Main where

import Relude

import Control.Concurrent (threadDelay)

import Colog (pattern D, LogAction, Message (..), PureLogger, WithLog, cbind, cmap, defaultFieldMap,
Expand Down
1 change: 1 addition & 0 deletions stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ extra-deps:
- base-noprelude-4.11.1.0
- contravariant-1.5
- relude-0.3.0
- time-1.9.2

- typerep-map-0.3.0
- primitive-0.6.4.0 # needed for typerep-map

0 comments on commit 46384dd

Please sign in to comment.