Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/Data/String/Regex.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

// module Data.String.Regex

exports.showRegex$prime = function (r) {
exports["showRegex'"] = function (r) {
return "" + r;
};

exports.regex$prime = function (s1) {
exports["regex'"] = function (s1) {
return function (s2) {
return new RegExp(s1, s2);
};
Expand Down Expand Up @@ -60,7 +60,7 @@ exports.replace = function (r) {
};
};

exports.replace$prime = function (r) {
exports["replace'"] = function (r) {
return function (f) {
return function (s2) {
return s2.replace(r, function (match) {
Expand Down
2 changes: 1 addition & 1 deletion src/Data/String/Unsafe.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ exports.charAt = function (i) {
};
};

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