File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,11 +38,11 @@ library
3838 build-depends : base >= 4.11 && < 5 ,
3939 vector ^>= 0.13 ,
4040 dataframe ^>= 1 ,
41+ hasktorch >= 0.2.1.6 && < 0.3
4142 if impl(ghc >= 9.12 )
4243 build-depends : ghc-typelits-natnormalise == 0.9.3
4344 else
4445 build-depends : ghc-typelits-natnormalise >= 0.7.7 && < 0.9
45- hasktorch >= 0.2.1.6 && < 0.3
4646
4747 hs-source-dirs : src
4848
Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ Think of these like compiler flags in C++ or decorator syntax in Python:
3333Now we import the libraries we need. This is similar to `import` statements
3434in Python or `#include` in C++:
3535
36- > import GHC.Generics (Generic )
3736>
3837> import Control.Exception (throw )
3938> import Control.Monad (when , zipWithM_ )
Original file line number Diff line number Diff line change @@ -110,10 +110,6 @@ executable examples
110110 deepseq >= 1 && < 2 ,
111111 directory >= 1.3.0.0 && < 2 ,
112112 granite ^>= 0.4 ,
113- if impl(ghc >= 9.12 )
114- build-depends : ghc-typelits-natnormalise == 0.9.3
115- else
116- build-depends : ghc-typelits-natnormalise >= 0.7.7 && < 0.9 ,
117113 hashable >= 1.2 && < 2 ,
118114 hasktorch,
119115 http-conduit,
@@ -138,6 +134,10 @@ executable examples
138134 stm >= 2.5 && < 3 ,
139135 filepath >= 1.4 && < 2 ,
140136 Glob >= 0.10 && < 1 ,
137+ if impl(ghc >= 9.12 )
138+ build-depends : ghc-typelits-natnormalise == 0.9.3
139+ else
140+ build-depends : ghc-typelits-natnormalise >= 0.7.7 && < 0.9
141141 c-sources : ../cbits/process_csv.c
142142 include-dirs : ../cbits
143143 includes : process_csv.h
You can’t perform that action at this time.
0 commit comments