scott-encoding-st

Description

Scott-encoded algebraic data types

Details

Source
GitHub
License
BSD-3-Clause
Created
Nov. 23, 2023
Updated
Dec. 1, 2023

README excerpt

## Scott-encoded ADTs in Smalltalk/Pharo

A collection of classes encoding common algebraic data types: `Boolean`, `Pair`, `Maybe`, `Eihter`, `List` and `Stream`.

Source code for [“Scott-encoding ADTs into objects”](https://unicolas.github.io/blog/2023-11-23-scott-encoding-adts-into-objects) blog post.
← Back to results