# All files / src/js Relude_Js_Console.bs.js

18.18% Statements 4/22
100% Branches 0/0
0% Functions 0/12
18.18% Lines 4/22

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

    1x
    1x

    1x

    1x

     'use strict';

    var Relude_IO = require("../Relude_IO.bs.js");
    var Caml_splice_call = require("bs-platform/lib/js/caml_splice_call.js");

    function log(a) {
      return Relude_IO.suspend((function (param) {
                    console.log(a);
                    return /* () */0;
                  }));
    }

    function log2(a, b) {
      return Relude_IO.suspend((function (param) {
                    console.log(a, b);
                    return /* () */0;
                  }));
    }

    function log3(a, b, c) {
      return Relude_IO.suspend((function (param) {
                    console.log(a, b, c);
                    return /* () */0;
                  }));
    }

    function log4(a, b, c, d) {
      return Relude_IO.suspend((function (param) {
                    console.log(a, b, c, d);
                    return /* () */0;
                  }));
    }

    function logMany(xs) {
      return Relude_IO.suspend((function (param) {
                    Caml_splice_call.spliceApply(console.log, [xs]);
                    return /* () */0;
                  }));
    }

    function warn(a) {
      return Relude_IO.suspend((function (param) {
                    console.warn(a);
                    return /* () */0;
                  }));
    }

    var IO = {
      log: log,
      log2: log2,
      log3: log3,
      log4: log4,
      logMany: logMany,
      warn: warn
    };

    exports.IO = IO;
    /* Relude_IO Not a pure module */