{"id":{"repo_id":"sask","oai_identifier":"oai:harvest.usask.ca:10388/17401"},"canonical_url":"https://search.ndltd.org/etd/sask/oai:harvest.usask.ca:10388/17401","repository":{"repo_id":"sask","name":"University of Saskatchewan","base_url":"https://harvest.usask.ca/server/oai/request"},"display":{"title":"Capturing cross-cutting concerns in agent-based models using computational effects","abstract":"Agent-based modelling is a powerful technique for modelling complex, interconnected, real-world phenomena, but suffers from difficulties in writing maintainable and extensible models using extant frameworks. It has been suggested that agent-based models may benefit in aspects of software engineering such as maintainability and model clarity through the use of DSLs, aspect-oriented programming, and pure functional programming. Bringing these lines of work together, we cover the development of an agent-based modelling DSL and framework in Haskell and Koka, represented using an effect system. The framework we developed displays improvements in aspects of software engineering such as model clarity, separation of concerns, code reuse, flexibility, and composition, partially through access to pure functional programming from the DSL being embedded in these languages. We describe several example models built using the framework we developed, including Conway's Game of Life, Schelling Segregation Scenario, and Predator--Prey (Lotka--Volterra) dynamics.","abstract_html":"Agent-based modelling is a powerful technique for modelling complex, interconnected, real-world phenomena, but suffers from difficulties in writing maintainable and extensible models using extant frameworks. It has been suggested that agent-based models may benefit in aspects of software engineering such as maintainability and model clarity through the use of DSLs, aspect-oriented programming, and pure functional programming. Bringing these lines of work together, we cover the development of an agent-based modelling DSL and framework in Haskell and Koka, represented using an effect system. The framework we developed displays improvements in aspects of software engineering such as model clarity, separation of concerns, code reuse, flexibility, and composition, partially through access to pure functional programming from the DSL being embedded in these languages. We describe several example models built using the framework we developed, including Conway&#x27;s Game of Life, Schelling Segregation Scenario, and Predator--Prey (Lotka--Volterra) dynamics.","abstract_has_math":false,"creators":["Alegre, Alex"],"institution":"University of Saskatchewan","degree_name":"Master of Science (M.Sc.)","degree_level":"Masters","degree_discipline":"Computer Science","degree_department":"Computer Science","school":null,"contributors":[],"advisors":["Osgood, Nathaniel D"],"committee_chairs":[],"committee_members":["Dutchyn, Christopher","Jamali, Nadeem","Gutwin, Carl"],"year":2025,"date_issued":"2025-10-06","date_published":"2025-10-06","updated_at":"2026-11-19T10:13:27Z","subjects":["domain-specific language","DSL","agent-based modelling","agent-based modeling","ABM","extensible effects","computational effects","effect system","software engineering","functional programming","Haskell","Koka","aspect-oriented programming","AOP"],"languages":["en"],"rights":[],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[{"key":"person:identifier.orcid","label":"ORCID","values":["0009-0006-8677-3734"],"render_values":[{"text":"0009-0006-8677-3734","href":"https://orcid.org/0009-0006-8677-3734","code":true}]}]},"links":{"outbound_url":"https://hdl.handle.net/10388/17401","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/10388/17401","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Asask%3Aoai%3Aharvest.usask.ca%3A10388%2F17401","prefix":"oai_dc"},"source_record":{"url":"https://harvest.usask.ca/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Aharvest.usask.ca%3A10388%2F17401","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Osgood, Nathaniel D"]},{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Dutchyn, Christopher","Jamali, Nadeem","Gutwin, Carl"]},{"key":"dc:creator","label":"Author","values":["Alegre, Alex"]},{"key":"person:identifier.orcid","label":"ORCID","values":["0009-0006-8677-3734"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2025-10-06T15:01:19Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2025-10-06T15:01:19Z"]},{"key":"dc:date.copyright","label":"Dc Date Copyright","values":["2025"]},{"key":"dc:date.created","label":"Dc Date Created","values":["2026-01"]},{"key":"dc:date.issued","label":"Date","values":["2025-10-06"]},{"key":"dc:date.submitted","label":"Dc Date Submitted","values":["January 2026"]},{"key":"dc:date.updated","label":"Dc Date Updated","values":["2025-10-06T15:01:20Z"]},{"key":"dc:type","label":"Dc Type","values":["Thesis","text"]},{"key":"thesis:degree_department","label":"Department","values":["Computer Science"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Science"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Masters"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science (M.Sc.)"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["University of Saskatchewan"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["domain-specific language","DSL","agent-based modelling","agent-based modeling","ABM","extensible effects","computational effects","effect system","software engineering","functional programming","Haskell","Koka","aspect-oriented programming","AOP"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/10388/17401"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Agent-based modelling is a powerful technique for modelling complex, interconnected, real-world phenomena, but suffers from difficulties in writing maintainable and extensible models using extant frameworks. It has been suggested that agent-based models may benefit in aspects of software engineering such as maintainability and model clarity through the use of DSLs, aspect-oriented programming, and pure functional programming. Bringing these lines of work together, we cover the development of an agent-based modelling DSL and framework in Haskell and Koka, represented using an effect system. The framework we developed displays improvements in aspects of software engineering such as model clarity, separation of concerns, code reuse, flexibility, and composition, partially through access to pure functional programming from the DSL being embedded in these languages. We describe several example models built using the framework we developed, including Conway's Game of Life, Schelling Segregation Scenario, and Predator--Prey (Lotka--Volterra) dynamics."]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["Capturing cross-cutting concerns in agent-based models using computational effects"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Osgood, Nathaniel D"],"dc:contributor.committeemember":["Dutchyn, Christopher","Jamali, Nadeem","Gutwin, Carl"],"dc:creator":["Alegre, Alex"],"dc:date.accessioned":["2025-10-06T15:01:19Z"],"dc:date.available":["2025-10-06T15:01:19Z"],"dc:date.copyright":["2025"],"dc:date.created":["2026-01"],"dc:date.issued":["2025-10-06"],"dc:date.submitted":["January 2026"],"dc:date.updated":["2025-10-06T15:01:20Z"],"dc:description.abstract":["Agent-based modelling is a powerful technique for modelling complex, interconnected, real-world phenomena, but suffers from difficulties in writing maintainable and extensible models using extant frameworks. It has been suggested that agent-based models may benefit in aspects of software engineering such as maintainability and model clarity through the use of DSLs, aspect-oriented programming, and pure functional programming. Bringing these lines of work together, we cover the development of an agent-based modelling DSL and framework in Haskell and Koka, represented using an effect system. The framework we developed displays improvements in aspects of software engineering such as model clarity, separation of concerns, code reuse, flexibility, and composition, partially through access to pure functional programming from the DSL being embedded in these languages. We describe several example models built using the framework we developed, including Conway's Game of Life, Schelling Segregation Scenario, and Predator--Prey (Lotka--Volterra) dynamics."],"dc:format.mimetype":["application/pdf"],"dc:identifier.uri":["https://hdl.handle.net/10388/17401"],"dc:language.iso":["en"],"dc:subject":["domain-specific language","DSL","agent-based modelling","agent-based modeling","ABM","extensible effects","computational effects","effect system","software engineering","functional programming","Haskell","Koka","aspect-oriented programming","AOP"],"dc:title":["Capturing cross-cutting concerns in agent-based models using computational effects"],"dc:type":["Thesis","text"],"others:access_status":["open.access"],"person:identifier.orcid":["0009-0006-8677-3734"],"thesis:degree_department":["Computer Science"],"thesis:degree_discipline":["Computer Science"],"thesis:degree_level":["Masters"],"thesis:degree_name":["Master of Science (M.Sc.)"],"thesis:institution_name":["University of Saskatchewan"]},"updated_at":"2026-11-19T10:13:27Z"}