Re: cradle: a simpler process library
Julian Arni <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.cafe |
|---|---|
| Message-ID | <CAPSChMPN_GT9_yT7Qmw3wHmwuZ+REBBmtcMzNrh_YdY1ViptzA@mail.gmail.com> |
Yeah, maybe it would have been nicer to do it that way. Re: shake's cmd. Yes, that's exactly the inspiration. We removed the polymorphism and varags aspect of the *arguments* (but kept it for the *outputs*) because it felt like it complicated signatures, type inference, and documentation for no real gain. But at the start "cradle" was almost just a pure separation of shake's cmd into a new package. On Wed, May 15, 2024 at 5:29 AM Isaac Elliott <[email protected]> wrote: > Nice. I first saw this style of polymorphic command output in > Shake.Command[1]. > > I'm surprised that `cmd` doesn't take an argument list, given how common > it is to pass command args. I think it should; I'm willing to type `cmd > "ls" []` so that `cmd "ls" ["-l"]` is shorter. > > [1]: > https://hackage.haskell.org/package/shake-0.19.8/docs/Development-Shake-Command.html > > On Wed, 15 May 2024, 07:54 Julian Arni, <[email protected]> wrote: > >> Hi all, >> >> We just released cradle, a library aimed at a being simpler and more >> intuitive subprocess library. More details in: >> >> - The announcement: https://garnix.io/blog/announcing-cradle >> - The hackage page: >> https://hackage.haskell.org/package/cradle-0.0.0.0/docs/Cradle.html >> >> Feedback welcome! >> >> Cheers, >> Julian >> _______________________________________________ >> Haskell-Cafe mailing list >> To (un)subscribe, modify options or view archives go to: >> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe >> Only members subscribed via the mailman list are allowed to post. > > _______________________________________________ Haskell-Cafe mailing list To (un)subscribe, modify options or view archives go to: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe Only members subscribed via the mailman list are allowed to post.