{-# LANGUAGE CPP #-} module Version where import Data.List import Data.Version version :: Version version = Version { versionBranch = [0,0,1] , versionTags = [] } packageVersions :: [(String, String)] packageVersions = sort $ tail [ (undefined, undefined) -- dummy #ifdef VERSION_OptDir , ("OptDir", VERSION_OptDir ) #endif #ifdef VERSION_array , ("array", VERSION_array ) #endif #ifdef VERSION_base , ("base", VERSION_base ) #endif #ifdef VERSION_bytestring , ("bytestring", VERSION_bytestring ) #endif #ifdef VERSION_containers , ("containers", VERSION_containers ) #endif #ifdef VERSION_deepseq , ("deepseq", VERSION_deepseq ) #endif #ifdef VERSION_mtl , ("mtl", VERSION_mtl ) #endif #ifdef VERSION_old_locale , ("old_locale", VERSION_old_locale ) #endif #ifdef VERSION_parse_dimacs , ("parse_dimacs", VERSION_parse_dimacs ) #endif #ifdef VERSION_parsec , ("parsec", VERSION_parsec ) #endif #ifdef VERSION_queue , ("queue", VERSION_queue ) #endif #ifdef VERSION_stm , ("stm", VERSION_stm ) #endif #ifdef VERSION_time , ("time", VERSION_time ) #endif ]