# All files / src Relude_Identity.bs.js

92.52% Statements 99/107
100% Branches 0/0
53.85% Functions 7/13
92.52% Lines 99/107

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
    204
    205

    6x
    6x
    6x
    6x
    6x

    44x

    2x

    40x

    6x

    6x

    4x

    6x

    6x

    6x

    6x

    27x

    6x

    6x

    2x

    1x

    6x

    6x

    6x

    6x

    6x

    6x

    6x

    6x

    6x

    6x

    6x

    6x

    6x

    6x

    6x

    6x

    6x

    6x

    6x

    6x

    6x

    6x

    6x

    6x

    6x

    6x

    6x

    6x

    6x

    6x

    6x

    6x

    6x
    6x
    6x
    6x
    6x
    6x
    6x
    6x
    6x
    6x
    6x
    6x
    6x
    6x
    6x
    6x
    6x
    6x
    6x
    6x
    6x
    6x
    6x
    6x
    6x
    6x
    6x
    6x
    6x
    6x
    6x
    6x
    6x
    6x
    6x
    6x
    6x
    6x
    6x
    6x
    6x
    6x
    6x
    6x
    6x
    6x
    6x

     'use strict';

    var Curry = require("bs-platform/lib/js/curry.js");
    var Relude_Extensions_Apply = require("./extensions/Relude_Extensions_Apply.bs.js");
    var Relude_Extensions_Monad = require("./extensions/Relude_Extensions_Monad.bs.js");
    var Relude_Extensions_Functor = require("./extensions/Relude_Extensions_Functor.bs.js");
    var Relude_Extensions_Applicative = require("./extensions/Relude_Extensions_Applicative.bs.js");

    function wrap(a) {
      return a;
    }

    function unwrap(a) {
      return a;
    }

    function map(f, fa) {
      return Curry._1(f, fa);
    }

    var Functor = {
      map: map
    };

    var include = Relude_Extensions_Functor.FunctorExtensions(Functor);

    function apply(ff, fa) {
      return Curry._1(ff, fa);
    }

    var Apply = {
      map: map,
      apply: apply
    };

    var include$1 = Relude_Extensions_Apply.ApplyExtensions(Apply);

    var Applicative = {
      map: map,
      apply: apply,
      pure: wrap
    };

    var include$2 = Relude_Extensions_Applicative.ApplicativeExtensions(Applicative);

    function bind(fa, f) {
      return Curry._1(f, fa);
    }

    var Monad = {
      map: map,
      apply: apply,
      pure: wrap,
      flat_map: bind
    };

    var include$3 = Relude_Extensions_Monad.MonadExtensions(Monad);

    function eq(eq$1, fa, fb) {
      return Curry._2(eq$1.eq, fa, fb);
    }

    function eqBy(f, fa, fb) {
      return Curry._2(f, fa, fb);
    }

    function Eq(EQ) {
      var eq = function (fa, fb) {
        return Curry._2(EQ.eq, fa, fb);
      };
      return {
              eq: eq
            };
    }

    function show(show$1, fa) {
      return Curry._1(show$1.show, fa);
    }

    function showBy(f, fa) {
      return Curry._1(f, fa);
    }

    function Show(S) {
      var show = function (fa) {
        return Curry._1(S.show, fa);
      };
      return {
              show: show
            };
    }

    var BsFunctorExtensions = include.BsFunctorExtensions;

    var flipMap = include.flipMap;

    var $$void = include.$$void;

    var voidRight = include.voidRight;

    var voidLeft = include.voidLeft;

    var flap = include.flap;

    var BsApplyExtensions = include$1.BsApplyExtensions;

    var applyFirst = include$1.applyFirst;

    var applySecond = include$1.applySecond;

    var map2 = include$1.map2;

    var map3 = include$1.map3;

    var map4 = include$1.map4;

    var map5 = include$1.map5;

    var tuple2 = include$1.tuple2;

    var tuple3 = include$1.tuple3;

    var tuple4 = include$1.tuple4;

    var tuple5 = include$1.tuple5;

    var mapTuple2 = include$1.mapTuple2;

    var mapTuple3 = include$1.mapTuple3;

    var mapTuple4 = include$1.mapTuple4;

    var mapTuple5 = include$1.mapTuple5;

    var pure = wrap;

    var BsApplicativeExtensions = include$2.BsApplicativeExtensions;

    var liftA1 = include$2.liftA1;

    var BsMonadExtensions = include$3.BsMonadExtensions;

    var flatMap = include$3.flatMap;

    var flatten = include$3.flatten;

    var composeKleisli = include$3.composeKleisli;

    var flipComposeKleisli = include$3.flipComposeKleisli;

    var liftM1 = include$3.liftM1;

    var when_ = include$3.when_;

    var unless = include$3.unless;

    exports.wrap = wrap;
    exports.unwrap = unwrap;
    exports.map = map;
    exports.Functor = Functor;
    exports.BsFunctorExtensions = BsFunctorExtensions;
    exports.flipMap = flipMap;
    exports.$$void = $$void;
    exports.voidRight = voidRight;
    exports.voidLeft = voidLeft;
    exports.flap = flap;
    exports.apply = apply;
    exports.Apply = Apply;
    exports.BsApplyExtensions = BsApplyExtensions;
    exports.applyFirst = applyFirst;
    exports.applySecond = applySecond;
    exports.map2 = map2;
    exports.map3 = map3;
    exports.map4 = map4;
    exports.map5 = map5;
    exports.tuple2 = tuple2;
    exports.tuple3 = tuple3;
    exports.tuple4 = tuple4;
    exports.tuple5 = tuple5;
    exports.mapTuple2 = mapTuple2;
    exports.mapTuple3 = mapTuple3;
    exports.mapTuple4 = mapTuple4;
    exports.mapTuple5 = mapTuple5;
    exports.pure = pure;
    exports.Applicative = Applicative;
    exports.BsApplicativeExtensions = BsApplicativeExtensions;
    exports.liftA1 = liftA1;
    exports.bind = bind;
    exports.Monad = Monad;
    exports.BsMonadExtensions = BsMonadExtensions;
    exports.flatMap = flatMap;
    exports.flatten = flatten;
    exports.composeKleisli = composeKleisli;
    exports.flipComposeKleisli = flipComposeKleisli;
    exports.liftM1 = liftM1;
    exports.when_ = when_;
    exports.unless = unless;
    exports.eq = eq;
    exports.eqBy = eqBy;
    exports.Eq = Eq;
    exports.show = show;
    exports.showBy = showBy;
    exports.Show = Show;
    /* include Not a pure module */