Jump to content

Sort a list of object identifiers: Difference between revisions

m
→‎{{header|Haskell}}: adjusting between fmap ⇄ <$> to reduce bracket count
(→‎{{header|Haskell}}: (slightly simpler expression for the main function))
m (→‎{{header|Haskell}}: adjusting between fmap ⇄ <$> to reduce bracket count)
Line 216:
oidSort =
(intercalate "." <$>) .
(fmap (show <$>) <$>) . sort . fmap (fmap ((readInt\x <$-> read x :: Int) . splitOn ".") <$>)</lang>
 
=={{header|J}}==
9,655

edits

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