Automic VaultAutomic Vault

brew

Installer koka avec Homebrew, apk, Nix

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de koka pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install koka

local Homebrew formula metadata

Linux

Alpine Linux apkvérifié · 92%
sudo apk add koka

Alpine Linux edge package indexes · koka · Source: dl-cdn.alpinelinux.org

Nixvérifié · 92%
nix profile install nixpkgs#koka

nixpkgs package indexes · pkgs/by-name/ko/koka/package.nix · Source: api.github.com

aperçu

Résumé du paquet

Compiler for the Koka language

historique

Historique du projet et usages

Koka is a research programming language and compiler centered on effect types, algebraic effect handlers, and functional programming with practical compilation. In package-manager terms, it is a small but notable language-runtime package: not mainstream production infrastructure, but a living research compiler users can install with one command.

Historique du projet

Microsoft Research records the Koka project as established on 2012-04-13. Daan Leijen's project materials describe it as a strongly typed functional-style language with effect types and handlers, using a small core of composable language features rather than many special-case extensions.

Koka's early academic identity was tied to row-polymorphic effect types. The 2014 paper 'Koka: Programming with Row-polymorphic Effect Types' describes Koka as implementing the effect system and being used for small to medium examples. Later work pushed effect handlers and efficient implementation techniques, including 2021 ICFP work on generalized evidence passing for effect handlers.

The v3 documentation dated 2026-03-17 describes Koka v3 as a research language under development, stable enough that the compiler implements the full specification, but lacking mature async libraries and package management. That positioning explains why package-manager availability is useful even though the language is not a broad application platform.

Historique d'adoption

Koka's adoption is primarily academic and experimental. It is used to explore effect typing, handlers, Perceus optimized reference counting, reuse analysis, and functional-but-in-place programming ideas rather than to anchor a large industrial ecosystem.

Homebrew, Alpine, and Nix packaging make it easier for programming-language researchers, students, and curious developers to run the compiler without building the Haskell/C toolchain path manually. That matters because research languages often fail at the first install step; a package keeps the barrier low.

Modes d'utilisation

Users install Koka to compile and experiment with `.kk` programs, run examples from the language book, explore effect handlers, and test language-design ideas around typed effects and memory management. The command-line compiler is the main package surface.

Because the documentation explicitly notes missing package management and limited async libraries, Koka is best understood as a language lab and compiler package rather than a general-purpose runtime ecosystem comparable to Go, Rust, Python, or Haskell.

Pourquoi les passionnés de paquets s'y intéressent

Koka is the kind of package that makes language-runtime sections interesting: it exposes active programming-language research through a normal package manager. Its presence beside production compilers lets users compare how ideas such as algebraic effects and handlers move from papers into runnable tools.

It also shows the long tail of package indexes. Not every compiler package is there for production deployment; some are there because a reproducible install is the difference between reading a paper and trying the idea.

Chronologie

  • 2012-04-13: Microsoft Research records the Koka project as established.
  • 2014: Daan Leijen published work on Koka and row-polymorphic effect types.
  • 2021-08-23: The Koka book notes ICFP 2021 work on generalized evidence passing for effect handlers.
  • 2024-01-13: GitHub release metadata records Koka v3.0.0.
  • 2026-03-17: The Koka book dated 2026-03-17 documents Koka v3.2.3.

Related projects

  • Koka belongs near research and functional languages such as Haskell, OCaml, Eff, Links, and Multicore OCaml discussions of algebraic effects. Its implementation work also relates to compiler research on reference counting, effect-handler compilation, and typed intermediate representations.

posture de sécurité

Niveau de risque : vert

narrow executable package without higher-risk signals.

Classificateur de risque

risque vert · confiance faible · appliance

Pourquoi

  • narrow executable package without higher-risk signals

Signaux

  • metadata:no-higher-risk-signals

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 6 plateformes.
  • S’installe avec 1 dépendances d’exécution.
  • Les métadonnées de compilation listent 3 dépendances de compilation.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.

exécutables

Exécutables installés

CommandeTypeExpositionNote
kokacliexécutable global

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-07-25
version du gestionnaire3.2.3
gestionnaire mis à jour2026-07-22
données localesOK
amontnot checked
dernière version détectéenon détecté

https://github.com/koka-lang/koka

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:koka
Version3.2.3
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/koka
Page d'accueilhttp://koka-lang.org
Dépôthttps://github.com/koka-lang/koka
Docs amonthttps://koka-lang.github.io/koka/doc/book.html
LicenceApache-2.0
Archive sourcehttps://github.com/koka-lang/koka.git
Dernière mise à jour2026-07-22T15:59:16Z
Pulseupdated
Dépendancesgmp
Dépendances de compilationcabal-install, ghc, pcre2
Bibliothèques fournies par macOSlibffi
Bouteilledisponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namekoka
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

Nix95%

koka

nix profile install nixpkgs#koka
  • normalized package name match
  • Correspondance par : Koka
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ko/koka/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

koka 3.2.2-r1

Strongly typed functional-style language with effect types and handlers

https://koka-lang.github.io/

sudo apk add koka
  • License: Apache-2.0 AND MIT
  • Architecture: x86_64
  • Source Package: koka
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Koka
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: koka from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment