Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (12 sloc) 0.405 kB
--Data -- this module is dubious, may deprecate
module Roguestar.Lib.TimeCoordinate
(TimeCoordinate,
advanceTime,
zero_time)
where
data TimeCoordinate = TimeCoordinate Rational
deriving (Eq,Ord,Read,Show)
advanceTime :: Rational -> TimeCoordinate -> TimeCoordinate
advanceTime x (TimeCoordinate t) = TimeCoordinate (t + x)
zero_time :: TimeCoordinate
zero_time = TimeCoordinate 0
Jump to Line
Something went wrong with that request. Please try again.