Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- someFunc :: IO ()
- data Run = Run {}
- data Runs = Runs {}
- readSandWatchData :: IO Runs
- writeSandWatchData :: Runs -> IO ()
- getSandWatchFilePath :: IO FilePath
- filterByCWD :: Runs -> Text -> Runs
- filterByFirstWord :: Runs -> Text -> Runs
- filterByFirstNWords :: Runs -> Int -> Text -> Runs
- guessTime :: Int -> Runs -> Run -> Double
Documentation
Instances
FromJSON Run Source # | |
ToJSON Run Source # | |
Generic Run Source # | |
Show Run Source # | |
Eq Run Source # | |
Ord Run Source # | |
type Rep Run Source # | |
Defined in MyLib type Rep Run = D1 ('MetaData "Run" "MyLib" "sandwatch-0.1.1.0-3DxG1PtpsDC4OgXL4EJuhK" 'False) (C1 ('MetaCons "Run" 'PrefixI 'True) ((S1 ('MetaSel ('Just "tstamp") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 UTCTime) :*: (S1 ('MetaSel ('Just "cmdline") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "cwd") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "runTime") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Double) :*: (S1 ('MetaSel ('Just "cpuTime") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Double) :*: S1 ('MetaSel ('Just "cpuCycles") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int64))))) |
writeSandWatchData :: Runs -> IO () Source #