SEDOLs: Difference between revisions

Content added Content deleted
Line 2,006: Line 2,006:
=={{header|langur}}==
=={{header|langur}}==
{{trans|Go}}
{{trans|Go}}
{{works with|langur|0.6.11}}
<lang langur>val .weight = [1,3,1,7,3,9]
<lang langur>val .csd = f(.code) {

val .csd = f(.code) {
given len(.code) {
given len(.code) {
case 0:
case 0:
Line 2,019: Line 2,018:
return "invalid character(s)"
return "invalid character(s)"
}
}

val .weight = [1,3,1,7,3,9]


val .sum = foldfrom(
val .sum = foldfrom(
Line 2,024: Line 2,025:
0,
0,
pseries len .code,
pseries len .code,
split ZLS, .code,
split .code,
)
)