ISBN13 check digit: Difference between revisions
→{{header|langur}}
Not a robot (talk | contribs) (Add Miranda) |
Langurmonkey (talk | contribs) |
||
Line 1,970:
=={{header|langur}}==
In this example, we map to multiple functions (actually 1 no-op).
<syntaxhighlight lang="langur">val .isbn13checkdigit =
.s = replace(.s, RE/[\- ]/)
.s -> re/^[0-9]{13}$/ and
fold(f{+}, map [_,
}
|