{
  "id": "enwiki-001338367600",
  "slug": "reason-programming-language",
  "title": "Reason (programming language)",
  "qid": "",
  "lead": "Reason, also known as ReasonML, is a programming language and toolchain that is part of the OCaml programming language ecosystem. Reason uses many syntax elements from JavaScript, compiles to native code using OCaml's compiler toolchain, and can compile to JavaScript using the Melange compiler.",
  "body": "Reason, also known as ReasonML, is a programming language and toolchain that is part of the OCaml programming language ecosystem. Reason uses many syntax elements from JavaScript, compiles to native code using OCaml's compiler toolchain, and can compile to JavaScript using the Melange compiler. type schoolPerson = Teacher | Director | Student(string); let greeting = person => switch (person) { | Teacher => \"Hey Professor!\" | Director => \"Hello Director.\" | Student(\"Richard\") => \"Still here Ricky?\" | Student(anyOtherName) => \"Hey, \" ++ anyOtherName ++ \".\" };",
  "categories": [
    "101754114",
    "20284182",
    "23230146",
    "23284516",
    "23603337",
    "24153113",
    "24769764",
    "25199199",
    "26220375",
    "27320558",
    "27367243",
    "43907796",
    "4783496",
    "53647476",
    "72501002"
  ],
  "license": "CC BY-SA 4.0",
  "source_uri": "https://en.wikipedia.org/w/index.php?oldid=1338367600",
  "content_hash": "",
  "created_at": null,
  "updated_at": 1771093635.0,
  "claims": [],
  "contradictions": [],
  "confidence": 0.6,
  "csl": {
    "id": "enwiki-001338367600",
    "type": "webpage",
    "title": "Reason (programming language)",
    "author": [
      {
        "family": "Anticloud FZ LLE",
        "literal": "Anticloud FZ LLE"
      }
    ],
    "container-title": "encyclopegia.org",
    "publisher": "Anticloud FZ LLE",
    "publisher-place": "Dubai, United Arab Emirates",
    "URL": "https://encyclopegia.org/a/reason-programming-language",
    "issued": {
      "date-parts": [
        [
          2026,
          11,
          19
        ]
      ]
    },
    "accessed": {
      "date-parts": [
        [
          2026,
          11,
          19
        ]
      ]
    },
    "license": "CC BY-SA 4.0",
    "DOI": "eo1:enwiki-001338367600",
    "isBasedOn": "https://en.wikipedia.org/w/index.php?oldid=1338367600",
    "note": "Immutable snapshot enwiki-001338367600"
  }
}