SEDOLs: Difference between revisions

48 bytes removed ,  4 years ago
→‎{{header|Langur}}: changed map to for in loop
(→‎{{header|Langur}}: changed map to for in loop)
Line 2,055:
}
 
for .input in sort (f .a < .b, keys .h,) {
map(
fval .d = .csd(.input) {
if val len(.d) => .csd(.input)1 {
ifwriteln len(.d)input, >": 1", {.d
} else }{
writeln .input, ": ", .d
}val else.expect {= toString .h[.input]
writeln .input, .d, valif .expect = toString= .h[.input]d {""} else {
writeln$" .input,(SEDOL .d,test iffailed; .expectexpected ==check digit \.d {"expect;)"} else {
},
$" (SEDOL test failed; expected check digit \.expect;)"}
)}</lang>
}
},
sort f .a < .b, keys .h,
)</lang>
 
{{out}}
1,007

edits