"value restriction" meaning in English

See value restriction in All languages combined, or Wiktionary

Noun

Head templates: {{en-noun|-}} value restriction (uncountable)
  1. (computer science, type theory) In a functional language, inference of a polymorphic type only for syntactic values (values that can be evaluated at compile time) to ensure that a program is type-safe. Tags: uncountable Categories (topical): Computer science
    Sense id: en-value_restriction-en-noun-4V01urI- Categories (other): English entries with incorrect language header Topics: computer, computing, engineering, mathematics, natural-sciences, physical-sciences, science, sciences

Download JSON data for value restriction meaning in English (1.9kB)

{
  "head_templates": [
    {
      "args": {
        "1": "-"
      },
      "expansion": "value restriction (uncountable)",
      "name": "en-noun"
    }
  ],
  "lang": "English",
  "lang_code": "en",
  "pos": "noun",
  "senses": [
    {
      "categories": [
        {
          "kind": "other",
          "name": "English entries with incorrect language header",
          "parents": [
            "Entries with incorrect language header",
            "Entry maintenance"
          ],
          "source": "w"
        },
        {
          "kind": "topical",
          "langcode": "en",
          "name": "Computer science",
          "orig": "en:Computer science",
          "parents": [
            "Computing",
            "Sciences",
            "Technology",
            "All topics",
            "Fundamental"
          ],
          "source": "w"
        }
      ],
      "examples": [
        {
          "ref": "2004, Jacques Garrigue, Relaxing the Value Restriction",
          "text": "A typical example is an expression returning always the empty list. It should be given the polymorphic type α list, but this is not possible under the value restriction if the expression has to be evaluated.",
          "type": "quotation"
        },
        {
          "ref": "2007, Geoffrey Smith, Notes on SML97's Value Restriction",
          "text": "It has been found empirically that eta expansion usually suffices for dealing with the value restriction.",
          "type": "quotation"
        }
      ],
      "glosses": [
        "In a functional language, inference of a polymorphic type only for syntactic values (values that can be evaluated at compile time) to ensure that a program is type-safe."
      ],
      "id": "en-value_restriction-en-noun-4V01urI-",
      "links": [
        [
          "computer science",
          "computer science"
        ],
        [
          "inference",
          "type inference"
        ],
        [
          "polymorphic",
          "polymorphic"
        ],
        [
          "type-safe",
          "type-safe"
        ]
      ],
      "qualifier": "type theory",
      "raw_glosses": [
        "(computer science, type theory) In a functional language, inference of a polymorphic type only for syntactic values (values that can be evaluated at compile time) to ensure that a program is type-safe."
      ],
      "tags": [
        "uncountable"
      ],
      "topics": [
        "computer",
        "computing",
        "engineering",
        "mathematics",
        "natural-sciences",
        "physical-sciences",
        "science",
        "sciences"
      ]
    }
  ],
  "word": "value restriction"
}
{
  "head_templates": [
    {
      "args": {
        "1": "-"
      },
      "expansion": "value restriction (uncountable)",
      "name": "en-noun"
    }
  ],
  "lang": "English",
  "lang_code": "en",
  "pos": "noun",
  "senses": [
    {
      "categories": [
        "English entries with incorrect language header",
        "English lemmas",
        "English multiword terms",
        "English nouns",
        "English terms with quotations",
        "English uncountable nouns",
        "Quotation templates to be cleaned",
        "en:Computer science"
      ],
      "examples": [
        {
          "ref": "2004, Jacques Garrigue, Relaxing the Value Restriction",
          "text": "A typical example is an expression returning always the empty list. It should be given the polymorphic type α list, but this is not possible under the value restriction if the expression has to be evaluated.",
          "type": "quotation"
        },
        {
          "ref": "2007, Geoffrey Smith, Notes on SML97's Value Restriction",
          "text": "It has been found empirically that eta expansion usually suffices for dealing with the value restriction.",
          "type": "quotation"
        }
      ],
      "glosses": [
        "In a functional language, inference of a polymorphic type only for syntactic values (values that can be evaluated at compile time) to ensure that a program is type-safe."
      ],
      "links": [
        [
          "computer science",
          "computer science"
        ],
        [
          "inference",
          "type inference"
        ],
        [
          "polymorphic",
          "polymorphic"
        ],
        [
          "type-safe",
          "type-safe"
        ]
      ],
      "qualifier": "type theory",
      "raw_glosses": [
        "(computer science, type theory) In a functional language, inference of a polymorphic type only for syntactic values (values that can be evaluated at compile time) to ensure that a program is type-safe."
      ],
      "tags": [
        "uncountable"
      ],
      "topics": [
        "computer",
        "computing",
        "engineering",
        "mathematics",
        "natural-sciences",
        "physical-sciences",
        "science",
        "sciences"
      ]
    }
  ],
  "word": "value restriction"
}

This page is a part of the kaikki.org machine-readable English dictionary. This dictionary is based on structured data extracted on 2024-05-03 from the enwiktionary dump dated 2024-05-02 using wiktextract (f4fd8c9 and c9440ce). The data shown on this site has been post-processed and various details (e.g., extra categories) removed, some information disambiguated, and additional data merged from other sources. See the raw data download page for the unprocessed wiktextract data.

If you use this data in academic research, please cite Tatu Ylonen: Wiktextract: Wiktionary as Machine-Readable Structured Data, Proceedings of the 13th Conference on Language Resources and Evaluation (LREC), pp. 1317-1325, Marseille, 20-25 June 2022. Linking to the relevant page(s) under https://kaikki.org would also be greatly appreciated.