packages feed

sloane 4.0.0 → 4.0.1

raw patch · 4 files changed

+14/−17 lines, 4 files

Files

README.md view
@@ -3,7 +3,7 @@ A command line interface to [The On-Line Encyclopedia of Integer Sequences](http://oeis.org). -![demo](demo.gif)+![demo](https://github.com/akc/sloane/raw/master/demo.gif)  ## Install @@ -21,4 +21,4 @@  ## Usage -See the [man page](sloane.md).+See the [man page](https://github.com/akc/sloane/blob/master/sloane.md).
sloane.1 view
@@ -4,15 +4,15 @@ sloane: A command line interface to Sloane\[aq]s OEIS. .SH SYNOPSIS .PP-\f[B]sloane\f[] OPTIONS \-\-oeis TERMS...+\f[B]sloane\f[] \f[C]OPTIONS\ \-\-oeis\ TERMS...\f[] .PD 0 .P .PD-\f[B]sloane\f[] OPTIONS (\-q|\-\-query) A\-NUMBER/SEQUENCE...+\f[B]sloane\f[] \f[C]OPTIONS\ (\-q|\-\-query)\ A\-NUMBER/SEQUENCE...\f[] .PD 0 .P .PD-\f[B]sloane\f[] [\-\-invert] \-\-filter+\f[B]sloane\f[] \f[C][\-\-invert]\ \-\-filter\f[] .SH DESCRIPTION .PP The \f[C]sloane\f[] command provides an interface to OEIS (The On\-Line@@ -22,8 +22,7 @@ .SH OPERATION \-\-oeis .SS Synopsis .PP-sloane [\-\-long] [\-k KEYS] [\-n N] [\-\-all] [\-\-monochrome]-[\-\-json] \-\-oeis TERMS...+\f[C]sloane\ [\-\-long]\ [\-k\ KEYS]\ [\-n\ N]\ [\-\-all]\ [\-\-monochrome]\ [\-\-json]\ \-\-oeis\ TERMS...\f[] .SS Description .PP Lookup search terms in Sloane\[aq]s On\-Line Encyclopedia of Integer@@ -111,17 +110,15 @@ .SH OPERATION \-\-query .SS Synopsis .PP-sloane [\-\-long] [\-k KEYS] [\-n N] [\-\-all] [\-\-monochrome]-[\-\-json] (\-q|\-\-query) A\-NUMBER/SEQUENCE...+\f[C]sloane\ [\-\-long]\ [\-k\ KEYS]\ [\-n\ N]\ [\-\-all]\ [\-\-monochrome]\ [\-\-json]\ (\-q|\-\-query)\ A\-NUMBER/SEQUENCE...\f[] .SS Description .PP Search locally against a downloaded local database of known sequences. This type of query is less flexible, but faster, than using the-\f[C]\-\-oeis\f[] operation: With \f[C]sloane\ \-\-query\f[] one can-only lookup A\-numbers and seqences; free text searches are not-supported.-Also, the fields returned by \f[C]sloane\ \-\-query\f[] are \[aq]S\[aq]-and \[aq]N\[aq].+\f[C]\-\-oeis\f[] operation: With \f[C]\-\-query\f[] one can only lookup+A\-numbers and seqences; free text searches are not supported.+Also, the fields returned by \f[C]\-\-query\f[] are \[aq]S\[aq] and+\[aq]N\[aq]. .SS Examples .PP Lookup A\-numbers:@@ -157,7 +154,7 @@ .SH OPERATION \-\-filter .SS Synopsis .PP-sloane [\-\-invert] \-\-filter+\f[C]sloane\ [\-\-invert]\ \-\-filter\f[] .SS Description .PP To check a large number of sequences one can use \f[C]\-\-filter\f[].
sloane.cabal view
@@ -1,5 +1,5 @@ Name:                sloane-Version:             4.0.0+Version:             4.0.1 Synopsis:            A command line interface to Sloane's OEIS.  Description:         A command line interface to Sloane's On-Line Encyclopedia of
sloane.hs view
@@ -36,7 +36,7 @@ import Sloane.Bloom import Sloane.DB -nameVer  = "sloane 4.0.0"                 :: String+nameVer  = "sloane 4.0.1"                 :: String oeisURL  = "https://oeis.org/search"      :: URL strpdURL = "https://oeis.org/stripped.gz" :: URL namesURL = "https://oeis.org/names.gz"    :: URL