Skip to content

Instantly share code, notes, and snippets.

@dariooddenino
Created June 28, 2020 18:12
Show Gist options
  • Save dariooddenino/e829f8efd8edcef7efa34c114ff63451 to your computer and use it in GitHub Desktop.
Save dariooddenino/e829f8efd8edcef7efa34c114ff63451 to your computer and use it in GitHub Desktop.
// Generated by purs version 0.13.8
"use strict";
var bar2 = 3;
var bar1 = function (x) {
return x;
};
module.exports = {
bar1: bar1
};
// Generated by purs version 0.13.8
"use strict";
var foo2 = 5;
var foo1 = function (x) {
return x;
};
module.exports = {
foo1: foo1,
foo2: foo2
};
module Imports where
import Imports.Foo
import Imports.Foo as IF
import Imports.Bar (bar1)
baz :: Int
baz = IF.foo1(bar1(foo2))
module Imports.Bar
( bar1 )
where
bar1 :: Int -> Int
bar1 x = x
bar2 :: Int
bar2 = 3
module Imports.Foo where
foo1 :: Int -> Int
foo1 x = x
foo2 :: Int
foo2 = 5
// Generated by purs version 0.13.8
"use strict";
var Imports_Bar = require("../Imports.Bar/index.js");
var Imports_Foo = require("../Imports.Foo/index.js");
var baz = Imports_Foo.foo1(Imports_Bar.bar1(Imports_Foo.foo2));
module.exports = {
baz: baz
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment