@hackage MiniAgda0.2025.7.23
A toy dependently typed programming language with type-based termination.
Categories
License
MIT
Maintainer
Andreas Abel <andreas.abel@cse.gu.se>
Links
Versions
- 0.2025.7.23 Wed, 23 Jul 2025
- 0.2022.3.11 Wed, 23 Jul 2025
- 0.2020.4.14 Tue, 14 Apr 2020
- 0.2019.12.13 Fri, 13 Dec 2019
- 0.2019.3.29 Sat, 30 Mar 2019
- 0.2018.11.6 Fri, 29 Mar 2019 Show all…
Installation
Tested Compilers
Dependencies (9)
- array >=0.3 && <0.6
- base >=4.9 && <5
- containers >=0.3 && <1
- haskell-src-exts >=1.21 && <1.22
- mtl >=2.2.1 && <2.4
- optparse-applicative >=0.16.0.0 && <1 Show all…
Dependents (1)
@hackage/acme-everything
MiniAgda
A prototypical dependently typed languages with sized types and variances.
Installation from Hackage
Requires ghc and cabal, for instance via the Haskell Platform or via ghcup.
In a shell, type
cabal update
cabal install MiniAgda
Installation from Stackage
MiniAgda is not on Stackage because it depends on a specific version of haskell-src-exts rather than the latest version.
You can install with stack from source though, see next section.
Installation from source
-
Obtain the sources.
git clone https://github.com/andreasabel/miniagda cd miniagda -
Checkout the desired version (optional): If you want to build a released version or a branch rather than the latest
master, switch to this version/branch.git checkout $REFE.g.
REF = v0.2022.3.11for version0.2022.3.11orREF = unfoldfor branchunfold. -
Building and running the tests (optional).
-
With
cabal(requiresghcin your PATH):cabal build --enable-tests cabal testAfter building, you can run MiniAgda locally, e.g.:
cabal run miniagda -- examples/Gcd/gcd.ma -
With
stack:stack build --stack-yaml=stack-$GHCVER.yaml stack test --stack-yaml=stack-$GHCVER.yamlAt the time of writing (2025-07-23),
GHCVERcan be any of9.12,9.10,9.8,9.6, and some older ones.After building, you can run MiniAgda locally, e.g.:
stack run --stack-yaml=stack-9.12.yaml -- examples/Gcd/gcd.maYou can copy
stack-$GHCVER.yamlfor your choice ofGHCVERintostack.yamland drop the--stack-yamlargument fromstackinvocation.
-
-
Install.
- With
cabal(requiresghcin your PATH):cabal install - With
stack:stack install --stack-yaml=stack-$GHCVER.yaml
Note that the respective installation directory should be on your PATH.
- With
Examples
See directories test/succeed/ and examples/.
Some examples are commented on the (dormant) MiniAgda blog.