packages feed

clash-prelude 0.99.1 → 0.99.2

raw patch · 2 files changed

+14/−26 lines, 2 filesdep ~doctestdep ~lensPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: doctest, lens

API changes (from Hackage documentation)

Files

clash-prelude.cabal view
@@ -1,5 +1,5 @@ Name:                 clash-prelude-Version:              0.99.1+Version:              0.99.2 Synopsis:             CAES Language for Synchronous Hardware - Prelude library Description:   CλaSH (pronounced ‘clash’) is a functional hardware description language that@@ -200,7 +200,7 @@                       ghc-typelits-knownnat     >= 0.5     && < 0.6,                       ghc-typelits-natnormalise >= 0.6     && < 0.7,                       half                      >= 0.2.2.3 && < 1.0,-                      lens                      >= 4.9     && < 4.17,+                      lens                      >= 4.9     && < 4.18,                       QuickCheck                >= 2.7     && < 2.12,                       reflection                >= 2       && < 2.2,                       singletons                >= 1.0     && < 3.0,@@ -220,7 +220,7 @@   else     build-depends:       base    >= 4     && < 5,-      doctest >= 0.9.1 && < 0.16,+      doctest >= 0.9.1 && < 0.17,       clash-prelude  benchmark benchmark-clash-prelude
src/Clash/Tutorial.hs view
@@ -213,20 +213,20 @@    (1) Install __GHC 8.2.1 or higher__ -      * Download and install <https://www.haskell.org/ghc/download_ghc_8_4_1 GHC for your platform>.+      * Download and install <https://www.haskell.org/ghc/download_ghc_8_4_3 GHC for your platform>.         Unix user can use @./configure prefix=\<LOCATION\>@ to set the installation         location.        * Make sure that the @bin@ directory of __GHC__ is in your @PATH@. -    In case you cannot find what you are looking for on <https://www.haskell.org/ghc/download_ghc_8_4_1>,+    In case you cannot find what you are looking for on <https://www.haskell.org/ghc/download_ghc_8_4_3>,     you can, /alternatively/, use the following instructions:        * Ubuntu:            * Run: @sudo add-apt-repository -y ppa:hvr/ghc@           * Run: @sudo apt-get update@-          * Run: @sudo apt-get install cabal-install-2.2 ghc-8.4.1 libtinfo-dev@+          * Run: @sudo apt-get install cabal-install-2.2 ghc-8.4.3 libtinfo-dev@           * Update your @PATH@ with: @\/opt\/ghc\/bin@, @\/opt\/cabal\/bin@, and @\$HOME\/.cabal\/bin@           * Run: @cabal update@           * Skip step 2.@@ -269,7 +269,7 @@        * Run: -          * /i386/ Linux: @cabal install clash-ghc --enable-documentation --enable-executable-dynamic@+          * Linux: @cabal install clash-ghc --enable-documentation --enable-executable-dynamic@           * Other: @cabal install clash-ghc --enable-documentation@        * /This is going to take awhile, so have a refreshment/@@ -952,21 +952,15 @@  entity blinker_topentity is   port(-- clock-       input_0  : in std_logic;+       clk    : in std_logic;        -- asynchronous reset: active high-       input_1  : in std_logic;-       input_2  : in std_logic_vector(0 downto 0);-       output_0 : out std_logic_vector(7 downto 0));+       rst    : in std_logic;+       x      : in std_logic;+       result : out std_logic_vector(7 downto 0)); end;  architecture structural of blinker_topentity is-begin-  blinker_topentity_0_inst : entity blinker_topentity_0-    port map-      (clk    => input_0-      ,rst    => input_1-      ,key1   => input_2-      ,result => output_0);+ ... end; @ @@ -998,18 +992,12 @@        CLOCK_50 : in std_logic;        -- asynchronous reset: active high        KEY0     : in std_logic;-       KEY1     : in std_logic_vector(0 downto 0);+       KEY1     : in std_logic;        LED      : out std_logic_vector(7 downto 0)); end;  architecture structural of blinker is-begin-  blinker_topentity_inst : entity blinker_topentity-    port map-      (clk    => CLOCK_50-      ,rst    => KEY0-      ,key1   => KEY1-      ,result => LED);+ ... end; @