Linear Types can Change the World!. Wadler, P. undefined, 1990.
Paper abstract bibtex Linear types extend Schmidt's notion of single threading; provide an alternative to Hudak and Bloss' update analysis; and provide a practical complement to Lafont and Holmstrr om's elegant linear languages. The linear logic of J.-Y. Girard suggests a new type system for functional languages, one which supports operations that \change the world". Values belonging to a linear type must be used exactly once: like the world, they cannot be duplicated or destroyed. Such values require no reference counting or garbage collection , and safely admit destructive array update. Linear types extend Schmidt's notion of single threading; provide an alternative to Hudak and Bloss' update analysis; and ooer a practical complement to Lafont and Holmstrr om's elegant linear languages. An old canard against functional languages is that they cannot change the world: they do not \naturally" cope with changes of state, such as altering a location in memory, changing a pixel on a display, or sensing when a key is pressed. As a prototypical example of this, consider the world as an array. An array (of type Arr) is a mapping from indices (of type Ix) to values (of type Val). For instance, the world might be a mapping of variable names to values, or le names to contents. At any time, we can do one of two things to the world: nd the value associated with an index, or update an index to be associated with a new value. Of course it is possible to model this functionally; we just use the two operations A program that interacts with the world might have the form main : Args ! Arr ! Arr; where the rst parameter is the list of arguments that make up the command line, the second parameter is the old world, and the result is the new world. An example of a program is main les a = update \stdout" (concat lookup i a j i les]) a:
@article{wadler_linear_1990,
title = {Linear {Types} can {Change} the {World}!},
url = {https://www.semanticscholar.org/paper/Linear-Types-can-Change-the-World!-Wadler/24c850390fba27fc6f3241cb34ce7bc6f3765627},
abstract = {Linear types extend Schmidt's notion of single threading; provide an alternative to Hudak and Bloss' update analysis; and provide a practical complement to Lafont and Holmstrr om's elegant linear languages. The linear logic of J.-Y. Girard suggests a new type system for functional languages, one which supports operations that {\textbackslash}change the world". Values belonging to a linear type must be used exactly once: like the world, they cannot be duplicated or destroyed. Such values require no reference counting or garbage collection , and safely admit destructive array update. Linear types extend Schmidt's notion of single threading; provide an alternative to Hudak and Bloss' update analysis; and ooer a practical complement to Lafont and Holmstrr om's elegant linear languages. An old canard against functional languages is that they cannot change the world: they do not {\textbackslash}naturally" cope with changes of state, such as altering a location in memory, changing a pixel on a display, or sensing when a key is pressed. As a prototypical example of this, consider the world as an array. An array (of type Arr) is a mapping from indices (of type Ix) to values (of type Val). For instance, the world might be a mapping of variable names to values, or le names to contents. At any time, we can do one of two things to the world: nd the value associated with an index, or update an index to be associated with a new value. Of course it is possible to model this functionally; we just use the two operations A program that interacts with the world might have the form main : Args ! Arr ! Arr; where the rst parameter is the list of arguments that make up the command line, the second parameter is the old world, and the result is the new world. An example of a program is main les a = update {\textbackslash}stdout" (concat lookup i a j i les]) a:},
language = {en},
urldate = {2022-05-17},
journal = {undefined},
author = {Wadler, P.},
year = {1990},
}
Downloads: 0
{"_id":"x7vBFvAWipErnLo6x","bibbaseid":"wadler-lineartypescanchangetheworld-1990","author_short":["Wadler, P."],"bibdata":{"bibtype":"article","type":"article","title":"Linear Types can Change the World!","url":"https://www.semanticscholar.org/paper/Linear-Types-can-Change-the-World!-Wadler/24c850390fba27fc6f3241cb34ce7bc6f3765627","abstract":"Linear types extend Schmidt's notion of single threading; provide an alternative to Hudak and Bloss' update analysis; and provide a practical complement to Lafont and Holmstrr om's elegant linear languages. The linear logic of J.-Y. Girard suggests a new type system for functional languages, one which supports operations that \\change the world\". Values belonging to a linear type must be used exactly once: like the world, they cannot be duplicated or destroyed. Such values require no reference counting or garbage collection , and safely admit destructive array update. Linear types extend Schmidt's notion of single threading; provide an alternative to Hudak and Bloss' update analysis; and ooer a practical complement to Lafont and Holmstrr om's elegant linear languages. An old canard against functional languages is that they cannot change the world: they do not \\naturally\" cope with changes of state, such as altering a location in memory, changing a pixel on a display, or sensing when a key is pressed. As a prototypical example of this, consider the world as an array. An array (of type Arr) is a mapping from indices (of type Ix) to values (of type Val). For instance, the world might be a mapping of variable names to values, or le names to contents. At any time, we can do one of two things to the world: nd the value associated with an index, or update an index to be associated with a new value. Of course it is possible to model this functionally; we just use the two operations A program that interacts with the world might have the form main : Args ! Arr ! Arr; where the rst parameter is the list of arguments that make up the command line, the second parameter is the old world, and the result is the new world. An example of a program is main les a = update \\stdout\" (concat lookup i a j i les]) a:","language":"en","urldate":"2022-05-17","journal":"undefined","author":[{"propositions":[],"lastnames":["Wadler"],"firstnames":["P."],"suffixes":[]}],"year":"1990","bibtex":"@article{wadler_linear_1990,\n\ttitle = {Linear {Types} can {Change} the {World}!},\n\turl = {https://www.semanticscholar.org/paper/Linear-Types-can-Change-the-World!-Wadler/24c850390fba27fc6f3241cb34ce7bc6f3765627},\n\tabstract = {Linear types extend Schmidt's notion of single threading; provide an alternative to Hudak and Bloss' update analysis; and provide a practical complement to Lafont and Holmstrr om's elegant linear languages. The linear logic of J.-Y. Girard suggests a new type system for functional languages, one which supports operations that {\\textbackslash}change the world\". Values belonging to a linear type must be used exactly once: like the world, they cannot be duplicated or destroyed. Such values require no reference counting or garbage collection , and safely admit destructive array update. Linear types extend Schmidt's notion of single threading; provide an alternative to Hudak and Bloss' update analysis; and ooer a practical complement to Lafont and Holmstrr om's elegant linear languages. An old canard against functional languages is that they cannot change the world: they do not {\\textbackslash}naturally\" cope with changes of state, such as altering a location in memory, changing a pixel on a display, or sensing when a key is pressed. As a prototypical example of this, consider the world as an array. An array (of type Arr) is a mapping from indices (of type Ix) to values (of type Val). For instance, the world might be a mapping of variable names to values, or le names to contents. At any time, we can do one of two things to the world: nd the value associated with an index, or update an index to be associated with a new value. Of course it is possible to model this functionally; we just use the two operations A program that interacts with the world might have the form main : Args ! Arr ! Arr; where the rst parameter is the list of arguments that make up the command line, the second parameter is the old world, and the result is the new world. An example of a program is main les a = update {\\textbackslash}stdout\" (concat lookup i a j i les]) a:},\n\tlanguage = {en},\n\turldate = {2022-05-17},\n\tjournal = {undefined},\n\tauthor = {Wadler, P.},\n\tyear = {1990},\n}\n\n","author_short":["Wadler, P."],"key":"wadler_linear_1990","id":"wadler_linear_1990","bibbaseid":"wadler-lineartypescanchangetheworld-1990","role":"author","urls":{"Paper":"https://www.semanticscholar.org/paper/Linear-Types-can-Change-the-World!-Wadler/24c850390fba27fc6f3241cb34ce7bc6f3765627"},"metadata":{"authorlinks":{}}},"bibtype":"article","biburl":"https://api.zotero.org/groups/4680671/items?key=y3J9nSpB3RsHMnT3bHxi7dHU&format=bibtex&limit=100","dataSources":["MbqeeC74KZhwBpe8j"],"keywords":[],"search_terms":["linear","types","change","world","wadler"],"title":"Linear Types can Change the World!","year":1990}