{"id":7343,"date":"2020-09-09T07:33:38","date_gmt":"2020-09-09T05:33:38","guid":{"rendered":"https:\/\/www.glc.us.es\/~jalonso\/vestigium\/?p=7343"},"modified":"2020-09-09T07:33:38","modified_gmt":"2020-09-09T05:33:38","slug":"pfh-definiciones-de-tipos-en-haskell","status":"publish","type":"post","link":"https:\/\/www.glc.us.es\/~jalonso\/vestigium\/pfh-definiciones-de-tipos-en-haskell\/","title":{"rendered":"PFH: Definiciones de tipos en Haskell"},"content":{"rendered":"<p>He a\u00f1adido a la lista <a href=\"https:\/\/bit.ly\/3apKjew\">Programaci\u00f3n funcional con Haskell<\/a> el v\u00eddeo <a href=\"https:\/\/youtu.be\/o-DRRF4VXyE\">Definiciones de tipos en Haskell<\/a> en el que se ha estudiado la definici\u00f3n de nuevos tipos de datos y de funciones sobre dichos tipos. Concretamente, se ha visto<\/p>\n<ul>\n<li>c\u00f3mo definir tipos usando <em>type<\/em>,<\/li>\n<li>c\u00f3mo definir funciones con dominio o rango en tipos definidos usando <em>type<\/em>,<\/li>\n<li>c\u00f3mo definir tipos usando <em>data<\/em>,<\/li>\n<li>c\u00f3mo definir funciones con dominio o rango en tipos definidos usando <em>data<\/em> y<\/li>\n<li>c\u00f3mo definir tipos de datos recursivos usando como ejemplo los naturales, las listas y los \u00e1rboles.<\/li>\n<\/ul>\n<p>Se ha insistido en la metodolog\u00eda de definici\u00f3n de funciones recursivas sobre tipos de datos escribiendo una ecuaci\u00f3n por cada uno de los constructores del tipo de dato.<\/p>\n<p>El v\u00eddeo es<\/p>\n<p><iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/o-DRRF4VXyE\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/p>\n<p>Los apuntes correspondientes son \n<!-- iframe plugin v.5.0 wordpress.org\/plugins\/iframe\/ -->\n<iframe loading=\"lazy\" src=\"https:\/\/www.cs.us.es\/~jalonso\/cursos\/i1m-19\/temas\/tema-9.html\" width=\"100%\" frameborder=\"1\" height=\"500\" scrolling=\"yes\" class=\"iframe-class\"><\/iframe>\n<\/p>\n<p>Una versi\u00f3n interactiva de los apuntes en IHaskell se encuentra <a href=\"https:\/\/mybinder.org\/v2\/gh\/jaalonso\/Temas_interactivos_de_PF_con_Haskell\/master?urlpath=lab\/tree\/temas\/Tema-09.ipynb\">aqu\u00ed<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>He a\u00f1adido a la lista Programaci\u00f3n funcional con Haskell el v\u00eddeo Definiciones de tipos en Haskell en el que se ha estudiado la definici\u00f3n de nuevos tipos de datos y de funciones sobre dichos tipos. Concretamente, se ha visto c\u00f3mo definir tipos usando type, c\u00f3mo definir funciones con dominio o rango en tipos definidos usando&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"footnotes":"","_jetpack_memberships_contains_paid_content":false},"categories":[337],"tags":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_likes_enabled":false,"_links":{"self":[{"href":"https:\/\/www.glc.us.es\/~jalonso\/vestigium\/wp-json\/wp\/v2\/posts\/7343"}],"collection":[{"href":"https:\/\/www.glc.us.es\/~jalonso\/vestigium\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.glc.us.es\/~jalonso\/vestigium\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.glc.us.es\/~jalonso\/vestigium\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.glc.us.es\/~jalonso\/vestigium\/wp-json\/wp\/v2\/comments?post=7343"}],"version-history":[{"count":1,"href":"https:\/\/www.glc.us.es\/~jalonso\/vestigium\/wp-json\/wp\/v2\/posts\/7343\/revisions"}],"predecessor-version":[{"id":7344,"href":"https:\/\/www.glc.us.es\/~jalonso\/vestigium\/wp-json\/wp\/v2\/posts\/7343\/revisions\/7344"}],"wp:attachment":[{"href":"https:\/\/www.glc.us.es\/~jalonso\/vestigium\/wp-json\/wp\/v2\/media?parent=7343"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.glc.us.es\/~jalonso\/vestigium\/wp-json\/wp\/v2\/categories?post=7343"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.glc.us.es\/~jalonso\/vestigium\/wp-json\/wp\/v2\/tags?post=7343"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}