WALS Generic Datapoint #
Shared infrastructure for all 192 WALS feature files. Each feature file
defines its own inductive type for feature values and a List (Datapoint V)
of observations. The generic lookup functions and datapoint structure
live here.
See Core/WALS/Features/ for the per-feature data files, auto-generated
by python3 scripts/gen_wals.py.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Core.WALS.instReprDatapoint = { reprPrec := Core.WALS.instReprDatapoint.repr }
Equations
- One or more equations did not get rendered due to their size.
- Core.WALS.instBEqDatapoint.beq x✝¹ x✝ = false
Instances For
Equations
instance
Core.WALS.instDecidableEqDatapoint
{V✝ : Type}
[DecidableEq V✝]
:
DecidableEq (Datapoint V✝)
Equations
- One or more equations did not get rendered due to their size.
Instances For
Look up a language by WALS code.
Equations
- Core.WALS.Datapoint.lookup data code = List.find? (fun (x : Core.WALS.Datapoint V) => x.walsCode == code) data
Instances For
Look up a language by ISO 639-3 code.
Equations
- Core.WALS.Datapoint.lookupISO data iso = List.find? (fun (x : Core.WALS.Datapoint V) => x.iso == iso) data