We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Box
1 parent 924e6de commit 163ac72Copy full SHA for 163ac72
Aquifer/X.swift
@@ -11,7 +11,7 @@
11
import Foundation
12
import Swiftz
13
14
-/// The (nominally) empty type, implemented as a strictly self-recursive struct.
+/// The (nominally) empty type, implemented as a semi-strictly self-recursive struct.
15
public struct X {
16
private let rec: Box<X>
17
@@ -35,5 +35,5 @@ public func fix<A>(f: (() -> A) -> A) -> A {
35
36
/// Bottom is the only (non-`error`) inhabitent of X
37
public func infiniteLoop() -> X {
38
- return fix { Box($0) }
+ return fix { X($0) }
39
}
0 commit comments