Function composition (computer science) (original) (raw)

About DBpedia

La composició de funcions (no confondre amb composició d'objectes) és un acte o un mecanisme per combinar funcions simples per construir altres més complicades. Igual que la composició habitual de funcions en matemàtiques, el resultat de cada funció es passa com l'argument de la següent, i el resultat de l'última és el resultat del conjunt. Els programadors sovint apliquen les funcions de resultats d'altres funcions, i gairebé tots els llenguatges de programació permeten realitzar aquestes funcions. En alguns casos, la composició de funcions és interessant com una funció en el seu propi dret, que s'utilitzarà més endavant, aquestes funcions sempre estan definides però els llenguatges d'alt nivell ja les tenen per a fer-ho més fàcil.

Property Value
dbo:abstract La composició de funcions (no confondre amb composició d'objectes) és un acte o un mecanisme per combinar funcions simples per construir altres més complicades. Igual que la composició habitual de funcions en matemàtiques, el resultat de cada funció es passa com l'argument de la següent, i el resultat de l'última és el resultat del conjunt. Els programadors sovint apliquen les funcions de resultats d'altres funcions, i gairebé tots els llenguatges de programació permeten realitzar aquestes funcions. En alguns casos, la composició de funcions és interessant com una funció en el seu propi dret, que s'utilitzarà més endavant, aquestes funcions sempre estan definides però els llenguatges d'alt nivell ja les tenen per a fer-ho més fàcil. (ca) In computer science, function composition is an act or mechanism to combine simple functions to build more complicated ones. Like the usual composition of functions in mathematics, the result of each function is passed as the argument of the next, and the result of the last one is the result of the whole. Programmers frequently apply functions to results of other functions, and almost all programming languages allow it. In some cases, the composition of functions is interesting as a function in its own right, to be used later. Such a function can always be defined but languages with first-class functions make it easier. The ability to easily compose functions encourages factoring (breaking apart) functions for maintainability and code reuse. More generally, big systems might be built by composing whole programs. Narrowly speaking, function composition applies to functions that operate on a finite amount of data, each step sequentially processing it before handing it to the next. Functions that operate on potentially infinite data (a stream or other codata) are known as filters, and are instead connected in a pipeline, which is analogous to function composition and can execute concurrently. (en)
dbo:wikiPageExternalLink http://psychclassics.asu.edu/Miller/ https://web.archive.org/web/20100619202020/http:/psychclassics.asu.edu/Miller/ http://en.wikibooks.org/wiki/Haskell/YAHT http://groups.csail.mit.edu/mac/~dae/related-papers/steele.ps.Z http://www.comlab.ox.ac.uk/oucl/work/jeremy.gibbons/publications/superposition-extended.pdf http://catb.org/esr/writings/taoup/html/ch01s06.html%23id2877684 http://research.microsoft.com/users/lamPort/pubs/abadi-composing.pdf https://archive.org/details/elementaryapproa0000korn http://www.cis.upenn.edu/~bcpierce/papers/pict-design.ps
dbo:wikiPageID 1911084 (xsd:integer)
dbo:wikiPageLength 18347 (xsd:nonNegativeInteger)
dbo:wikiPageRevisionID 1099717637 (xsd:integer)
dbo:wikiPageWikiLink dbr:Python_(programming_language) dbr:Ruby_(programming_language) dbr:Scheme_(programming_language) dbr:Principle_of_compositionality dbc:Higher-order_functions dbr:Homoiconic dbr:Currying dbr:Concatenation dbr:Concurrent_computing dbr:Mathematics dbr:Run_time_(program_lifecycle_phase) dbr:Function_(mathematics) dbr:Function_composition dbr:Monad_(functional_programming) dbr:Arity dbr:Lisp_(programming_language) dbr:Stream_(computing) dbr:Subroutine dbr:Composability dbr:Computational_linguistics dbr:Computational_semiotics dbr:Computer_science dbr:Functional_decomposition dbr:Pipeline_(Unix) dbr:Pipeline_(software) dbr:Polymorphism_(computer_science) dbr:C_(programming_language) dbr:C_Sharp_(programming_language) dbr:Codata_(computer_science) dbr:APL_(programming_language) dbr:Ambiguity dbr:Forth_(programming_language) dbr:Fold_(higher-order_function) dbr:Iteratee dbr:Haskell_(programming_language) dbr:Higher-order_function dbr:JavaScript dbr:Java_(programming_language) dbr:The_Art_of_Unix_Programming dbc:Programming_language_topics dbr:Lambda_calculus dbr:Symposium_on_Principles_of_Programming_Languages dbr:Code_reuse dbr:Referential_transparency dbr:Filter_(software) dbr:Factoring_(computer_science) dbr:Raku_(programming_language) dbr:Rakudo dbr:Imperative_programming dbr:Variadic dbr:First-class_function dbr:Virtual_inheritance dbr:Implementation_inheritance dbr:Inheritance_semantics dbr:Stack-based_language
dbp:wikiPageUsesTemplate dbt:Citation dbt:Confused dbt:Harvtxt dbt:Math dbt:Mvar dbt:Reflist
dct:subject dbc:Higher-order_functions dbc:Programming_language_topics
gold:hypernym dbr:Act
rdf:type owl:Thing yago:Abstraction100002137 yago:Communication100033020 yago:Function113783816 yago:MathematicalRelation113783581 yago:Message106598915 yago:Relation100031921 yago:WikicatHigher-orderFunctions dbo:Band yago:Subject106599788 yago:WikicatProgrammingLanguageTopics
rdfs:comment La composició de funcions (no confondre amb composició d'objectes) és un acte o un mecanisme per combinar funcions simples per construir altres més complicades. Igual que la composició habitual de funcions en matemàtiques, el resultat de cada funció es passa com l'argument de la següent, i el resultat de l'última és el resultat del conjunt. Els programadors sovint apliquen les funcions de resultats d'altres funcions, i gairebé tots els llenguatges de programació permeten realitzar aquestes funcions. En alguns casos, la composició de funcions és interessant com una funció en el seu propi dret, que s'utilitzarà més endavant, aquestes funcions sempre estan definides però els llenguatges d'alt nivell ja les tenen per a fer-ho més fàcil. (ca) In computer science, function composition is an act or mechanism to combine simple functions to build more complicated ones. Like the usual composition of functions in mathematics, the result of each function is passed as the argument of the next, and the result of the last one is the result of the whole. The ability to easily compose functions encourages factoring (breaking apart) functions for maintainability and code reuse. More generally, big systems might be built by composing whole programs. (en)
rdfs:label Composició de funcions (informàtica) (ca) Function composition (computer science) (en)
owl:differentFrom dbr:Object_composition
owl:sameAs freebase:Function composition (computer science) yago-res:Function composition (computer science) wikidata:Function composition (computer science) dbpedia-ca:Function composition (computer science) dbpedia-is:Function composition (computer science) dbpedia-sr:Function composition (computer science) https://global.dbpedia.org/id/N44h
prov:wasDerivedFrom wikipedia-en:Function_composition_(computer_science)?oldid=1099717637&ns=0
foaf:isPrimaryTopicOf wikipedia-en:Function_composition_(computer_science)
is dbo:wikiPageDisambiguates of dbr:Composition
is dbo:wikiPageRedirects of dbr:Function_composition_operator dbr:Functional_composition_(computer_science) dbr:Software_composition
is dbo:wikiPageWikiLink of dbr:Declarative_programming dbr:Index_of_object-oriented_programming_articles dbr:List_of_programming_languages_by_type dbr:Computability dbr:Concurrent_ML dbr:Function_composition dbr:Concatenative_programming_language dbr:Stream_(computing) dbr:Composability dbr:Delimited_continuation dbr:Funarg_problem dbr:Function_object dbr:Function_type dbr:Functional_programming dbr:Parameter_(computer_programming) dbr:Pipeline_(software) dbr:Theory_of_computation dbr:Linear_probing dbr:Lock_(computer_science) dbr:F_Sharp_(programming_language) dbr:Flix_(programming_language) dbr:Fold_(higher-order_function) dbr:Object_composition dbr:Higher-order_function dbr:J_(programming_language) dbr:Transcarpathian_Art_Institute dbr:Map_(higher-order_function) dbr:Composition dbr:Tacit_programming dbr:Function_composition_operator dbr:Functional_composition_(computer_science) dbr:Software_composition
is owl:differentFrom of dbr:Object_composition
is foaf:primaryTopic of wikipedia-en:Function_composition_(computer_science)