Skip to content

Instantly share code, notes, and snippets.

@rrevol
rrevol / gist:31663c6130a853d43736b13818d9b733
Created December 3, 2016 17:53 — forked from michaeldorner/gist:746c659476429a86a9970faaa6f95ec4
An FM Synthesizer in Swift using AVAudioEngine
import AVFoundation
import Foundation
// The single FM synthesizer instance.
private let gFMSynthesizer: FMSynthesizer = FMSynthesizer()
public class FMSynthesizer {
@rrevol
rrevol / jargon.md
Last active August 29, 2015 14:27 — forked from cb372/jargon.md
Category theory jargon cheat sheet

Category theory jargon cheat sheet

A primer/refresher on the category theory concepts that most commonly crop up in conversations about Scala or FP. (Because it's embarassing when I forget this stuff!)

I'll be assuming Scalaz imports in code samples, and some of the code may be pseudo-Scala.

Functor

A functor is something that supports map.