Safe Haskell | Safe-Infered |
---|
This is sample code using System.Console.MultiArg. This could
be a command-line parser for the version of the Unix command tail
that is included with GNU coreutils version 8.5. main simply gets
the command line arguments, parses them, and prints out what was
parsed. To test it out, there is a sample.hs
file in the
binaries
directory of the multiarg archive that you can compile.