From bbd41b209d818c10686c3ed2e36107dc5cc4de47 Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Fri, 2 Oct 2015 17:25:52 -0400 Subject: [PATCH] Doc comments for the Term and Diff typealiases. --- prototype/Doubt/Algorithm.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/prototype/Doubt/Algorithm.swift b/prototype/Doubt/Algorithm.swift index 228d3ac4f..407b49360 100644 --- a/prototype/Doubt/Algorithm.swift +++ b/prototype/Doubt/Algorithm.swift @@ -1,6 +1,9 @@ /// A language of diffing algorithms. enum Algorithm { + /// The type of `Term`s over which `Algorithm`s operate. typealias Term = Fix + + /// The type of `Diff`s which `Algorithm`s produce. typealias Diff = Free> case Recursive(Term, Diff -> Recur)