Created
June 28, 2020 18:12
-
-
Save dariooddenino/e829f8efd8edcef7efa34c114ff63451 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Generated by purs version 0.13.8 | |
"use strict"; | |
var bar2 = 3; | |
var bar1 = function (x) { | |
return x; | |
}; | |
module.exports = { | |
bar1: bar1 | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Generated by purs version 0.13.8 | |
"use strict"; | |
var foo2 = 5; | |
var foo1 = function (x) { | |
return x; | |
}; | |
module.exports = { | |
foo1: foo1, | |
foo2: foo2 | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Imports where | |
import Imports.Foo | |
import Imports.Foo as IF | |
import Imports.Bar (bar1) | |
baz :: Int | |
baz = IF.foo1(bar1(foo2)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Imports.Bar | |
( bar1 ) | |
where | |
bar1 :: Int -> Int | |
bar1 x = x | |
bar2 :: Int | |
bar2 = 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Imports.Foo where | |
foo1 :: Int -> Int | |
foo1 x = x | |
foo2 :: Int | |
foo2 = 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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