Jump to content

Sort a list of object identifiers: Difference between revisions

m
Line 187:
-- sortedIdentifiers :: [String] -> [String]
on sortedIdentifiers(xs)
script compareIdentifierslistCompare
on |λ|(x, y)
script go
Line 203:
map(intercalate("."), ¬
sortBy(compareIdentifierslistCompare, ¬
map(compose(curry(my map)'s ¬
|λ|(my readint), splitOn(".")), xs)))
9,659

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.