haskell-hvr / hs-deepseq-th Goto Github PK
View Code? Open in Web Editor NEW(Deprecated) Template Haskell deriver for NFData instances
Home Page: http://hackage.haskell.org/package/deepseq-th
License: BSD 3-Clause "New" or "Revised" License
(Deprecated) Template Haskell deriver for NFData instances
Home Page: http://hackage.haskell.org/package/deepseq-th
License: BSD 3-Clause "New" or "Revised" License
I am running into what may be a bug in the deriveNFData function. When the compiler runs this I get the error:
src/Nettle/OpenFlow/Packet.hs:1:1:
Exception when trying to run compile-time code:
Control/DeepSeq/TH.hs:(217,9)-(220,76): Non-exhaustive patterns in function hlp
I tracked down the hlp function in deriveNFData and it seems to be missing a case in its pattern match. It matches against a Strict value and matches the IsStrict and NotStrict cases, but there is also a third Unpacked case. I'm not sure what the correct code should be here, but it seems like the case should be handled.
Hi, it seems like the current version of deepseq-th
doesn't suppport GHC 7.4.1 with the latest versions of the respective dependencies? When I try to compile the package, I get this error:
Configuring deepseq-th-0.1.0.2...
Setup: At least the following dependencies are missing:
base ==4.4.*, deepseq >=1.1 && <1.3, template-haskell ==2.6.*
Would it be possible to release an update for deepseq-th
that remedies these issues?
I am trying to compile deepseq-th under 7.6.1. There are version restrictions (for base < 4.6 and template-haskell < 2.8) which prevent it from compiling. Are there actual fixes required for using the latest versions, or can I just remove the restrictions, install, and hope for the best?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.