23prime / oeis2 Goto Github PK
View Code? Open in Web Editor NEWInterface for Online Encyclopedia of Integer Sequences (OEIS).
License: BSD 3-Clause "New" or "Revised" License
Interface for Online Encyclopedia of Integer Sequences (OEIS).
License: BSD 3-Clause "New" or "Revised" License
src/Math/OEIS/Internal.hs:124:27: error:
• Couldn't match expected type ‘Key’ with actual type ‘T.Text’
• In the first argument of ‘key’, namely ‘k’
In the first argument of ‘(.)’, namely ‘key k’
In the second argument of ‘(^?)’, namely ‘key k . _Integer’
|
124 | = let d = result ^? key k ._Integer
| ^
src/Math/OEIS/Internal.hs:136:27: error:
• Couldn't match expected type ‘Key’ with actual type ‘T.Text’
• In the first argument of ‘key’, namely ‘k’
In the first argument of ‘(.)’, namely ‘key k’
In the second argument of ‘(^?)’, namely ‘key k . _String’
|
136 | = let d = result ^? key k ._String
| ^
src/Math/OEIS/Internal.hs:150:29: error:
• Couldn't match expected type ‘Key’ with actual type ‘T.Text’
• In the first argument of ‘key’, namely ‘k’
In the first argument of ‘(.)’, namely ‘key k’
In the second argument of ‘(^?)’, namely ‘key k . _Array’
|
150 | = let ds = result ^? key k . _Array
| ^
src/Math/OEIS/Internal.hs:154:41: error:
• Couldn't match expected type ‘Key’ with actual type ‘T.Text’
• In the first argument of ‘key’, namely ‘k’
In the first argument of ‘(.)’, namely ‘key k’
In the second argument of ‘(^?!)’, namely ‘key k . nth i . _String’
|
154 | let ts = (\i -> result ^?! key k . nth i . _String) <$> [0..(len - 1)]
| ^
As a Hackage trustee I have revised v1.0.7: https://hackage.haskell.org/package/oeis2-1.0.7/revisions/
EDIT: Related: commercialhaskell/stackage#6498
oes2-1.0.6
failed in a recent Stackage test run with the following error message:
test/Spec.hs:29:5:
1) Test for lookupSeq Compare lookup by ID with by SubSeq
[ generated example elided ]
To rerun use: --match "/Test for lookupSeq/Compare lookup by ID with by SubSeq/"
Randomized with seed 1521710722
Finished in 1.4243 seconds
4 examples, 1 failure
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.