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.
2 parents 64c1a0a + aee6bba commit 55cbdefCopy full SHA for 55cbdef
src/Data/Tuple/Nested.purs
@@ -27,9 +27,14 @@ import Prelude
27
import Data.Tuple (Tuple(..))
28
29
-- | Shorthand for constructing n-tuples as nested pairs.
30
--- | `a /\ b /\ c /\ d /\ unit` becomes `Tuple a (Tuple b (Tuple c (Tuple d (Tuple unit))))`
+-- | `a /\ b /\ c /\ d /\ unit` becomes `Tuple a (Tuple b (Tuple c (Tuple d unit)))`
31
infixr 6 Tuple as /\
32
33
+-- | Shorthand for constructing n-tuple types as nested pairs.
34
+-- | `forall a b c d. a /\ b /\ c /\ d /\ Unit` becomes
35
+-- | `forall a b c d. Tuple a (Tuple b (Tuple c (Tuple d Unit)))`
36
+infixr 6 type Tuple as /\
37
+
38
type Tuple1 a = T2 a Unit
39
type Tuple2 a b = T3 a b Unit
40
type Tuple3 a b c = T4 a b c Unit
0 commit comments