Files
nixpkgs/pkgs/development/compilers/purescript/purescript/test-minimal-module/Main.js
Profpatsch f71bdfd5ab purescript: add test that compiles & runs a minimal module
This ensures the compiler actually works.

`console.log` is wrapped in a purescript function and everything is
run with nodejs.
2019-06-04 13:55:58 +02:00

9 lines
121 B
JavaScript

"use strict"
exports.log = function (s) {
return function () {
console.log(s);
return {};
};
};