Documentation

Linglib.Core.WALS.Datapoint

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.

structure Core.WALS.Datapoint (V : Type) :

A single WALS datapoint, parameterized by the feature value type V.

Instances For
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      def Core.WALS.instBEqDatapoint.beq {V✝ : Type} [BEq V✝] :
      Datapoint V✝Datapoint V✝Bool
      Equations
      Instances For
        def Core.WALS.instDecidableEqDatapoint.decEq {V✝ : Type} [DecidableEq V✝] (x✝ x✝¹ : Datapoint V✝) :
        Decidable (x✝ = x✝¹)
        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          def Core.WALS.Datapoint.lookup {V : Type} [BEq V] (data : List (Datapoint V)) (code : String) :

          Look up a language by WALS code.

          Equations
          Instances For
            def Core.WALS.Datapoint.lookupISO {V : Type} [BEq V] (data : List (Datapoint V)) (iso : String) :

            Look up a language by ISO 639-3 code.

            Equations
            Instances For