/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

justinpombrio.net
| | bartoszmilewski.com
3.0 parsecs away

Travel
| | This is part 9 of Categories for Programmers. Previously: Functoriality. See the Table of Contents. So far I've been glossing over the meaning of function types. A function type is different from other types. Take Integer, for instance: It's just a set of integers. Bool is a two element set. But a function type a->b...
| | kuruczgy.com
2.8 parsecs away

Travel
| | [AI summary] The article explores the intersection of functional programming and logic through the lens of dependent types. It begins with foundational concepts like type constructors and inductive types, then delves into the Curry-Howard isomorphism, which links programs to mathematical proofs. The discussion covers how types represent propositions, functions as implications, and inductive types as proof strategies. Examples include defining logical relations like less than or equal to and equality, and demonstrating how to prove properties like universal quantification and mathematical identities. The article concludes with an overview of resources for further study in proof assistants like Coq and Idris, emphasizing the practical applications of dependent...
| | wimvanderbauwhede.codeberg.page
2.6 parsecs away

Travel
| | Algebraic data types are great for building complex data structures, and easy to implement in Raku using roles.
| | blog.hmpl-lang.dev
18.7 parsecs away

Travel
| In this short article I would like to consider working with asynchrony in HMPL. By default, in order to get a response from the server after an unspecified time, you need to specify a callback function in HMPLRequestInit. The key will be get. In the code, it looks like this:...