haskell-servant/servant

greet.hs needs cleanup

Open

#1,336 创建于 2020年9月2日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Haskell (1,953 star) (422 fork)batch import
documentationhelp wantedservant-docs

描述

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.

贡献者指南