Resolving dependencies... Downloading hgeometry-0.1.1.1... Configuring hgeometry-0.1.1.1... Building hgeometry-0.1.1.1... Preprocessing library hgeometry-0.1.1.1... [1 of 7] Compiling Data.Geometry.Point ( src/Data/Geometry/Point.hs, dist/build/Data/Geometry/Point.o ) [2 of 7] Compiling Data.Geometry.Geometry ( src/Data/Geometry/Geometry.hs, dist/build/Data/Geometry/Geometry.o ) [3 of 7] Compiling Data.Geometry.BoundingBox ( src/Data/Geometry/BoundingBox.hs, dist/build/Data/Geometry/BoundingBox.o ) [4 of 7] Compiling Data.Geometry.Line ( src/Data/Geometry/Line.hs, dist/build/Data/Geometry/Line.o ) src/Data/Geometry/Line.hs:12:1: Warning: The qualified import of `Data.List' is redundant except perhaps to import instances from `Data.List' To import instances alone, use: import Data.List() src/Data/Geometry/Line.hs:111:29: Warning: Defaulting the following constraint(s) to type `Integer' (Integral b0) arising from a use of `^' at src/Data/Geometry/Line.hs:111:29 (Num b0) arising from the literal `2' at src/Data/Geometry/Line.hs:111:30 In the first argument of `(+)', namely `x ^ 2' In the expression: x ^ 2 + y ^ 2 In an equation for `len': len (Point2 (x, y)) = x ^ 2 + y ^ 2 src/Data/Geometry/Line.hs:111:35: Warning: Defaulting the following constraint(s) to type `Integer' (Integral b0) arising from a use of `^' at src/Data/Geometry/Line.hs:111:35 (Num b0) arising from the literal `2' at src/Data/Geometry/Line.hs:111:36 In the second argument of `(+)', namely `y ^ 2' In the expression: x ^ 2 + y ^ 2 In an equation for `len': len (Point2 (x, y)) = x ^ 2 + y ^ 2 [5 of 7] Compiling Data.Geometry.Polygon ( src/Data/Geometry/Polygon.hs, dist/build/Data/Geometry/Polygon.o ) [6 of 7] Compiling Data.Geometry.Circle ( src/Data/Geometry/Circle.hs, dist/build/Data/Geometry/Circle.o ) src/Data/Geometry/Circle.hs:78:47: Warning: Defaulting the following constraint(s) to type `Integer' (Integral b0) arising from a use of `^' at src/Data/Geometry/Circle.hs:78:47 (Num b0) arising from the literal `2' at src/Data/Geometry/Circle.hs:78:48 In the second argument of `(<=)', namely `(radius c) ^ 2' In the expression: l22ToCenter p c <= (radius c) ^ 2 In an equation for `inCircle': p inCircle c = l22ToCenter p c <= (radius c) ^ 2 src/Data/Geometry/Circle.hs:82:50: Warning: Defaulting the following constraint(s) to type `Integer' (Integral b0) arising from a use of `^' at src/Data/Geometry/Circle.hs:82:50 (Num b0) arising from the literal `2' at src/Data/Geometry/Circle.hs:82:51 In the second argument of `(<)', namely `(radius c) ^ 2' In the expression: l22ToCenter p c < (radius c) ^ 2 In an equation for `insideCircle': p insideCircle c = l22ToCenter p c < (radius c) ^ 2 src/Data/Geometry/Circle.hs:86:47: Warning: Defaulting the following constraint(s) to type `Integer' (Integral b0) arising from a use of `^' at src/Data/Geometry/Circle.hs:86:47 (Num b0) arising from the literal `2' at src/Data/Geometry/Circle.hs:86:48 In the second argument of `(==)', namely `(radius c) ^ 2' In the expression: l22ToCenter p c == (radius c) ^ 2 In an equation for `onCircle': p onCircle c = l22ToCenter p c == (radius c) ^ 2 [7 of 7] Compiling Data.Geometry.SetOperations ( src/Data/Geometry/SetOperations.hs, dist/build/Data/Geometry/SetOperations.o ) src/Data/Geometry/SetOperations.hs:14:1: Warning: The import of `Debug.Trace' is redundant except perhaps to import instances from `Debug.Trace' To import instances alone, use: import Debug.Trace() src/Data/Geometry/SetOperations.hs:56:36: Warning: Defaulting the following constraint(s) to type `Integer' (Integral b0) arising from a use of `^' at src/Data/Geometry/SetOperations.hs:56:36 (Num b0) arising from the literal `2' at src/Data/Geometry/SetOperations.hs:56:37 In the first argument of `(+)', namely `dx ^ 2' In the expression: dx ^ 2 + dy ^ 2 In an equation for `a': a = dx ^ 2 + dy ^ 2 src/Data/Geometry/SetOperations.hs:56:43: Warning: Defaulting the following constraint(s) to type `Integer' (Integral b0) arising from a use of `^' at src/Data/Geometry/SetOperations.hs:56:43 (Num b0) arising from the literal `2' at src/Data/Geometry/SetOperations.hs:56:44 In the second argument of `(+)', namely `dy ^ 2' In the expression: dx ^ 2 + dy ^ 2 In an equation for `a': a = dx ^ 2 + dy ^ 2 src/Data/Geometry/SetOperations.hs:58:36: Warning: Defaulting the following constraint(s) to type `Integer' (Integral b0) arising from a use of `^' at src/Data/Geometry/SetOperations.hs:58:36 (Num b0) arising from the literal `2' at src/Data/Geometry/SetOperations.hs:58:37 In the first argument of `(+)', namely `sx ^ 2' In the first argument of `(-)', namely `sx ^ 2 + sy ^ 2' In the expression: sx ^ 2 + sy ^ 2 - r ^ 2 src/Data/Geometry/SetOperations.hs:58:43: Warning: Defaulting the following constraint(s) to type `Integer' (Integral b0) arising from a use of `^' at src/Data/Geometry/SetOperations.hs:58:43 (Num b0) arising from the literal `2' at src/Data/Geometry/SetOperations.hs:58:44 In the second argument of `(+)', namely `sy ^ 2' In the first argument of `(-)', namely `sx ^ 2 + sy ^ 2' In the expression: sx ^ 2 + sy ^ 2 - r ^ 2 src/Data/Geometry/SetOperations.hs:58:49: Warning: Defaulting the following constraint(s) to type `Integer' (Integral b0) arising from a use of `^' at src/Data/Geometry/SetOperations.hs:58:49 (Num b0) arising from the literal `2' at src/Data/Geometry/SetOperations.hs:58:50 In the second argument of `(-)', namely `r ^ 2' In the expression: sx ^ 2 + sy ^ 2 - r ^ 2 In an equation for `c': c = sx ^ 2 + sy ^ 2 - r ^ 2 src/Data/Geometry/SetOperations.hs:59:35: Warning: Defaulting the following constraint(s) to type `Integer' (Integral b0) arising from a use of `^' at src/Data/Geometry/SetOperations.hs:59:35 (Num b0) arising from the literal `2' at src/Data/Geometry/SetOperations.hs:59:36 In the first argument of `(-)', namely `b ^ 2' In the expression: b ^ 2 - 4 * a * c In an equation for `discr': discr = b ^ 2 - 4 * a * c In-place registering hgeometry-0.1.1.1... Running Haddock for hgeometry-0.1.1.1... Running hscolour for hgeometry-0.1.1.1... Preprocessing library hgeometry-0.1.1.1... Preprocessing library hgeometry-0.1.1.1... dist/build/tmp-31834/src/Data/Geometry/Line.hs:12:1: Warning: The qualified import of `Data.List' is redundant except perhaps to import instances from `Data.List' To import instances alone, use: import Data.List() dist/build/tmp-31834/src/Data/Geometry/Line.hs:111:29: Warning: Defaulting the following constraint(s) to type `Integer' (Integral b0) arising from a use of `^' at dist/build/tmp-31834/src/Data/Geometry/Line.hs:111:29 (Num b0) arising from the literal `2' at dist/build/tmp-31834/src/Data/Geometry/Line.hs:111:30 In the first argument of `(+)', namely `x ^ 2' In the expression: x ^ 2 + y ^ 2 In an equation for `len': len (Point2 (x, y)) = x ^ 2 + y ^ 2 dist/build/tmp-31834/src/Data/Geometry/Line.hs:111:35: Warning: Defaulting the following constraint(s) to type `Integer' (Integral b0) arising from a use of `^' at dist/build/tmp-31834/src/Data/Geometry/Line.hs:111:35 (Num b0) arising from the literal `2' at dist/build/tmp-31834/src/Data/Geometry/Line.hs:111:36 In the second argument of `(+)', namely `y ^ 2' In the expression: x ^ 2 + y ^ 2 In an equation for `len': len (Point2 (x, y)) = x ^ 2 + y ^ 2 dist/build/tmp-31834/src/Data/Geometry/Circle.hs:78:47: Warning: Defaulting the following constraint(s) to type `Integer' (Integral b0) arising from a use of `^' at dist/build/tmp-31834/src/Data/Geometry/Circle.hs:78:47 (Num b0) arising from the literal `2' at dist/build/tmp-31834/src/Data/Geometry/Circle.hs:78:48 In the second argument of `(<=)', namely `(radius c) ^ 2' In the expression: l22ToCenter p c <= (radius c) ^ 2 In an equation for `inCircle': p inCircle c = l22ToCenter p c <= (radius c) ^ 2 dist/build/tmp-31834/src/Data/Geometry/Circle.hs:82:50: Warning: Defaulting the following constraint(s) to type `Integer' (Integral b0) arising from a use of `^' at dist/build/tmp-31834/src/Data/Geometry/Circle.hs:82:50 (Num b0) arising from the literal `2' at dist/build/tmp-31834/src/Data/Geometry/Circle.hs:82:51 In the second argument of `(<)', namely `(radius c) ^ 2' In the expression: l22ToCenter p c < (radius c) ^ 2 In an equation for `insideCircle': p insideCircle c = l22ToCenter p c < (radius c) ^ 2 dist/build/tmp-31834/src/Data/Geometry/Circle.hs:86:47: Warning: Defaulting the following constraint(s) to type `Integer' (Integral b0) arising from a use of `^' at dist/build/tmp-31834/src/Data/Geometry/Circle.hs:86:47 (Num b0) arising from the literal `2' at dist/build/tmp-31834/src/Data/Geometry/Circle.hs:86:48 In the second argument of `(==)', namely `(radius c) ^ 2' In the expression: l22ToCenter p c == (radius c) ^ 2 In an equation for `onCircle': p onCircle c = l22ToCenter p c == (radius c) ^ 2 dist/build/tmp-31834/src/Data/Geometry/SetOperations.hs:14:1: Warning: The import of `Debug.Trace' is redundant except perhaps to import instances from `Debug.Trace' To import instances alone, use: import Debug.Trace() dist/build/tmp-31834/src/Data/Geometry/SetOperations.hs:56:36: Warning: Defaulting the following constraint(s) to type `Integer' (Integral b0) arising from a use of `^' at dist/build/tmp-31834/src/Data/Geometry/SetOperations.hs:56:36 (Num b0) arising from the literal `2' at dist/build/tmp-31834/src/Data/Geometry/SetOperations.hs:56:37 In the first argument of `(+)', namely `dx ^ 2' In the expression: dx ^ 2 + dy ^ 2 In an equation for `a': a = dx ^ 2 + dy ^ 2 dist/build/tmp-31834/src/Data/Geometry/SetOperations.hs:56:43: Warning: Defaulting the following constraint(s) to type `Integer' (Integral b0) arising from a use of `^' at dist/build/tmp-31834/src/Data/Geometry/SetOperations.hs:56:43 (Num b0) arising from the literal `2' at dist/build/tmp-31834/src/Data/Geometry/SetOperations.hs:56:44 In the second argument of `(+)', namely `dy ^ 2' In the expression: dx ^ 2 + dy ^ 2 In an equation for `a': a = dx ^ 2 + dy ^ 2 dist/build/tmp-31834/src/Data/Geometry/SetOperations.hs:58:36: Warning: Defaulting the following constraint(s) to type `Integer' (Integral b0) arising from a use of `^' at dist/build/tmp-31834/src/Data/Geometry/SetOperations.hs:58:36 (Num b0) arising from the literal `2' at dist/build/tmp-31834/src/Data/Geometry/SetOperations.hs:58:37 In the first argument of `(+)', namely `sx ^ 2' In the first argument of `(-)', namely `sx ^ 2 + sy ^ 2' In the expression: sx ^ 2 + sy ^ 2 - r ^ 2 dist/build/tmp-31834/src/Data/Geometry/SetOperations.hs:58:43: Warning: Defaulting the following constraint(s) to type `Integer' (Integral b0) arising from a use of `^' at dist/build/tmp-31834/src/Data/Geometry/SetOperations.hs:58:43 (Num b0) arising from the literal `2' at dist/build/tmp-31834/src/Data/Geometry/SetOperations.hs:58:44 In the second argument of `(+)', namely `sy ^ 2' In the first argument of `(-)', namely `sx ^ 2 + sy ^ 2' In the expression: sx ^ 2 + sy ^ 2 - r ^ 2 dist/build/tmp-31834/src/Data/Geometry/SetOperations.hs:58:49: Warning: Defaulting the following constraint(s) to type `Integer' (Integral b0) arising from a use of `^' at dist/build/tmp-31834/src/Data/Geometry/SetOperations.hs:58:49 (Num b0) arising from the literal `2' at dist/build/tmp-31834/src/Data/Geometry/SetOperations.hs:58:50 In the second argument of `(-)', namely `r ^ 2' In the expression: sx ^ 2 + sy ^ 2 - r ^ 2 In an equation for `c': c = sx ^ 2 + sy ^ 2 - r ^ 2 dist/build/tmp-31834/src/Data/Geometry/SetOperations.hs:59:35: Warning: Defaulting the following constraint(s) to type `Integer' (Integral b0) arising from a use of `^' at dist/build/tmp-31834/src/Data/Geometry/SetOperations.hs:59:35 (Num b0) arising from the literal `2' at dist/build/tmp-31834/src/Data/Geometry/SetOperations.hs:59:36 In the first argument of `(-)', namely `b ^ 2' In the expression: b ^ 2 - 4 * a * c In an equation for `discr': discr = b ^ 2 - 4 * a * c Haddock coverage: 40% ( 4 / 10) in 'Data.Geometry.Point' 58% ( 7 / 12) in 'Data.Geometry.Geometry' 33% ( 4 / 12) in 'Data.Geometry.BoundingBox' Warning: Data.Geometry.Line: We do not support associated types in instances yet. These instances are affected: GHC.Float.Floating a => Data.Geometry.Line.HasLength (Data.Geometry.Line.LineSegment2' a), GHC.Float.Floating a => Data.Geometry.Line.HasLength (Data.Geometry.Line.Polyline2' a) 46% ( 6 / 13) in 'Data.Geometry.Line' 75% ( 3 / 4) in 'Data.Geometry.Polygon' 89% ( 8 / 9) in 'Data.Geometry.Circle' 50% ( 1 / 2) in 'Data.Geometry.SetOperations' Documentation created: dist/doc/html/hgeometry/index.html, dist/doc/html/hgeometry/hgeometry.txt Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/hgeometry-0.1.1.1 Registering hgeometry-0.1.1.1... Installed hgeometry-0.1.1.1