shroom-class: Type-description classes and Template Haskell for shroom

[ ai, bsd3, library ] [ Propose Tags ] [ Report a vulnerability ]

shroom-class holds the type-description classes of shroom: Describable names a type for a model, and Surveyable adds the properties its values must satisfy, as pure Haskell functions, and example values. Template Haskell derives Describable from Haddock comments and type, constructor and field names, so what a human reader sees of a type is the description the model reads, and an empty Surveyable instance does the rest. The package has no prompting runtime and depends on no HTTP client and no effect system. It is the base of shroom, which runs prompts, and of shroom-baikai, which connects them to a real model.

Modules

  • Data
    • Shroom
      • Data.Shroom.Class
        • Data.Shroom.Class.TH

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0
Change log CHANGELOG.md
Dependencies aeson (>=2.2 && <2.3), base (>=4.20 && <4.22), containers (>=0.6 && <0.8), generics-sop (>=0.5.1 && <0.6), openapi3 (>=3.2 && <3.3), template-haskell (>=2.22 && <2.25), text (>=2.1.2 && <2.2), time (>=1.14 && <1.15), universe-base (>=1.1 && <1.2) [details]
Tested with ghc ==9.12
License BSD-3-Clause
Author Manuel Bärenz
Maintainer programming@manuelbaerenz.de
Uploaded by turion at 2026-11-27T12:25:38Z
Category AI
Distributions
Reverse Dependencies 1 direct, 1 indirect [details]
Downloads 0 total (0 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2026-11-27 [all 1 reports]