hydra: The Hydra Haskell head: primitives, DSL infrastructure, generation driver
Hydra is an implementation of the LambdaGraph data model, which takes advantage of an isomorphism between labeled hypergraphs and typed lambda calculus: in Hydra, "graphs are programs, and programs are graphs". The Haskell head provides the hand-written Haskell runtime Hydra needs in order to build and regenerate itself: primitive libraries (Hydra.Lib.*), the embedded DSL infrastructure (Hydra.Dsl.*), the generation driver (Hydra.Generation), the kernel entry point (Hydra.Kernel), module support utilities, and the exec binaries that drive Hydra's Haskell code generation. It consumes the language-independent kernel DSL sources and generated kernel runtime from packageshydra-kernel, plus the Haskell coder DSL sources and generated output from packageshydra-haskell, and produces all Haskell-host build artifacts.
Modules
[Index] [Quick Jump]
- Com
- Gdblab
- Hydra
- Hydra.Adapt
- Hydra.Analysis
- Hydra.Annotations
- Hydra.Arity
- Hydra.Ast
- Hydra.Atlas
- Avro
- Azure
- Hydra.Checking
- Hydra.Classes
- Hydra.Codegen
- Hydra.Coders
- Hydra.Constants
- Hydra.Context
- Coq
- Hydra.Core
- Cpp
- Csharp
- Cypher
- Datalog
- Decode
- Hydra.Decode.Ast
- Hydra.Decode.Classes
- Hydra.Decode.Coders
- Hydra.Decode.Context
- Hydra.Decode.Core
- Error
- Hydra.Decode.Errors
- Json
- Hydra.Decode.Packaging
- Hydra.Decode.Parsing
- Hydra.Decode.Paths
- Pg
- Hydra.Decode.Phantoms
- Hydra.Decode.Query
- Hydra.Decode.Relational
- Hydra.Decode.Tabular
- Hydra.Decode.Testing
- Hydra.Decode.Topology
- Hydra.Decode.Typing
- Hydra.Decode.Util
- Hydra.Decode.Variants
- Hydra.Decoding
- Delta
- Demos
- Hydra.Demos.AvroBicoder
- Hydra.Demos.AvroToPropertyGraphs
- Genpg
- Hydra.Demos.Genpg.Demo
- Hydra.Demos.Genpg.ExampleDatabaseSchema
- Hydra.Demos.Genpg.ExampleGraphSchema
- Hydra.Demos.Genpg.ExampleMapping
- Examples
- Health
- Hydra.Demos.Genpg.Examples.Health.DatabaseSchema
- Hydra.Demos.Genpg.Examples.Health.GraphSchema
- Hydra.Demos.Genpg.Examples.Health.Mapping
- Sales
- Hydra.Demos.Genpg.Examples.Sales.DatabaseSchema
- Hydra.Demos.Genpg.Examples.Sales.GraphSchema
- Hydra.Demos.Genpg.Examples.Sales.Mapping
- Health
- Hydra.Demos.Genpg.GenerateJava
- Hydra.Demos.Genpg.GeneratePython
- Hydra.Demos.Genpg.Modules
- Hydra.Demos.Genpg.Rdf
- Hydra.Demos.Genpg.Runtime
- Hydra.Demos.Genpg.Transform
- Grad
- Hydra.Demos.GraphqlJson
- Hydra.Demos.MeteredEvaluation
- Shacl
- ValidatePg
- Hydra.Dependencies
- Hydra.Differentiation
- Hydra.Digest
- Dsl
- Hydra.Dsl.Annotations
- Hydra.Dsl.AsTerm
- Hydra.Dsl.AsType
- Hydra.Dsl.Ast
- Hydra.Dsl.Atlas
- Avro
- Azure
- Hydra.Dsl.Bootstrap
- Hydra.Dsl.Classes
- Hydra.Dsl.Coders
- Com
- Hydra.Dsl.Context
- Coq
- Hydra.Dsl.Core
- Cpp
- Csharp
- Cypher
- Datalog
- Deep
- Delta
- Error
- Hydra.Dsl.Errors
- Geojson
- Go
- Hydra.Dsl.Graph
- Graphql
- Graphviz
- Haskell
- Iana
- Java
- JavaScript
- Json
- Kusto
- Lisp
- Hydra.Dsl.LiteralTypes
- Hydra.Dsl.Literals
- Meta
- Hydra.Dsl.Meta.Base
- Hydra.Dsl.Meta.Common
- Hydra.Dsl.Meta.Context
- Hydra.Dsl.Meta.Core
- Hydra.Dsl.Meta.DeepCore
- Hydra.Dsl.Meta.Graph
- Lib
- Hydra.Dsl.Meta.Lib.Chars
- Hydra.Dsl.Meta.Lib.Eithers
- Hydra.Dsl.Meta.Lib.Equality
- Hydra.Dsl.Meta.Lib.Lists
- Hydra.Dsl.Meta.Lib.Literals
- Hydra.Dsl.Meta.Lib.Logic
- Hydra.Dsl.Meta.Lib.Maps
- Hydra.Dsl.Meta.Lib.Math
- Hydra.Dsl.Meta.Lib.Maybes
- Hydra.Dsl.Meta.Lib.Pairs
- Hydra.Dsl.Meta.Lib.Regex
- Hydra.Dsl.Meta.Lib.Sets
- Hydra.Dsl.Meta.Lib.Strings
- Hydra.Dsl.Meta.Literals
- Hydra.Dsl.Meta.Phantoms
- Hydra.Dsl.Meta.Tabular
- Hydra.Dsl.Meta.Terms
- Hydra.Dsl.Meta.Testing
- Hydra.Dsl.Meta.Types
- Hydra.Dsl.Meta.Variants
- OpenGql
- Osv
- Owl
- Hydra.Dsl.Packaging
- Parquet
- Hydra.Dsl.Parsing
- Hydra.Dsl.Paths
- Pegasus
- Pg
- Hydra.Dsl.Prims
- Protobuf
- Python
- Hydra.Dsl.Query
- Rdf
- Hydra.Dsl.Relational
- Rust
- Scala
- Shacl
- Shex
- Sql
- Stac
- Hydra.Dsl.Tabular
- Hydra.Dsl.Terms
- Hydra.Dsl.Testing
- Hydra.Dsl.Tests
- Tinkerpop
- Hydra.Dsl.Topology
- TypeScript
- Hydra.Dsl.Types
- Hydra.Dsl.Typing
- Hydra.Dsl.Util
- Hydra.Dsl.Variants
- Hydra.Dsl.Workflow
- Xml
- Yaml
- Hydra.Dsls
- Encode
- Hydra.Encode.Ast
- Hydra.Encode.Classes
- Hydra.Encode.Coders
- Hydra.Encode.Context
- Hydra.Encode.Core
- Error
- Hydra.Encode.Errors
- Json
- Hydra.Encode.Packaging
- Hydra.Encode.Parsing
- Hydra.Encode.Paths
- Pg
- Hydra.Encode.Phantoms
- Hydra.Encode.Query
- Hydra.Encode.Relational
- Hydra.Encode.Tabular
- Hydra.Encode.Testing
- Hydra.Encode.Topology
- Hydra.Encode.Typing
- Hydra.Encode.Util
- Hydra.Encode.Variants
- Hydra.Encoding
- Hydra.Environment
- Error
- Hydra.Errors
- Eval
- Hydra.ExtGeneration
- Extract
- Hydra.Formatting
- Hydra.Generation
- Geojson
- Go
- Hydra.Graph
- Graphql
- Graphviz
- Haskell
- Hydra.Hoisting
- Iana
- Hydra.Inference
- Java
- JavaScript
- Json
- Hydra.Kernel
- Kusto
- Hydra.Languages
- Hydra.Lexical
- Lib
- Lisp
- Hydra.Literals
- Hydra.Minimal
- Module
- Hydra.Names
- Osv
- Owl
- Hydra.PackageRouting
- Hydra.Packaging
- Parquet
- Hydra.Parsers
- Hydra.Parsing
- Hydra.Paths
- Pegasus
- Pg
- Hydra.Phantoms
- Hydra.Predicates
- Protobuf
- Python
- Hydra.Query
- Rdf
- Hydra.Reduction
- Hydra.Reflect
- Hydra.Relational
- Hydra.Resolution
- Hydra.Rewriting
- Rust
- Scala
- Hydra.Scoping
- Hydra.Serialization
- Hydra.Settings
- Shacl
- Shex
- Show
- Hydra.Sorting
- Sources
- Hydra.Sources.All
- Avro
- Coq
- Cpp
- Csharp
- Cypher
- Decode
- Hydra.Sources.Decode.Ast
- Hydra.Sources.Decode.Classes
- Hydra.Sources.Decode.Coders
- Hydra.Sources.Decode.Context
- Hydra.Sources.Decode.Core
- Error
- Hydra.Sources.Decode.Errors
- Json
- Hydra.Sources.Decode.Packaging
- Hydra.Sources.Decode.Parsing
- Hydra.Sources.Decode.Paths
- Pg
- Hydra.Sources.Decode.Phantoms
- Hydra.Sources.Decode.Query
- Hydra.Sources.Decode.Relational
- Hydra.Sources.Decode.Tabular
- Hydra.Sources.Decode.Testing
- Hydra.Sources.Decode.Topology
- Hydra.Sources.Decode.Typing
- Hydra.Sources.Decode.Util
- Hydra.Sources.Decode.Variants
- Delta
- Demos
- Encode
- Hydra.Sources.Encode.Ast
- Hydra.Sources.Encode.Classes
- Hydra.Sources.Encode.Coders
- Hydra.Sources.Encode.Context
- Hydra.Sources.Encode.Core
- Error
- Hydra.Sources.Encode.Errors
- Json
- Hydra.Sources.Encode.Packaging
- Hydra.Sources.Encode.Parsing
- Hydra.Sources.Encode.Paths
- Pg
- Hydra.Sources.Encode.Phantoms
- Hydra.Sources.Encode.Query
- Hydra.Sources.Encode.Relational
- Hydra.Sources.Encode.Tabular
- Hydra.Sources.Encode.Testing
- Hydra.Sources.Encode.Topology
- Hydra.Sources.Encode.Typing
- Hydra.Sources.Encode.Util
- Hydra.Sources.Encode.Variants
- Error
- Eval
- Hydra.Sources.Ext
- Go
- Gql
- Graphql
- Graphviz
- Haskell
- Java
- JavaScript
- Json
- Kernel
- Lib
- Hydra.Sources.Kernel.Manifest
- Terms
- Hydra.Sources.Kernel.Terms.Adapt
- Hydra.Sources.Kernel.Terms.All
- Hydra.Sources.Kernel.Terms.Analysis
- Hydra.Sources.Kernel.Terms.Annotations
- Hydra.Sources.Kernel.Terms.Arity
- Hydra.Sources.Kernel.Terms.Checking
- Hydra.Sources.Kernel.Terms.Constants
- Hydra.Sources.Kernel.Terms.Decoding
- Hydra.Sources.Kernel.Terms.Dependencies
- Hydra.Sources.Kernel.Terms.Differentiation
- Hydra.Sources.Kernel.Terms.Dsls
- Hydra.Sources.Kernel.Terms.Encoding
- Hydra.Sources.Kernel.Terms.Environment
- Extract
- Hydra.Sources.Kernel.Terms.Formatting
- Hydra.Sources.Kernel.Terms.Generation
- Hydra.Sources.Kernel.Terms.Hoisting
- Hydra.Sources.Kernel.Terms.Inference
- Hydra.Sources.Kernel.Terms.Languages
- Hydra.Sources.Kernel.Terms.Lexical
- Hydra.Sources.Kernel.Terms.Literals
- Hydra.Sources.Kernel.Terms.Names
- Hydra.Sources.Kernel.Terms.Parsers
- Hydra.Sources.Kernel.Terms.Predicates
- Hydra.Sources.Kernel.Terms.Reduction
- Hydra.Sources.Kernel.Terms.Reflect
- Hydra.Sources.Kernel.Terms.Resolution
- Hydra.Sources.Kernel.Terms.Rewriting
- Hydra.Sources.Kernel.Terms.Scoping
- Hydra.Sources.Kernel.Terms.Serialization
- Show
- Hydra.Sources.Kernel.Terms.Sorting
- Hydra.Sources.Kernel.Terms.Strip
- Hydra.Sources.Kernel.Terms.Substitution
- Hydra.Sources.Kernel.Terms.Templates
- Hydra.Sources.Kernel.Terms.Unification
- Validate
- Hydra.Sources.Kernel.Terms.Variables
- Types
- Hydra.Sources.Kernel.Types.All
- Hydra.Sources.Kernel.Types.Ast
- Hydra.Sources.Kernel.Types.Classes
- Hydra.Sources.Kernel.Types.Coders
- Hydra.Sources.Kernel.Types.Context
- Hydra.Sources.Kernel.Types.Core
- Error
- Hydra.Sources.Kernel.Types.Errors
- Hydra.Sources.Kernel.Types.Graph
- Hydra.Sources.Kernel.Types.Packaging
- Hydra.Sources.Kernel.Types.Parsing
- Hydra.Sources.Kernel.Types.Paths
- Hydra.Sources.Kernel.Types.Phantoms
- Hydra.Sources.Kernel.Types.Query
- Hydra.Sources.Kernel.Types.Relational
- Hydra.Sources.Kernel.Types.Tabular
- Hydra.Sources.Kernel.Types.Testing
- Hydra.Sources.Kernel.Types.Topology
- Hydra.Sources.Kernel.Types.Typing
- Hydra.Sources.Kernel.Types.Util
- Hydra.Sources.Kernel.Types.Variants
- Kusto
- Hydra.Sources.Libraries
- Lisp
- Other
- Owl
- Parquet
- Pegasus
- Pg
- Protobuf
- Python
- Rdf
- Rust
- Scala
- Shacl
- Shex
- Sql
- Test
- Hydra.Sources.Test.All
- Hydra.Sources.Test.Annotations
- Checking
- Hydra.Sources.Test.Dependencies
- Hydra.Sources.Test.Differentiation
- Hydra.Sources.Test.EtaExpansion
- Hydra.Sources.Test.Formatting
- Hydra.Sources.Test.Generation
- Hoisting
- Inference
- Hydra.Sources.Test.Inference.AlgebraicTypes
- Hydra.Sources.Test.Inference.AlgorithmW
- Hydra.Sources.Test.Inference.All
- Hydra.Sources.Test.Inference.Classes
- Hydra.Sources.Test.Inference.Failures
- Hydra.Sources.Test.Inference.Fundamentals
- Hydra.Sources.Test.Inference.KernelExamples
- Hydra.Sources.Test.Inference.NominalTypes
- Json
- Lib
- Hydra.Sources.Test.Lib.Chars
- Hydra.Sources.Test.Lib.Eithers
- Hydra.Sources.Test.Lib.Equality
- Hydra.Sources.Test.Lib.Lists
- Hydra.Sources.Test.Lib.Literals
- Hydra.Sources.Test.Lib.Logic
- Hydra.Sources.Test.Lib.Maps
- Hydra.Sources.Test.Lib.Math
- Hydra.Sources.Test.Lib.Maybes
- Hydra.Sources.Test.Lib.Pairs
- Hydra.Sources.Test.Lib.Regex
- Hydra.Sources.Test.Lib.Sets
- Hydra.Sources.Test.Lib.Strings
- Hydra.Sources.Test.Ordering
- Hydra.Sources.Test.Reduction
- Hydra.Sources.Test.Rewriting
- Hydra.Sources.Test.Serialization
- Hydra.Sources.Test.Sorting
- Hydra.Sources.Test.Strip
- Hydra.Sources.Test.Substitution
- Hydra.Sources.Test.TestEnv
- Hydra.Sources.Test.TestGraph
- Hydra.Sources.Test.TestSuite
- Hydra.Sources.Test.TestTerms
- Hydra.Sources.Test.TestTypes
- Hydra.Sources.Test.Transform
- Hydra.Sources.Test.Unification
- Hydra.Sources.Test.Utils
- Validate
- Hydra.Sources.Test.Variables
- Tinkerpop
- TypeScript
- Validate
- Wasm
- Hydra.Sources.Workflow
- Xml
- Yaml
- Sql
- Stac
- Hydra.Strip
- Hydra.Substitution
- Hydra.Tabular
- Hydra.Templates
- Test
- Hydra.Testing
- Tinkerpop
- Tools
- Hydra.Topology
- TypeScript
- Hydra.Typing
- Hydra.Unification
- Hydra.Util
- Validate
- Hydra.Variables
- Hydra.Variants
- Wasm
- Hydra.Workflow
- Xml
- Yaml
- OpenGql
Downloads
- hydra-0.15.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
| Versions [RSS] | 0.1.0, 0.1.1, 0.5.0, 0.5.1, 0.8.0, 0.12.0, 0.13.0, 0.14.0, 0.15.0 |
|---|---|
| Dependencies | aeson (>=2.1.0 && <2.3), base (>=4.19.0 && <4.22), base64-bytestring (>=1.2.1 && <1.3), bytestring (>=0.11.5 && <0.13), containers (>=0.6.7 && <0.8), directory (>=1.3.6 && <1.4), filepath (>=1.4.200 && <1.6), hspec (>=2.11.0 && <2.12), hydra, regex-tdfa (>=1.3.2 && <1.4), scientific (>=0.3.7 && <0.4), SHA (>=1.6.4 && <1.7), split (>=0.2.3 && <0.3), text (>=2.0.2 && <2.2), time, vector (>=0.12.0 && <0.14) [details] |
| License | Apache-2.0 |
| Author | Joshua Shinavier <josh@fortytwo.net> |
| Maintainer | Joshua Shinavier <josh@fortytwo.net> |
| Uploaded | by joshsh at 2026-04-30T05:25:37Z |
| Category | Data |
| Home page | https://github.com/CategoricalData/hydra#readme |
| Bug tracker | https://github.com/CategoricalData/hydra/issues |
| Source repo | head: git clone https://github.com/CategoricalData/hydra |
| Distributions | |
| Executables | verify-json-kernel, update-wasm, update-json-test, update-json-manifest, update-json-main, update-json-kernel, transform-haskell-dsl-to-json, generate-coq-tests, generate-coq, digest-check, diag-module, bootstrap-from-json |
| Downloads | 422 total (31 in the last 30 days) |
| Rating | 2.25 (votes: 2) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs uploaded by user [build log] All reported builds failed as of 2026-04-30 [all 2 reports] |