Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (11 sloc) 0.357 kB
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.