public
Created

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
cabal info time
* time (library)
Synopsis: A time library
Versions available: 1.1.4, 1.2, 1.2.0.4, 1.2.0.5, 1.3, 1.4, 1.4.0.1,
1.4.0.2, 1.4.1 (and 10 others)
Versions installed: 1.4.0.1, 1.4.1
Homepage: http://semantic.org/TimeLib/
Bug reports: [ Not specified ]
Description: A time library
Category: System
License: BSD3
Author: Ashley Yakeley
Maintainer: <ashley@semantic.org>
Source repo: http://code.haskell.org/time/
Dependencies: base ==4.*, deepseq >=1.1, old-locale -any, Win32 -any,
unix -any, test-framework-quickcheck2 >=0.2.12,
test-framework >=0.6.1 && <0.7, QuickCheck >=2.5.1,
process -any, old-locale -any, Cabal >=1.16, deepseq -any,
base -any
Documentation: [ Not installed ]
Cached: Yes
Modules:
Data.Time
Data.Time.Calendar
Data.Time.Calendar.Easter
Data.Time.Calendar.Julian
Data.Time.Calendar.MonthDay
Data.Time.Calendar.OrdinalDate
Data.Time.Calendar.WeekDate
Data.Time.Clock
Data.Time.Clock.POSIX
Data.Time.Clock.TAI
Data.Time.Format
Data.Time.LocalTime
 
 
ghci
GHCi, version 7.6.1: http://www.haskell.org/ghc/ :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Prelude> :m + Data.Time.Clock
Prelude Data.Time.Clock> t <- getCurrentTime
Loading package array-0.4.0.1 ... linking ... done.
Loading package deepseq-1.3.0.1 ... linking ... done.
Loading package bytestring-0.10.0.0 ... linking ... done.
Loading package Win32-2.3.0.0 ... linking ... done.
Loading package old-locale-1.0.0.5 ... linking ... done.
Loading package time-1.4.1 ... linking ... done.
Prelude Data.Time.Clock> t
 
<interactive>:4:1:
No instance for (Show UTCTime) arising from a use of `print'
Possible fix: add an instance declaration for (Show UTCTime)
In a stmt of an interactive GHCi command: print it
Prelude Data.Time.Clock>

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.