Global Information Lookup Global Information

Polymorphic recursion information


In computer science, polymorphic recursion (also referred to as Milner–Mycroft typability or the Milner–Mycroft calculus) refers to a recursive parametrically polymorphic function where the type parameter changes with each recursive invocation made, instead of staying constant. Type inference for polymorphic recursion is equivalent to semi-unification and therefore undecidable and requires the use of a semi-algorithm or programmer-supplied type annotations.[1]

  1. ^ Henglein 1993.

and 15 Related for: Polymorphic recursion information

Request time (Page generated in 0.789 seconds.)

Polymorphic recursion

Last Update:

polymorphic recursion (also referred to as Milner–Mycroft typability or the Milner–Mycroft calculus) refers to a recursive parametrically polymorphic...

Word Count : 737

Type inference

Last Update:

necessary for disambiguation. For instance, type inference with polymorphic recursion is known to be undecidable. Furthermore, explicit type annotations...

Word Count : 2922

Parametric polymorphism

Last Update:

articles Subtype polymorphism and Generic programming). Parametricity Polymorphic recursion Type class#Higher-kinded polymorphism Trait (computer programming)...

Word Count : 2058

Functional programming

Last Update:

depth of recursion. This could make recursion prohibitively expensive to use instead of imperative loops. However, a special form of recursion known as...

Word Count : 8548

Principal type

Last Update:

algorithm. However, many extensions to the type system of ML, such as polymorphic recursion, can make the inference of the principal type undecidable. Other...

Word Count : 327

Simply typed lambda calculus

Last Update:

natural numbers (System T) or even full recursion (like PCF). In contrast, systems that introduce polymorphic types (like System F) or dependent types...

Word Count : 4589

Glasgow Haskell Compiler

Last Update:

polymorphism. Essentially, a polymorphic function or datatype constructor may require that one of its arguments is itself polymorphic. Generalized algebraic...

Word Count : 1871

Template metaprogramming

Last Update:

fact many template implementations implement flow control only through recursion, as seen in the example below. Though the syntax of template metaprogramming...

Word Count : 3113

Prolog

Last Update:

call optimization (TCO) for deterministic predicates exhibiting tail recursion or, more generally, tail calls: A clause's stack frame is discarded before...

Word Count : 7988

Bottom type

Last Update:

typically correspond to error conditions such as undefined behavior, infinite recursion, or unrecoverable errors. In Bounded Quantification with Bottom, Pierce...

Word Count : 996

OCaml

Last Update:

that would only allow the writer to construct valid proofs with its polymorphic type system. ML was turned into a compiler to simplify using LCF on different...

Word Count : 3941

Lambda cube

Last Update:

admit a restricted kind of polymorphic types, that is the types in prenex normal form. However, because they feature some recursion operators, their computing...

Word Count : 3102

Haxe

Last Update:

is an optimizing compiler, and uses field and function inlining, tail recursion elimination, constant folding, loop unrolling and dead code elimination...

Word Count : 2358

Bounded quantifier

Last Update:

motivations for these quantifiers. In applications of the language to recursion theory, such as the arithmetical hierarchy, bounded quantifiers add no...

Word Count : 873

Ordinal analysis

Last Update:

elimination). ACA0, arithmetical comprehension. ATR0, arithmetical transfinite recursion. Martin-Löf type theory with arbitrarily many finite level universes....

Word Count : 4730

PDF Search Engine © AllGlobal.net