haskell-servant/servant

greet.hs needs cleanup

Open

#1 336 ouverte le 2 sept. 2020

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)Haskell (422 forks)batch import
documentationhelp wantedservant-docs

Métriques du dépôt

Stars
 (1 953 stars)
Métriques de merge PR
 (Merge moyen 23h 44m) (4 PRs mergées en 30 j)

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.

Guide contributeur