[Haskell-cafe] Re: Translating perl -> haskell,
string "fill ins" with an error on invalid inputseems awfully
complex. Is there a way to simplify?
Evan Laforge
qdunkan at gmail.com
Fri Apr 13 13:42:40 EDT 2007
> financial_script = gnuplot_timeseries_settings ++ "\n"
> ++ "plot [\"" ++ startDate ++ "\":\"" ++ endDate ++ "\"]"
> ++ " '" ++ companyFile ++ "'" ++ modeString
> ++ " title \"" ++ company ++ " " ++ titleEnd ++ "\""
Also note the existence of Text.Printf if you like that style better.
More information about the Haskell-Cafe
mailing list