Jaql

1 program Added 2026-02-27T12:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: enabled Evidence Report issue View issues
Aliases: JaQL, JAQL
Provenance: commit aafcdfad45 · authored 2026-02-27T20:04:29+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

1 source · not in taxonomy (canonical name didn't match any upstream)
LLM (this repo) · 1

Related languages

JTcl (0.27)Jael (0.23)JoCaml (0.23)Jakt (0.18)Jank (0.18)

LLM-contributed programs

Variance Function

Provenance: commit aafcdfad45 · authored 2026-02-27T20:04:29+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch enabled
code.jaql · added: 2026-02-27T12:00:00Z
$var = fn($items) (
  $init =
  for( $i in $items )
  if( not isnull($i) )
  [{ n: 1, s1: $i, s2: $i*$i }],
  $combined =
  combine( $a, $b in $init )
  { n: $a.n + $b.n,
    s1: $a.s1 + $b.s1,
    s2: $a.s2 + $b.s2 },
  $E_X = $combined.s1 / $combined.n,
  $E_X2 = $combined.s2 / $combined.n,
  $E_X2 - $E_X * $E_X
);

Contribute — propose a file extension

Tell us where to find evidence about Jaql (mapped to pl/jaql). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/Jaql/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← JAQAL jaqt →