packages feed

clash-lib 0.5.8 → 0.5.9

raw patch · 3 files changed

+7/−4 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,5 +1,9 @@ # Changelog for the [`clash-lib`](http://hackage.haskell.org/package/clash-lib) package +## 0.5.9 *July 9th 2015*+* Fixes bugs:+  * `coreView` didn't look through newtypes of the form: `newtype Foo a = MkFoo (Maybe a)`+ ## 0.5.8 *June 26th 2015* * Fixes bugs:   * Allow text and tags in ~SIGD black box construct
clash-lib.cabal view
@@ -1,5 +1,5 @@ Name:                 clash-lib-Version:              0.5.8+Version:              0.5.9 Synopsis:             CAES Language for Synchronous Hardware - As a Library Description:   CλaSH (pronounced ‘clash’) is a functional hardware description language that
src/CLaSH/Core/Type.hs view
@@ -158,9 +158,8 @@        TyConApp tc args -> case name2String tc of          "CLaSH.Signal.Internal.Signal'" -> coreView tcMap (args !! 1)          _ -> case (tcMap HashMap.! tc) of-                (AlgTyCon {algTcRhs = (NewTyCon _ nt)})-                  | length (fst nt) == length args -> coreView tcMap (newTyConInstRhs nt args)-                  | otherwise -> tView+                AlgTyCon {algTcRhs = (NewTyCon _ nt)}+                  -> coreView tcMap (newTyConInstRhs nt args)                 FunTyCon {tyConSubst = tcSubst} -> case findFunSubst tcSubst args of                   Just ty' -> coreView tcMap ty'                   _ -> tView