scotty-web / scotty

Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp (Official Repository)
http://hackage.haskell.org/package/scotty
BSD 3-Clause "New" or "Revised" License
1.71k stars 132 forks source link

Add usage examples at the top of the user-facing modules #341

Closed ocramz closed 7 months ago

ocramz commented 9 months ago

Best would be to use doctest in the Haddock documentation, see e.g https://quchen.github.io/generative-art/generative-art-0.1.0.0/src/Geometry.Core.html for a cool example