[Haskell-beginners] Strange new Haskell Platform
bucephalus org
bucephalus.org at gmail.com
Thu Sep 20 15:40:29 CEST 2012
Hi Brent, Hi Lorenzo,
Wow! Indeed, there it is.
Thank you!!
On Thu, Sep 20, 2012 at 3:37 PM, Lorenzo Bolla <lbolla at gmail.com> wrote:
> You probably want `System.Process.system`:
>
> http://hackage.haskell.org/packages/archive/process/latest/doc/html/System-Process.html#v:system
>
> L.
>
>
> On Thu, Sep 20, 2012 at 2:29 PM, bucephalus org
> <bucephalus.org at gmail.com> wrote:
> > Dear Corentin, Dear Chaddai, Dear Lorenzo,
> >
> > Thank you for your replies, they explain everything I didn't understand.
> >
> > Only, I cannot find the new equivalent for the old
> > System.system
> > function, which doesn't appear anymore? At least not in
> >
> http://www.haskell.org/ghc/docs/7.4-latest/html/libraries/base-4.5.1.0/doc-index-S.htm
> > ?
> >
> > Actually, I always use it in a little helper file I apply in all my
> Haskell
> > projects. For example, if a project has modules M1.hs and M2.hs, this
> helper
> > file is
> > -- helper.hs
> > import System
> > import M1
> > import M2
> > myhaddock = System.system "haddock -h M1.hs M2.hs"
> > so that I can start each session simply with
> > $ ghci
> > Prelude> :l helper.hs
> > and I can generate the docs M1.html and M2.html for my project simply
> with
> > Main> myhaddock
> >
> > I could probably do all this with some built-in tools. For example there
> is
> > Distribution.Simple.Haddock.haddock :: PackageDescription ->
> > LocalBuildInfo -> [PPSuffixHandler] -> IO ()
> > but all this might be well programmed, but is so poorly documented, that
> I
> > am not able figure that out.
> >
> > A while ago I did an intensive study on this whole Cabal, and at that
> stage
> > I became really frustrated with Haskell. I had spent a lot of time in
> > realizing two nice projects, but I was not able to cabalize and publish
> > them. Since then, I am just waiting and hoping for a thorough
> introduction
> > (beyond the overwhelming Cabal manual) that explains all that to mere
> > mortals.
> >
> > Anyway, thank you very much again.
> > Regards, Tom
> >
> > _______________________________________________
> > Beginners mailing list
> > Beginners at haskell.org
> > http://www.haskell.org/mailman/listinfo/beginners
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20120920/a43131a5/attachment.htm>
More information about the Beginners
mailing list