Option type
id:
option-type-221-2785440
title:
Option type
text:
In programming languages and type theory, an option type or maybe type is a polymorphic type that represents encapsulation of an optional value; e.g., it is used as the return type of functions which may or may not return a meaningful value when they are applied. It consists of a constructor which either is empty, or which encapsulates the original data type A. A distinct, but related concept outside of functional programming, which is popular in object-oriented programming, is called nullable t
brand slug:
wiki
category slug:
encyclopedia
description:
Encapsulation of an optional value in programming or type theory
original url:
https://en.wikipedia.org/wiki/Option_type
date created:
2009-05-12T13:04:27Z
date modified:
2024-09-13T21:06:57Z
main entity:
{"identifier":"Q7099015","url":"https://www.wikidata.org/entity/Q7099015"}
image:
fields total:
13
integrity:
15