Hoogle Search

Within LTS Haskell 24.6 (ghc-9.10.2)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. getFixed :: Fixed a -> a

    QuickCheck Test.QuickCheck

    No documentation available.

  2. newtype Fixed a

    QuickCheck Test.QuickCheck.Modifiers

    Fixed x: as x, but will not be shrunk.

  3. Fixed :: a -> Fixed a

    QuickCheck Test.QuickCheck.Modifiers

    No documentation available.

  4. getFixed :: Fixed a -> a

    QuickCheck Test.QuickCheck.Modifiers

    No documentation available.

  5. module Data.Time.Clock.POSIX

    POSIX time, if you need to deal with timestamps and the like. Most people won't need this module. You can use POSIXTime to obtain integer/word timestamps. For example:

    import Data.Time
    import Data.Time.Clock.POSIX
    import Data.Int
    
    nanosSinceEpoch :: UTCTime -> Int64
    nanosSinceEpoch =
    floor . (1e9 *) . nominalDiffTimeToSeconds . utcTimeToPOSIXSeconds
    
    main :: IO ()
    main = do
    u <- getCurrentTime
    print $ nanosSinceEpoch u
    

  6. type POSIXTime = NominalDiffTime

    time Data.Time.Clock.POSIX

    POSIX time is the nominal time since 1970-01-01 00:00 UTC To convert from a CTime or System.Posix.EpochTime, use realToFrac.

  7. getPOSIXTime :: IO POSIXTime

    time Data.Time.Clock.POSIX

    Get the current POSIX time from the system clock.

  8. posixDayLength :: NominalDiffTime

    time Data.Time.Clock.POSIX

    86400 nominal seconds in every day

  9. posixSecondsToUTCTime :: POSIXTime -> UTCTime

    time Data.Time.Clock.POSIX

    No documentation available.

  10. systemToPOSIXTime :: SystemTime -> POSIXTime

    time Data.Time.Clock.POSIX

    No documentation available.

Page 33 of many | Previous | Next