Skip to content

Commit

Permalink
Remove naïve strictness annotations
Browse files Browse the repository at this point in the history
Anecdotally, this actually _helps_ speed??
  • Loading branch information
lfborjas committed Dec 27, 2020
1 parent 8a22d95 commit 3c4de06
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions src/Ephemeris/Types.hs
Original file line number Diff line number Diff line change
Expand Up @@ -274,25 +274,25 @@ data HoroscopeData = HoroscopeData

data TransitData = TransitData
{
natalPlanetPositions :: ![PlanetPosition]
, natalAngles :: !Angles
, natalHouses :: ![House]
, natalHouseSystem :: !HouseSystem
, transitingPlanetPositions :: ![PlanetPosition]
, transitingHouses :: ![House]
, transitingAngles :: !Angles
, transitingHouseSystem :: !HouseSystem
, planetaryTransits :: ![(PlanetaryAspect, PlanetaryTransit)]
, angleTransits :: ![(AngleAspect, AngleTransit)]
natalPlanetPositions :: [PlanetPosition]
, natalAngles :: Angles
, natalHouses :: [House]
, natalHouseSystem :: HouseSystem
, transitingPlanetPositions :: [PlanetPosition]
, transitingHouses :: [House]
, transitingAngles :: Angles
, transitingHouseSystem :: HouseSystem
, planetaryTransits :: [(PlanetaryAspect, PlanetaryTransit)]
, angleTransits :: [(AngleAspect, AngleTransit)]
} deriving (Eq, Show)

data Transit a = Transit
{
transiting :: !PlanetPosition
, transited :: !a
, transitStarts :: !(Maybe UTCTime)
, transitEnds :: !(Maybe UTCTime)
, immediateTriggers :: ![UTCTime]
transiting :: PlanetPosition
, transited :: a
, transitStarts :: (Maybe UTCTime)
, transitEnds :: (Maybe UTCTime)
, immediateTriggers :: [UTCTime]
} deriving stock (Eq, Show)

type PlanetaryTransit = Transit PlanetPosition
Expand Down

0 comments on commit 3c4de06

Please sign in to comment.