eventloop 0.8.2.5 → 0.8.2.6
raw patch · 1 files changed
+2/−2 lines, 1 filesdep ~basePVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: base
API changes (from Hackage documentation)
- Eventloop.Module.BasicShapes: class (ToBoundingBox a) => Overlaps a where overlaps a1 a2 | contains a1 a2 || contains a2 a1 = False | xMax b1 < xMin b2 = False | xMin b1 > xMax b2 = False | yMax b1 < yMin b2 = False | yMin b1 > yMax b2 = False | otherwise = True where b1 = toBoundingBox a1 b2 = toBoundingBox a2 contains a1 a2 | xMax b2 <= xMax b1 && xMin b2 >= xMin b1 && yMax b2 <= yMax b1 && yMin b2 >= yMin b1 = True | otherwise = False where b1 = toBoundingBox a1 b2 = toBoundingBox a2 touches a1 a2 = overlaps a1 a2 || contains a1 a2 || contains a2 a1
+ Eventloop.Module.BasicShapes: class (ToBoundingBox a) => Overlaps a
- Eventloop.Module.BasicShapes: contains :: (Overlaps a, Overlaps b) => a -> b -> Bool
+ Eventloop.Module.BasicShapes: contains :: (Overlaps a, (Overlaps b)) => a -> b -> Bool
- Eventloop.Module.BasicShapes: overlaps :: (Overlaps a, Overlaps b) => a -> b -> Bool
+ Eventloop.Module.BasicShapes: overlaps :: (Overlaps a, (Overlaps b)) => a -> b -> Bool
- Eventloop.Module.BasicShapes: touches :: (Overlaps a, Overlaps b) => a -> b -> Bool
+ Eventloop.Module.BasicShapes: touches :: (Overlaps a, (Overlaps b)) => a -> b -> Bool
- Eventloop.Module.DrawTrees: class ToRoseTree a where toRoseTree = genericToRoseTree
+ Eventloop.Module.DrawTrees: class ToRoseTree a
- Eventloop.Module.Timer: type TimerStartFunction = TimerIO -> IO () -> Delay -> IO Bool
+ Eventloop.Module.Timer: type TimerStartFunction = (TimerIO -> IO () -> Delay -> IO Bool)
- Eventloop.Utility.Vectors: (|*) :: (Vector2D a, Real b) => a -> b -> a
+ Eventloop.Utility.Vectors: (|*) :: (Vector2D a, (Real b)) => a -> b -> a
- Eventloop.Utility.Vectors: (|/) :: (Vector2D a, Real b) => a -> b -> a
+ Eventloop.Utility.Vectors: (|/) :: (Vector2D a, (Real b)) => a -> b -> a
Files
- eventloop.cabal +2/−2
eventloop.cabal view
@@ -6,7 +6,7 @@ -- PVP summary: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change -version: 0.8.2.5 +version: 0.8.2.6 synopsis: A different take on an IO system. Based on Amanda's IO loop, this eventloop takes a function that maps input events to output events. It can easily be extended by modules that represent IO devices or join multiple modules together. description: A different take on an IO system. Based on Amanda's IO loop, this eventloop takes a function that maps input events to output events. It can easily be extended by modules that represent IO devices or join multiple modules together. Each module exists of a initialize and teardown function that are both called once at startup and shutting down. During run-time, a module can provice a preprocessor function (which transforms input events before they get to the eventloop), @@ -101,7 +101,7 @@ other-extensions: OverloadedStrings - build-depends: base >=4.8 && <4.10, + build-depends: base >=4.8 && <4.11, network >=2.6 && <2.7, text >=1.2 && <1.3, websockets >=0.9 && <0.10,