[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-672648-105":59,"doc-detail-672648-en":130,"doc-similar-672648":161},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","functional-shell-and-reusable-components-for-easy-guis","Functional Shell and Reusable Components for Easy GUIs","","Some object-oriented GUI toolkits interleave state management with rendering, making applications harder to scale and maintain. Functional shells and observable toolkits like GUI Easy aim to simplify reusable view construction by borrowing ideas from functional programming. The report describes constructing and using GUI Easy across small and large GUI projects, then distills architectural patterns and principles for building functional programs from imperative systems.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/functional-shell-and-reusable-components-for-easy-guis/672648/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/functional-shell-and-reusable-components-for-easy-guis/672648.png","ImageObject",300,407,{"name":92,"@type":93},"Angel","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-22","2026-11-02",true,{"@type":102,"interactionType":103,"userInteractionCount":19},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What problem does the paper identify in object-oriented GUI toolkits?","Question",{"text":112,"@type":113},"It argues that some object-oriented GUI toolkits tangle state management with rendering, and this leads to verbose code and difficulty keeping application state and UI state synchronized.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"What is GUI Easy and how does it address those shortcomings?",{"text":117,"@type":113},"GUI Easy is a functional shell for Racket’s GUI system built on observable values and function composition. It renders interfaces from widgets whose properties can depend on observables, so the UI updates automatically when inputs change.",{"name":119,"@type":110,"acceptedAnswer":120},"What does the report contribute beyond describing GUI Easy?",{"text":121,"@type":113},"It reports experience building and using GUI Easy on small and large projects, and derives architectural patterns and principles for constructing functional programs from imperative systems.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},672648,1793602830,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":19,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":44,"language":139,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":67,"update_tm":129,"read_time":143,"preview_page_count":19,"preview_urls":144},687207412472,"https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d","Functional Shell and Reusable Components for Easy  \nGUIs  \narXiv :2308 . 16024v1 [ cs . SE] 30 Aug 2023  \nD. Ben Knoble  \nIndependent Richmond, Virginia, USA ben.knoble+[funarch2023@gmail.com](funarch2023@gmail.com)  \nAbstract  \nSome object-oriented GUI toolkits tangle state management with rendering. Functional shells and observable toolkits like GUI Easy simplify and promote the creation of reusable views by analogy to functional programming. We have successfully used GUI Easy on small and large GUI projects. We report on our experience constructing and using GUI Easy and derive from that experience several architectural patterns and principles for building functional programs out of imperative systems.  \nCCS Concepts: • Software and its engineering → Publishsubscribe / event-based architectures; Reusability; Classes and objects; Extensible languages.  \nKeywords: Reactive GUI, Functional wrapper ACM Reference Format:  \nD. BenKnoble and Bogdan Popa. 2023. Functional Shell andReusable Components for Easy GUIs. In Proceedings of the 1stACM SIGPLAN International Workshop on Functional Software Architecture (FUNARCH’23), September 8, 2023, Seattle, WA, USA. ACM, New York, NY, USA, 9 pages. [https://doi.org/10.1145/3609025.3609478](https://doi.org/10.1145/3609025.3609478)  \n1 Introduction  \nObject-oriented programming is traditionally considered a good paradigm for building graphical (GUI) programs due to inheritance, composition, and specialization. Racket’s GUI toolkit [12] is object-oriented, with message-passing widgetsand mutable state. The Racket platform [14] provides the core class and object library for the GUI toolkit.  \nFigure 1 demonstrates typical Racket GUI code: it renders a counter with buttons to increment and decrement a number. First, we create a top-level window container, called a frame% .  \nPermission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific [permission and/or a fee. Request permissions from permissions@acm.org](permission and/or a fee. Request permissions from permissions@acm.org). FUNARCH’23, September 8, 2023, Seattle, WA, USA  \n© 2023 Copyright held by the owner/author(s) . Publication rights licensed to ACM.  \nACM ISBN 979-8-4007-0297-6/23/09. . . $15.00  \n[https://doi.org/10.1145/3609025.3609478](https://doi.org/10.1145/3609025.3609478)  \nBogdan Popa  \nIndependent  \nCluj-Napoca, Cluj, Romania  \n[bogdan@defn.io](bogdan@defn.io)  \n\\#lang racket/gui  \n(define f (new frame% [label \"Counter\"]))(define container  \n(new horizontal-panel% [parent f]))(define count 0)  \n(define (update-count f)(set! count (f count))  \n(define new-label (number->string count))(send count-label set-label new-label))  \n(define minus-button (new button% [parent container]  \n[label \" - \" ]  \n[callback (􀁟 _ (update-count sub1))]))(define count-label  \n(new message% [parent container]  \n[label \"0\"]  \n[auto-resize \\#t]))(define plus-button  \n(new button% [parent container]  \n[label \"+\"]  \n[callback (􀁟 _ (update-count add1))]))  \n(send f show \\#t)  \nFigure 1 . A counter GUI using Racket GUI's object-oriented widgets.  \nTo lay out the controls horizontally, we nest a horizontalpanel% as a child of the window. We define the count state and a procedure to simultaneously update the count and its associated label. Next, we create the buttons and label for the counter. Lastly, we call the show method on the frame% to render it for the user.  \nThe code in figure 1 has several shortcomings. It is verbose relative to the complexity of the GUI it describes and organized in a way that obscures ","cbCaisbnuJr7GzA2","https://ap.wps.com/l/cbCaisbnuJr7GzA2","pdf",1105702,"English","# Abstract\n# 1 Introduction\n## Object-oriented GUI limitations\n# 2 A Tale of Two Programmers\n# 3 Main GUI Easy abstractions\n# 4 Building large GUI programs\n# 5 Architectural lessons\n# 6 Related trends in GUI programming","[{\"question\":\"What problem does the paper identify in object-oriented GUI toolkits?\",\"answer\":\"It argues that some object-oriented GUI toolkits tangle state management with rendering, and this leads to verbose code and difficulty keeping application state and UI state synchronized.\"},{\"question\":\"What is GUI Easy and how does it address those shortcomings?\",\"answer\":\"GUI Easy is a functional shell for Racket’s GUI system built on observable values and function composition. It renders interfaces from widgets whose properties can depend on observables, so the UI updates automatically when inputs change.\"},{\"question\":\"What does the report contribute beyond describing GUI Easy?\",\"answer\":\"It reports experience building and using GUI Easy on small and large projects, and derives architectural patterns and principles for constructing functional programs from imperative systems.\"}]","Functional Shell and Reusable Components for Easy GUIs | PDF",23,[145,149,153,157],{"page_no":8,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/5ce4edbe75ea15e9b6fbaf6c2360ffba.webp",983,1272,{"page_no":14,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/0e82d5d001750fa2fe120262ba46b925.webp",982,1270,{"page_no":81,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/8f3ad265695b6cd49bd00e02e9e6c31e.webp",981,1269,{"page_no":19,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/2028be77e4929a621eb18569e0a8c5bf.webp",980,1268,{"list":162,"token":66},[163,169,176,183,190,197,204,211,218,225],{"doc_id":164,"doc_title":165,"file_type":137,"home_preview_img_url":166,"slug":167,"view_count":52,"category_name":40,"create_tm":168},416942,"Valorization of waste oyster shells via thermal and acid activation for Congo red dye adsorption from aqueous media - A scalable route to valorize waste oyster shells into an effective adsorbent for Congo red removal","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229922254507/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108039&Signature=bMju3lVCb9IpPhwNYfy8ilSJdoo%3D","valorization-of-waste-oyster-shells-via-thermal-and-acid-activation-for-congo-red-dye-adsorption-from-aqueous-media-a-scalable-route-to-valorize-waste-oyster-shells-into-an-effective-adsorbent-for-congo-red-removal",1790607333,{"doc_id":170,"doc_title":171,"file_type":137,"home_preview_img_url":172,"slug":173,"view_count":174,"category_name":40,"create_tm":175},234,"XNX Gas Detector Calibration Guide 2023","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693727733/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108039&Signature=sh%2FIK2s9npqb2uNNSpK1nEFWQkg%3D","xnx-gas-detector-calibration-2023",7895,1776136863,{"doc_id":177,"doc_title":178,"file_type":137,"home_preview_img_url":179,"slug":180,"view_count":181,"category_name":40,"create_tm":182},227,"Sridevi Matka Chart Full Guide to Panel, Jodi & Pana Records","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693727553/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108039&Signature=ECOnTMJrKTMzSos%2BpmRTgc%2F3nQQ%3D","sridevi-matka-chart-full-guide-to-panel-jodi-pana-records",6925,1776136851,{"doc_id":184,"doc_title":185,"file_type":137,"home_preview_img_url":186,"slug":187,"view_count":188,"category_name":40,"create_tm":189},167314,"Linear Algebra and Its Applications 6th edition Textbook by david c. lay","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229876163444/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108039&Signature=zxHamKoluX%2Bg596kDzT%2BScG0Dp0%3D","linear-algebra-and-its-applications-sixth-edition-david-c-lay-steven-r-lay-judi-j-mcdonald",5865,1788211707,{"doc_id":191,"doc_title":192,"file_type":137,"home_preview_img_url":193,"slug":194,"view_count":195,"category_name":40,"create_tm":196},32070,"Blueprint Pengelolaan Sumber Daya Manusia Kesehatan (SDMK) Tahun 2025–2029","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229758685683/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108039&Signature=%2BJgjsaMccfUU%2BXooY10ygtAJl8c%3D","healthcare-human-resources-management-blueprint-sdmk-20252029",1292,1780779716,{"doc_id":198,"doc_title":199,"file_type":137,"home_preview_img_url":200,"slug":201,"view_count":202,"category_name":40,"create_tm":203},148514,"Developmental Biology - Twelfth Edition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229868853261/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108039&Signature=zZ1VTMaelX6ztQawYdpTPRdNanU%3D","developmental-biology-twelfth-edition",1250,1787780705,{"doc_id":205,"doc_title":206,"file_type":137,"home_preview_img_url":207,"slug":208,"view_count":209,"category_name":40,"create_tm":210},121,"Letter of Intent Sample for School","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693418846/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108039&Signature=ZNAV82AiXLfNYnV9f4kgqRwT3VE%3D","letter-of-intent-sample-for-school",1059,1776135210,{"doc_id":212,"doc_title":213,"file_type":137,"home_preview_img_url":214,"slug":215,"view_count":216,"category_name":40,"create_tm":217},129209,"Laboratory Manual for Principles of General Chemistry - J. A. Beran - 11th Edition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229840760175/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108039&Signature=0bn5yCOVNBYQFASNTMprXZSNxO4%3D","laboratory-manual-for-principles-of-general-chemistry-j-a-beran-11th-edition",885,1786011673,{"doc_id":219,"doc_title":220,"file_type":137,"home_preview_img_url":221,"slug":222,"view_count":223,"category_name":40,"create_tm":224},117724,"The Trading Edge - Vivek Bajaj","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229834707110/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108039&Signature=rQcq3aGgaYIHZqkNdsxPpsB43PI%3D","the-trading-edge-vivek-bajaj",874,1785678693,{"doc_id":226,"doc_title":227,"file_type":137,"home_preview_img_url":228,"slug":229,"view_count":230,"category_name":40,"create_tm":231},47709,"Stress, Appraisal, and Coping","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229799364477/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108039&Signature=28jMBkA8jsPsi69b9v43aQttP%2BA%3D","stress-appraisal-and-coping",818,1783565401]