1
1
mirror of https://github.com/github/semantic.git synced 2024-12-27 00:44:57 +03:00

Document Cofree.extract.

This commit is contained in:
Rob Rix 2015-10-14 10:19:38 -04:00
parent ab3d297d95
commit 7bff8f6f50

View File

@ -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, _):