haskell-servant/servant

greet.hs needs cleanup

Open

#1.336 aberto em 2 de set. de 2020

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)Haskell (422 forks)batch import
documentationhelp wantedservant-docs

Métricas do repositório

Stars
 (1.953 stars)
Métricas de merge de PR
 (Mesclagem média 23h 44m) (4 fundiu PRs em 30d)

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.

Guia do colaborador