Skip to content

Commit 45829a5

Browse files
committed
Merge pull request #34 from sharkdp/fix-ffi-exports
Fix FFI exports
2 parents 4bc367f + 4b30b56 commit 45829a5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Data/String/Regex.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33

44
// module Data.String.Regex
55

6-
exports.showRegex$prime = function (r) {
6+
exports["showRegex'"] = function (r) {
77
return "" + r;
88
};
99

10-
exports.regex$prime = function (s1) {
10+
exports["regex'"] = function (s1) {
1111
return function (s2) {
1212
return new RegExp(s1, s2);
1313
};
@@ -60,7 +60,7 @@ exports.replace = function (r) {
6060
};
6161
};
6262

63-
exports.replace$prime = function (r) {
63+
exports["replace'"] = function (r) {
6464
return function (f) {
6565
return function (s2) {
6666
return s2.replace(r, function (match) {

src/Data/String/Unsafe.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ exports.charAt = function (i) {
1717
};
1818
};
1919

20-
exports.$$char = function (s) {
20+
exports["char"] = function (s) {
2121
if (s.length !== 1) return s.charAt(0);
2222
throw new Error("Data.String.Unsafe.char: Expected string of length 1.");
2323
};

0 commit comments

Comments
 (0)