linear-smc: Build SMC morphisms using linear types

[ lgpl, library, math ] [ Propose Tags ]

A number of domain specific languages, such as circuits or data-science workflows, are best expressed as diagrams of boxes connected by wires. A faithful abstraction of box-and-wires is Symmetric Monoidal Categories (SMCs) This library allows one to program SMCs with linear functions instead of SMC combinators. This is done without resorting to template haskell or compiler plugins. The rationale, design and implementation of this library is provided by the paper "Evaluating Linear Functions to Symmetric Monoidal Categories", by Jean-Philippe Bernardy and Arnaud Spiwack, appearing at Haskell Symposium 2021.

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 1.0.0, 1.0.1, 1.1.1, 2.0.1, 2.0.2, 2.2.2, 2.2.3
Dependencies base (>=4.13 && <666), constraints [details]
License LGPL-3.0-or-later
Author Jean-Philippe Bernardy
Maintainer jeanphilippe.bernardy@gmail.com
Category control
Uploaded by JeanPhilippeBernardy at 2023-05-24T06:56:20Z
Distributions NixOS:2.2.3
Downloads 357 total (19 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2023-05-24 [all 1 reports]