stitch alternatives and similar packages
Based on the "Web" category.
Alternatively, view stitch alternatives based on common mentions on social networks and blogs.
-
servant
Servant is a Haskell DSL for describing, serving, querying, mocking, documenting web applications and more! -
swagger-petstore
swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition. -
haskell-bitmex-rest
swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition. -
neuron
Future-proof note-taking and publishing based on Zettelkasten (superseded by Emanote: https://github.com/srid/emanote) -
tagsoup
Haskell library for parsing and extracting information from (possibly malformed) HTML/XML documents -
keera-hails-reactive-htmldom
Keera Hails: Haskell on Rails - Reactive Programming Framework for Interactive Haskell applications -
ghcjs-dom
Make Document Object Model (DOM) apps that run in any browser and natively using WebKitGtk
CodeRabbit: AI Code Reviews for Developers

* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of stitch or a related project?
README
Stitch 
a tiny css dsl for haskell
this haskell code:
import Stitch
style :: CSS
style = "body" ? do
"h1" ? do
"color" .= "#444"
"a" ? do
"color" .= "#448"
"&:hover" ?
"color" .= "#44F"
"font" -: do
"family" .= "Open Sans, sans"
"size" .= "1.4em"
"weight" .= "bold"
turns into this:
body h1 {
color: #444;
font-family: Open Sans, sans;
font-size: 1.4em;
font-weight: bold
}
body h1 a {
color: #448
}
body h1 a:hover {
color: #44F
}
stitch doesn't do any type-checking of css properties and probably won't in the future. it's intended to be a flexible and more composable way of building stylesheets in haskell, and it also includes a monad transformer for potentially interesting shenanigans.
the core of the library is contained in the StitchT
monad transformer, and the renderCSS
, ?
and .=
functions. the simplest way to use the library is simply to build up a CSS representation using the monad instance and then convert it to text with renderCSS
. it's also possible to get a abstract representation of the CSS tree with runStitchT
, but this is rarely useful.
stitch was designed to be a lighter version of clay that's a bit more flexible and less limiting. it won't catch css errors at compile time, but it also won't add Prelude conflicts or prevent you from using some of the more obscure css features.
for a commented example of how to use the library, check Stitch.Example
.