Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Tree sort in Haskell

Name: Anonymous 2009-05-20 15:25


module TreeSort where
import Data.Set (toList, fromList)

treeSort :: Ord a => [a] -> [a]
treeSort = toList . fromList

Name: Anonymous 2009-05-21 6:38

>>18
That's only the case for periods and commas. Other punctuation may be placed outside of the quotation marks - and perhaps should in most cases.[1] However, that only matters if you use real quotes. Faggot quotes don't count.

References:
[1] - http://grammar.ccc.commnet.edu/GRAMMAR/marks/quotation.htm

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List