tvl-depot/assessments/semiprimes/server
William Carroll 8c5e4e77ed Expose functions at API layer
Creating a simple HTTP RESTful API for exposing our `Server.semiprime`
function. It supports some help messages, primitive parsing and error handling,
and singular vs. batch processing of arguments.

For more sophisticated parsing and error-checking, I prefer to use Haskell's
Servant library.
2020-12-12 02:43:40 +00:00
..
lib Expose functions at API layer 2020-12-12 02:43:40 +00:00
test Include cache hit/miss info in return type 2020-12-12 02:43:35 +00:00
.formatter.exs Init Elixir project 2020-12-11 22:42:16 +00:00
.gitignore Init Elixir project 2020-12-11 22:42:16 +00:00
mix.exs Expose functions at API layer 2020-12-12 02:43:40 +00:00
mix.lock Expose functions at API layer 2020-12-12 02:43:40 +00:00
README.md Init Elixir project 2020-12-11 22:42:16 +00:00

Server

TODO: Add description

Installation

If available in Hex, the package can be installed by adding server to your list of dependencies in mix.exs:

def deps do
  [
    {:server, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/server.