我在开展一个项目时,利用外来图书馆和Haskell语言创建人民国防军,我对设立命令档案的职能有一些怀疑。 我的工作产生于人民抵抗力量现在缺乏分类职能。 例如,我的达特案档案中载有这些档案(肌肉、录像)。
Files {files = [{filename = Video "-4th_dan trailer.mp4" size = "15 MB" ftype = "MP4" copyright = "-" height = "-", width = "720"}
Video {filename = "TheLostInterview.mp4" size = "73 MB" ftype = "MP4" copyright = "-" height = "Bruce_Lee_-_The_Lost_Interview.avi" width = "240"}
Audio {filename = "8bp017-08-nullsleep-humdrumz.mp3" size = "1984 kb", ftype = "MPG / 3" copyright = "-", title = "humdrumz" artist = "nullsleep", year = "2001"}
Audio {filename = "8bp017-04-nullsleep-fluffy_nougat.mp3" size = "1501 kb", ftype = "MPG / 3" copyright = "-", title = "fluffy nougat," artist = "nullsleep" year = "2001"}
我现在通过<代码>等职能。 (Ord b) => (a -> b) -> [a] -> [a]select(((> 500) 体积(dat file)得按大小、年份、艺术家......编排这些档案。
Now one problem is the size because I want to sort by size and the size he is set to "15 MB" the MB has to be able to sort out there to `