Now [now]
- November 30, 2026
- Brent A. Yorgey
What I am up to right now (updated weekly). Inspired by Derek Sivers.
Latest weeknotes [005Z]
Current courses (Fall 2026) [0003]
- October 24, 2025
This fall, I am teaching three courses:
- LBST 105, First-Year Foundations
- CSCI 150, Foundations of Computer Science
- CSCI 382, Algorithms
Swarm [000O]
- October 26, 2025
In the fall of 2021 I started developing a game called Swarm and built a small open-source community around its development. So far we have made a few official alpha releases, and development continues to hum along. We finally merged a big import feature to the language. I've recently finished work on an immutable array type and a integrated help system. I've also been writing up some notes about a planned redesign of the type system. After getting out an 0.9 release I will probably next turn to implementing a parallel semantics.
Applicative inference [000P]
- October 26, 2025
While working on a mini-DSL as part of the Swarm project, I got an intuitive sense that the types of DSLs involving an applicative functor can be fully inferred from (suitably restricted) programs that just use regular applicative notation, whereas for monads this would be ambiguous. I have been working, intermittently, on a research project to formalize and prove this idea.
Recently, I have teamed up with Ryan Doenges and Aaron Stump to collaborate on this problem and related things.
Related talks and papers
- October 26, 2025
Reference. Idiomatic Inference for DSLs [idiomatic-inference-PLV]
- January 30, 2025
- Brent A. Yorgey
- Portland State University PLV seminar
- Slides
McBride and Paterson's idioms, or applicative functors, are a well-known abstraction defining function application in some ambient effectful context. It would often be useful, especially in the context of designing domain-specific languages, to infer such "idiomatic'' application, allowing the programmer to use plain function application syntax—but only when doing so is unambiguous. I will present work in progress characterizing the conditions necessary for this to be possible.
Current Reading [000Q]
- November 30, 2026
Things I’m reading right now:
- City of Last Chances by Adrian Tchaikovsky
- Stolen Focus by Johann Hari
- Creation Regained by Albert Wolters