{"id":20737,"date":"2023-02-07T08:01:15","date_gmt":"2023-02-07T08:01:15","guid":{"rendered":"https:\/\/www.booksofall.com\/es\/?post_type=product&#038;p=20737"},"modified":"2023-02-07T08:01:16","modified_gmt":"2023-02-07T08:01:16","slug":"functional-programming-with-f","status":"publish","type":"product","link":"https:\/\/www.booksofall.com\/es\/functional-programming-with-f\/","title":{"rendered":"Functional Programming with F#"},"content":{"rendered":"<p>This textbook tries to teach you functional programming, using F# as the language of instruction. <a href=\"https:\/\/fsharp.org\/\">F#<\/a> is a multi-paradigm functional-first language: this means that it supports functional programming natively as well as the \u201cusual\u201d constructs such as objects and classes and interfaces and mutable variables and so on, which you may be familiar with from imperative programming. Since we are learning functional programming, we will only be using the functional parts of F#.<\/p>\n<p>There are many different functional languages such as <a href=\"https:\/\/www.swift.com\/\">Swift<\/a>, <a href=\"https:\/\/ocaml.org\/\">Ocaml<\/a>, <a href=\"https:\/\/www.haskell.org\/\">Haskell<\/a>, <a href=\"https:\/\/elm-lang.org\/\">Elm<\/a>, <a href=\"https:\/\/www.purescript.org\/\">Purescript<\/a>, Racket, and <a href=\"https:\/\/www.erlang.org\/\">Erlang<\/a>. Some of these have strong typing, and others don\u2019t. Some of them have algebraic data types, and others don\u2019t. But all of them follow certain principles, and their strengths and weaknesses are directly related to these principles.<\/p>\n<h4>EXPRESSIONS<\/h4>\n<p>An expression is anything that, when evaluated, generates a value. In fact, we can think of a value as an expression that does not change its form when it is evaluated.<\/p>\n<p>You may encounter non-executable code which defines a data type, or links a value to an identifier, or organizes code into different namespaces. However, all executable constructs are expressions. There is no functional equivalent of an \u201cif-statement\u201d or similar construct which evaluates something but doesn\u2019t generate a value.<\/p>\n<h4>IMMUTABILITY<\/h4>\n<p>A value, once created, can never be altered.<\/p>\n<h4>FUNCTIONS<\/h4>\n<p>A function is anything which accepts exactly one input value and, when this is supplied, evaluates an expression to generate exactly one output value. The definition and application of a function are separate. Code within a function is only executed when the function is applied.<\/p>\n<p>All functions are first-class: they can be used in any context that a value can be used. It can be created, it can be passed to another function, it can be given a name, it can be returned as the result of an expression, it can be part of a data structure, and so on.<\/p>\n<h4>REFERENTIAL TRANSPARENCY<\/h4>\n<p>An identifier, once it has been linked to a value, will always refer to that value. An identifier can therefore always be replaced by its value without changing the meaning of the program.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p><iframe frameborder=\"0\" allowtransparency=\"true\" allowFullscreen=\"true\" style=\"width: 100%; height: 700px; border: none;\" src=\"https:\/\/online.visual-paradigm.com\/share\/book\/functional-programming-textbook-2021--18zvsay72s?enforceShowPromotionBar=true&#038;p=1\"><\/iframe><\/p>\n","protected":false},"featured_media":20745,"template":"","meta":{"_yoast_wpseo_title":"","_yoast_wpseo_metadesc":""},"product_brand":[],"product_cat":[312],"product_tag":[],"class_list":{"0":"post-20737","1":"product","2":"type-product","3":"status-publish","4":"has-post-thumbnail","6":"product_cat-f-sharp","8":"first","9":"instock","10":"shipping-taxable","11":"product-type-simple"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Functional Programming with F# - BooksOfAll Spanish<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.booksofall.com\/es\/functional-programming-with-f\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Functional Programming with F# - BooksOfAll Spanish\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.booksofall.com\/es\/functional-programming-with-f\/\" \/>\n<meta property=\"og:site_name\" content=\"BooksOfAll Spanish\" \/>\n<meta property=\"article:modified_time\" content=\"2023-02-07T08:01:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.booksofall.com\/es\/wp-content\/uploads\/sites\/5\/2023\/02\/img_63e202f802677.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.booksofall.com\/es\/wp-content\/uploads\/sites\/5\/2023\/02\/img_63e202f802677.png\" \/>\n<meta name=\"twitter:label1\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.booksofall.com\/es\/functional-programming-with-f\/\",\"url\":\"https:\/\/www.booksofall.com\/es\/functional-programming-with-f\/\",\"name\":\"Functional Programming with F# - BooksOfAll Spanish\",\"isPartOf\":{\"@id\":\"https:\/\/www.booksofall.com\/es\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.booksofall.com\/es\/functional-programming-with-f\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.booksofall.com\/es\/functional-programming-with-f\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.booksofall.com\/es\/wp-content\/uploads\/sites\/5\/2023\/02\/img_63e202f802677.png\",\"datePublished\":\"2023-02-07T08:01:15+00:00\",\"dateModified\":\"2023-02-07T08:01:16+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.booksofall.com\/es\/functional-programming-with-f\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.booksofall.com\/es\/functional-programming-with-f\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\/\/www.booksofall.com\/es\/functional-programming-with-f\/#primaryimage\",\"url\":\"https:\/\/www.booksofall.com\/es\/wp-content\/uploads\/sites\/5\/2023\/02\/img_63e202f802677.png\",\"contentUrl\":\"https:\/\/www.booksofall.com\/es\/wp-content\/uploads\/sites\/5\/2023\/02\/img_63e202f802677.png\",\"width\":\"445\",\"height\":\"588\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.booksofall.com\/es\/functional-programming-with-f\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.booksofall.com\/es\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Categories\",\"item\":\"https:\/\/www.booksofall.com\/es\/categories\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Functional Programming with F#\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.booksofall.com\/es\/#website\",\"url\":\"https:\/\/www.booksofall.com\/es\/\",\"name\":\"BooksOfAll Spanish\",\"description\":\"Biggest IT eBooks library and learning resources - Free eBooks for programming, computing, artificial intelligence and more.\",\"publisher\":{\"@id\":\"https:\/\/www.booksofall.com\/es\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.booksofall.com\/es\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.booksofall.com\/es\/#organization\",\"name\":\"BooksOfAll Spanish\",\"url\":\"https:\/\/www.booksofall.com\/es\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\/\/www.booksofall.com\/es\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.booksofall.com\/es\/wp-content\/uploads\/sites\/5\/2022\/06\/booksofall-logo-2.png\",\"contentUrl\":\"https:\/\/www.booksofall.com\/es\/wp-content\/uploads\/sites\/5\/2022\/06\/booksofall-logo-2.png\",\"width\":166,\"height\":30,\"caption\":\"BooksOfAll Spanish\"},\"image\":{\"@id\":\"https:\/\/www.booksofall.com\/es\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Functional Programming with F# - BooksOfAll Spanish","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.booksofall.com\/es\/functional-programming-with-f\/","og_locale":"es_ES","og_type":"article","og_title":"Functional Programming with F# - BooksOfAll Spanish","og_url":"https:\/\/www.booksofall.com\/es\/functional-programming-with-f\/","og_site_name":"BooksOfAll Spanish","article_modified_time":"2023-02-07T08:01:16+00:00","og_image":[{"url":"https:\/\/www.booksofall.com\/es\/wp-content\/uploads\/sites\/5\/2023\/02\/img_63e202f802677.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_image":"https:\/\/www.booksofall.com\/es\/wp-content\/uploads\/sites\/5\/2023\/02\/img_63e202f802677.png","twitter_misc":{"Tiempo de lectura":"2 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.booksofall.com\/es\/functional-programming-with-f\/","url":"https:\/\/www.booksofall.com\/es\/functional-programming-with-f\/","name":"Functional Programming with F# - BooksOfAll Spanish","isPartOf":{"@id":"https:\/\/www.booksofall.com\/es\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.booksofall.com\/es\/functional-programming-with-f\/#primaryimage"},"image":{"@id":"https:\/\/www.booksofall.com\/es\/functional-programming-with-f\/#primaryimage"},"thumbnailUrl":"https:\/\/www.booksofall.com\/es\/wp-content\/uploads\/sites\/5\/2023\/02\/img_63e202f802677.png","datePublished":"2023-02-07T08:01:15+00:00","dateModified":"2023-02-07T08:01:16+00:00","breadcrumb":{"@id":"https:\/\/www.booksofall.com\/es\/functional-programming-with-f\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.booksofall.com\/es\/functional-programming-with-f\/"]}]},{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/www.booksofall.com\/es\/functional-programming-with-f\/#primaryimage","url":"https:\/\/www.booksofall.com\/es\/wp-content\/uploads\/sites\/5\/2023\/02\/img_63e202f802677.png","contentUrl":"https:\/\/www.booksofall.com\/es\/wp-content\/uploads\/sites\/5\/2023\/02\/img_63e202f802677.png","width":"445","height":"588"},{"@type":"BreadcrumbList","@id":"https:\/\/www.booksofall.com\/es\/functional-programming-with-f\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.booksofall.com\/es\/"},{"@type":"ListItem","position":2,"name":"Categories","item":"https:\/\/www.booksofall.com\/es\/categories\/"},{"@type":"ListItem","position":3,"name":"Functional Programming with F#"}]},{"@type":"WebSite","@id":"https:\/\/www.booksofall.com\/es\/#website","url":"https:\/\/www.booksofall.com\/es\/","name":"BooksOfAll Spanish","description":"Biggest IT eBooks library and learning resources - Free eBooks for programming, computing, artificial intelligence and more.","publisher":{"@id":"https:\/\/www.booksofall.com\/es\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.booksofall.com\/es\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"},{"@type":"Organization","@id":"https:\/\/www.booksofall.com\/es\/#organization","name":"BooksOfAll Spanish","url":"https:\/\/www.booksofall.com\/es\/","logo":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/www.booksofall.com\/es\/#\/schema\/logo\/image\/","url":"https:\/\/www.booksofall.com\/es\/wp-content\/uploads\/sites\/5\/2022\/06\/booksofall-logo-2.png","contentUrl":"https:\/\/www.booksofall.com\/es\/wp-content\/uploads\/sites\/5\/2022\/06\/booksofall-logo-2.png","width":166,"height":30,"caption":"BooksOfAll Spanish"},"image":{"@id":"https:\/\/www.booksofall.com\/es\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.booksofall.com\/es\/wp-json\/wp\/v2\/product\/20737","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.booksofall.com\/es\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/www.booksofall.com\/es\/wp-json\/wp\/v2\/types\/product"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.booksofall.com\/es\/wp-json\/wp\/v2\/media\/20745"}],"wp:attachment":[{"href":"https:\/\/www.booksofall.com\/es\/wp-json\/wp\/v2\/media?parent=20737"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/www.booksofall.com\/es\/wp-json\/wp\/v2\/product_brand?post=20737"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/www.booksofall.com\/es\/wp-json\/wp\/v2\/product_cat?post=20737"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/www.booksofall.com\/es\/wp-json\/wp\/v2\/product_tag?post=20737"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}