Re: [Haskell-cafe] GetOpt

2006-04-27 Thread Anton Kulchitsky
should make a wiki page from it, but I seem to never do such things and can't promise to do it this time :-/ Thank you so much!!! That is great! Anton Kulchitsky ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman

Re: [Haskell-cafe] GetOpt

2006-04-27 Thread Anton Kulchitsky
approach to Haskell programming: http://www.haskell.org/haskellwiki/Hitchhikers_Guide_to_the_Haskell Thank you very much, Bulat. Now I see why people say that haskell-cafe is the best mail-list! :) Anton Kulchitsky ___ Haskell-Cafe mailing list

[Haskell-cafe] GetOpt

2006-04-26 Thread Anton Kulchitsky
() usage errLine = putStr $ errLine ++ (usageInfo Usage: shipgnjs [option...] options) -- General info string genInfo :: IO () genInfo = putStrLn shipgnjs (c) 2005 Anton Kulchitsky {- This is the main function that operates on correct string: input: the first element is input pgn