This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# List all subdirectories | |
SUBDIRS := $(wildcard */) | |
.PHONY: all | |
all: | |
@echo "Available commands: run, dev, test, update, format, build, add <package>, and remove <package>" | |
# Customize this per project | |
.PHONY: run | |
run: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import gleam/bool | |
import gleam/erlang/process | |
import gleam/function | |
import gleam/int | |
import gleam/list | |
import gleam/otp/actor | |
pub fn work_pool_forever( | |
inputs: List(a), | |
num_workers: Int, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pub fn decode33( | |
constructor: fn( | |
t1, | |
t2, | |
t3, | |
t4, | |
t5, | |
t6, | |
t7, | |
t8, |