# All files / src Relude_Tuple.bs.js

100% Statements 79/79
100% Branches 8/8
100% Functions 24/24
100% Lines 79/79

Press n or j to go to the next uncovered block, b, p or k for the previous block.

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203

    1x
    1x
    1x

    1x

    1x

    1x

    1x

    6x
    2x

    4x
    4x
    4x

    6x
    2x

    4x
    4x
    4x
    4x

    6x
    2x

    4x
    4x
    4x
    4x
    4x

    6x
    2x

    4x
    4x
    4x
    4x
    4x
    4x

    1x

    1x

    1x

    1x

    3x

    3x

    3x

    3x

    1x

    1x

    1x

    1x

    1x

    1x

    1x

    1x

    1x

    1x

    1x

    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x
    1x

     'use strict';

    var Curry = require("bs-platform/lib/js/curry.js");
    var Relude_List = require("./Relude_List.bs.js");
    var Relude_Array = require("./Relude_Array.bs.js");

    function make(a, b) {
      return /* tuple */[
              a,
              b
            ];
    }

    function make3(a, b, c) {
      return /* tuple */[
              a,
              b,
              c
            ];
    }

    function make4(a, b, c, d) {
      return /* tuple */[
              a,
              b,
              c,
              d
            ];
    }

    function make5(a, b, c, d, e) {
      return /* tuple */[
              a,
              b,
              c,
              d,
              e
            ];
    }

    function fromArray(param) {
      if (param.length !== 2) {
        return ;
      } else {
        var a = param[0];
        var b = param[1];
        return /* tuple */[
                a,
                b
              ];
      }
    }

    function fromArray3(param) {
      if (param.length !== 3) {
        return ;
      } else {
        var a = param[0];
        var b = param[1];
        var c = param[2];
        return /* tuple */[
                a,
                b,
                c
              ];
      }
    }

    function fromArray4(param) {
      if (param.length !== 4) {
        return ;
      } else {
        var a = param[0];
        var b = param[1];
        var c = param[2];
        var d = param[3];
        return /* tuple */[
                a,
                b,
                c,
                d
              ];
      }
    }

    function fromArray5(param) {
      if (param.length !== 5) {
        return ;
      } else {
        var a = param[0];
        var b = param[1];
        var c = param[2];
        var d = param[3];
        var e = param[4];
        return /* tuple */[
                a,
                b,
                c,
                d,
                e
              ];
      }
    }

    function fromArrayAtLeast2(xs) {
      return fromArray(Relude_Array.take(2, xs));
    }

    function fromArrayAtLeast3(xs) {
      return fromArray3(Relude_Array.take(3, xs));
    }

    function fromArrayAtLeast4(xs) {
      return fromArray4(Relude_Array.take(4, xs));
    }

    function fromArrayAtLeast5(xs) {
      return fromArray5(Relude_Array.take(5, xs));
    }

    function fromList(xs) {
      return fromArray(Relude_List.toArray(Relude_List.take(3, xs)));
    }

    function fromList3(xs) {
      return fromArray3(Relude_List.toArray(Relude_List.take(4, xs)));
    }

    function fromList4(xs) {
      return fromArray4(Relude_List.toArray(Relude_List.take(5, xs)));
    }

    function fromList5(xs) {
      return fromArray5(Relude_List.toArray(Relude_List.take(6, xs)));
    }

    function fromListAtLeast2(xs) {
      return fromList(Relude_List.take(2, xs));
    }

    function fromListAtLeast3(xs) {
      return fromList3(Relude_List.take(3, xs));
    }

    function fromListAtLeast4(xs) {
      return fromList4(Relude_List.take(4, xs));
    }

    function fromListAtLeast5(xs) {
      return fromList5(Relude_List.take(5, xs));
    }

    function apply2(f, param) {
      return Curry._2(f, param[0], param[1]);
    }

    function apply3(f, param) {
      return Curry._3(f, param[0], param[1], param[2]);
    }

    function apply4(f, param) {
      return Curry._4(f, param[0], param[1], param[2], param[3]);
    }

    function apply5(f, param) {
      return Curry._5(f, param[0], param[1], param[2], param[3], param[4]);
    }

    var make2 = make;

    var fromArray2 = fromArray;

    var fromList2 = fromList;

    exports.make = make;
    exports.make2 = make2;
    exports.make3 = make3;
    exports.make4 = make4;
    exports.make5 = make5;
    exports.fromArray = fromArray;
    exports.fromArray2 = fromArray2;
    exports.fromArray3 = fromArray3;
    exports.fromArray4 = fromArray4;
    exports.fromArray5 = fromArray5;
    exports.fromArrayAtLeast2 = fromArrayAtLeast2;
    exports.fromArrayAtLeast3 = fromArrayAtLeast3;
    exports.fromArrayAtLeast4 = fromArrayAtLeast4;
    exports.fromArrayAtLeast5 = fromArrayAtLeast5;
    exports.fromList = fromList;
    exports.fromList2 = fromList2;
    exports.fromList3 = fromList3;
    exports.fromList4 = fromList4;
    exports.fromList5 = fromList5;
    exports.fromListAtLeast2 = fromListAtLeast2;
    exports.fromListAtLeast3 = fromListAtLeast3;
    exports.fromListAtLeast4 = fromListAtLeast4;
    exports.fromListAtLeast5 = fromListAtLeast5;
    exports.apply2 = apply2;
    exports.apply3 = apply3;
    exports.apply4 = apply4;
    exports.apply5 = apply5;
    /* Relude_List Not a pure module */