devforms 0.1.0.0 → 0.1.0.1
raw patch · 1 files changed
+1/−12 lines, 1 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- devforms.cabal +1/−12
devforms.cabal view
@@ -1,23 +1,12 @@ cabal-version: 3.0 name: devforms-version: 0.1.0.0+version: 0.1.0.1 synopsis: A builder DSL for HTML survey forms with built-in server and storage description: devforms is a Haskell library for building HTML survey forms using a monadic builder DSL. It bundles a Scotty web server with htmx and _hyperscript for client-side interactivity, Lucid2 for HTML rendering, and Pico CSS for styling. Submissions are stored as JSONL files.- .- @- import DevForms- .- main :: IO ()- main = devFormServer 9000 $ do- \ form "My survey" "mysurvey" $ do- \ questionLikert "I enjoy surveys"- \ questionChoice "Favourite colour" ["Red", "Green", "Blue"]- \ questionDate "Pick a date"- @ license: BSD-3-Clause license-file: LICENSE author: Lassi Haasio