Wired 0.2 → 0.2.1
raw patch · 2 files changed
+7/−5 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- Export/DEF.hs +6/−4
- Wired.cabal +1/−1
Export/DEF.hs view
@@ -44,13 +44,15 @@ showPos :: Position -> ShowS-showPos (Length x, Length y) = unwordS+showPos (x,y) = unwordS [ "("- , shows x- , shows y+ , shows x'+ , shows y' , ")" ]- -- XXX Numbers should be scaled.+ where+ x' = round (value x / 1e-9) :: Integer+ y' = round (value y / 1e-9) :: Integer showOri :: IsString str => Orientation -> str showOri (flipped,dir) = fromString $
Wired.cabal view
@@ -1,5 +1,5 @@ name: Wired-version: 0.2+version: 0.2.1 homepage: http://www.cs.chalmers.se/~emax/wired/ synopsis: Wire-aware hardware description