From 7bff8f6f50af598170df70fb4730264957cfdb60 Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Wed, 14 Oct 2015 10:19:38 -0400 Subject: [PATCH] Document `Cofree.extract`. --- prototype/Doubt/Cofree.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/prototype/Doubt/Cofree.swift b/prototype/Doubt/Cofree.swift index 5e9b4876a..670f2eefe 100644 --- a/prototype/Doubt/Cofree.swift +++ b/prototype/Doubt/Cofree.swift @@ -29,6 +29,7 @@ extension Cofree { // MARK: - Comonad extension Cofree { + /// Returns the value annotating the syntax tree at this node. public var extract: B { switch self { case let .Unroll(b, _):