forgot to expose new function, cabal enhancement

This commit is contained in:
Yann Esposito (Yogsototh) 2018-12-28 20:49:19 +01:00
parent 5c2301e797
commit 8a798874b7
Signed by untrusted user who does not match committer: yogsototh
GPG key ID: 7B19A4C650D59646
2 changed files with 7 additions and 2 deletions

View file

@ -1,5 +1,5 @@
name: human-readable-duration
version: 0.2.1.1
version: 0.2.1.2
synopsis: Provide duration helper
homepage: https://gitlab.esy.fun/yogsototh/human-readable-duration#readme
license: BSD3
@ -9,6 +9,9 @@ maintainer: yann.esposito@gmail.com
category: Time
build-type: Simple
cabal-version: >=1.10
extra-source-files:
README.md
stack.yaml
description:
This is a minimal Haskell library to display duration.
.
@ -28,6 +31,7 @@ library
Data.Duration.Tutorial
build-depends: base >= 4.7 && < 5
default-language: Haskell2010
ghc-options: -Wall -Wincomplete-uni-patterns -Wredundant-constraints -Wnoncanonical-monad-instances
test-suite doctest
type: exitcode-stdio-1.0

View file

@ -16,6 +16,7 @@
module Data.Duration
( humanReadableDuration
, humanReadableDuration'
, approximativeDuration
, Seconds
-- durations
, ms
@ -33,7 +34,7 @@ module Data.Duration
, getYears
) where
import Data.Fixed (Fixed(..), Micro, div', mod')
import Data.Fixed (Fixed (..), Micro, div', mod')
type Seconds = Micro