{-# LANGUAGE PackageImports #-} module Main where import "fontconfig-pure" Graphics.Text.Font.Choose as Font import System.Environment (getArgs) main :: IO () main = do args <- getArgs let (name, objects) = case args of { [] -> ("serif", []); name:objects -> (name, objects)} let query = nameParse name print query