Skip to content

Commit

Permalink
lambda
Browse files Browse the repository at this point in the history
  • Loading branch information
aopoltorzhicky authored and m-kus committed Nov 25, 2020
1 parent 8f592a2 commit 8bc3020
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/diff.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function deducePrim(x) {
if (x.value === '[]') {
return 'list';
}
if (/(DIP|DUP|CAR|FAILWITH|Pair|Left|Right|Unit|Elt)/.test(x.value)) {
if (/({|}|DIP|DUP|CAR|FAILWITH|Pair|Left|Right|Unit|Elt)/.test(x.value)) {
return 'lambda';
}
if (/^"(tz|KT)[1-9A-HJ-NP-Za-km-z]{34}"$/.test(x.value)) {
Expand Down

0 comments on commit 8bc3020

Please sign in to comment.