haskell-servant/servant

greet.hs needs cleanup

Open

#1336 opened on Sep 2, 2020

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Haskell (1,953 stars) (422 forks)batch import
documentationhelp wantedservant-docs

Description

We currently have a haskell module in README.md and another one in example/greet.hs. I think the two have diverged at some point in the past, but even if they've always been different, there should only be one example, so I suggest:

  • replace the haskell code in README.md with a link to example/greet.hs
  • make sure that example/greet.hs contains all the information from the README.
  • add ci machinery that runs greet.hs and compares the output to greet.md, so the example can't get outdated any more.

Contributor guide