Send Beginners mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://www.haskell.org/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."


Today's Topics:

   1. Re:  The Missing Arrow Function Strikes Back (Brent Yorgey)
   2.  Haskell make/ant replacement? (Kelleher, Kevin)
   3. Re:  Haskell make/ant replacement? (Bob Ippolito)
   4. Re:  Haskell make/ant replacement? (Benjamin Edwards)
   5. Re:  Haskell make/ant replacement? (Lyndon Maydwell)
   6. Re:  The Missing Arrow Function Strikes Back (Adrian May)


----------------------------------------------------------------------

Message: 1
Date: Wed, 5 Jun 2013 09:58:49 -0400
From: Brent Yorgey <[email protected]>
Subject: Re: [Haskell-beginners] The Missing Arrow Function Strikes
        Back
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=iso-8859-1

What are the types of 'split' and 'unsplit'?  It is hard to guess what
you want just from their names.

-Brent

On Wed, Jun 05, 2013 at 01:02:40PM +0800, Adrian May wrote:
> Thanks Ertugrul. In the meantime I noticed that split and unsplit are also
> missing. Is there a similar replacement for them?
> 
> Adrian.
>  On 5 Jun 2013 12:57, "Ertugrul S?ylemez" <[email protected]> wrote:
> 
> > Adrian May <[email protected]> wrote:
> >
> > > I just banged up against this problem:
> > >
> > >
> > http://haskell.1045720.n5.nabble.com/The-case-of-the-missing-Arrow-function-td3125388.html
> > >
> > > Was liftA2 (not the applicative one) a bad idea, or is there another
> > > way to do it, or what?
> >
> > That liftA2 (let me call it liftA2') likely has this type signature:
> >
> >     liftA2' :: (Arrow cat)
> >                => (b -> c -> d)
> >                -> cat a b
> >                -> cat a c
> >                -> cat a d
> >
> > Does this sound familiar?  You can write this function in terms of the
> > arrow combinators:
> >
> >     liftA2' f c d = arr (uncurry f) . (c &&& d)
> >
> > However, if your arrow is also a family of applicative functors
> > (i.e. pretty much always),
> >
> >     instance Applicative (MyArrow a)
> >
> > then it's probably a bad idea, because you really want to use the
> > cleaner liftA2 instead:
> >
> >     liftA2 :: (Applicative f)
> >               => (a -> b -> c)
> >               -> f a
> >               -> f b
> >               -> f c
> >
> >
> > Greets,
> > Ertugrul
> >
> > --
> > Not to be or to be and (not to be or to be and (not to be or to be and
> > (not to be or to be and ... that is the list monad.
> >
> > _______________________________________________
> > Beginners mailing list
> > [email protected]
> > http://www.haskell.org/mailman/listinfo/beginners
> >
> >

> _______________________________________________
> Beginners mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/beginners




------------------------------

Message: 2
Date: Wed, 5 Jun 2013 14:08:03 +0000
From: "Kelleher, Kevin" <[email protected]>
Subject: [Haskell-beginners] Haskell make/ant replacement?
To: "The Haskell-Beginners Mailing List - Discussion of primarily
        beginner-level topics related to Haskell" <[email protected]>
Message-ID:
        <644E83C9A0C2C54A9F40341B5F63393716B6D9B5@CAMBOSEXC06.camelot.local>
Content-Type: text/plain; charset="us-ascii"

Is there a tool like "make" or "ant" that's written in Haskell?

I recall seeing something about a bit of software written in Haskell
that does dependency-checking for builds.

To be clear, I mean a tool that is generic in the sense that it
would build anything, not just code written in Haskell.

thanks,

Kevin
This message (including any attachments) is intended only for
the use of the individual or entity to which it is addressed and
may contain information that is non-public, proprietary,
privileged, confidential, and exempt from disclosure under
applicable law or may constitute as attorney work product.
If you are not the intended recipient, you are hereby notified
that any use, dissemination, distribution, or copying of this
communication is strictly prohibited. If you have received this
communication in error, notify us immediately by telephone and
(i) destroy this message if a facsimile or (ii) delete this message
immediately if this is an electronic communication.

Thank you.




------------------------------

Message: 3
Date: Wed, 5 Jun 2013 07:13:02 -0700
From: Bob Ippolito <[email protected]>
Subject: Re: [Haskell-beginners] Haskell make/ant replacement?
To: The Haskell-Beginners Mailing List - Discussion of primarily
        beginner-level topics related to Haskell <[email protected]>
Message-ID:
        <CACwMPm-2NPa7+=dgjbvxpuuwskda-ivazktuvwtzfjt5wn_...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Sounds like you're looking for Shake:
http://community.haskell.org/~ndm/shake/

On Wednesday, June 5, 2013, Kelleher, Kevin wrote:

> Is there a tool like "make" or "ant" that's written in Haskell?
>
> I recall seeing something about a bit of software written in Haskell
> that does dependency-checking for builds.
>
> To be clear, I mean a tool that is generic in the sense that it
> would build anything, not just code written in Haskell.
>
> thanks,
>
> Kevin
> This message (including any attachments) is intended only for
> the use of the individual or entity to which it is addressed and
> may contain information that is non-public, proprietary,
> privileged, confidential, and exempt from disclosure under
> applicable law or may constitute as attorney work product.
> If you are not the intended recipient, you are hereby notified
> that any use, dissemination, distribution, or copying of this
> communication is strictly prohibited. If you have received this
> communication in error, notify us immediately by telephone and
> (i) destroy this message if a facsimile or (ii) delete this message
> immediately if this is an electronic communication.
>
> Thank you.
>
>
> _______________________________________________
> Beginners mailing list
> [email protected] <javascript:;>
> http://www.haskell.org/mailman/listinfo/beginners
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://www.haskell.org/pipermail/beginners/attachments/20130605/3d86975f/attachment-0001.htm>

------------------------------

Message: 4
Date: Wed, 5 Jun 2013 15:13:12 +0100
From: Benjamin Edwards <[email protected]>
Subject: Re: [Haskell-beginners] Haskell make/ant replacement?
To: haskellbeginners <[email protected]>
Message-ID:
        <can6k4njdz60zugpdmddrl16to55uf_3b4v1a0qyn5_jqb7t...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Look up shake. It's awesome!

Ben
On 5 Jun 2013 15:11, "Kelleher, Kevin" <[email protected]> wrote:

> Is there a tool like "make" or "ant" that's written in Haskell?
>
> I recall seeing something about a bit of software written in Haskell
> that does dependency-checking for builds.
>
> To be clear, I mean a tool that is generic in the sense that it
> would build anything, not just code written in Haskell.
>
> thanks,
>
> Kevin
> This message (including any attachments) is intended only for
> the use of the individual or entity to which it is addressed and
> may contain information that is non-public, proprietary,
> privileged, confidential, and exempt from disclosure under
> applicable law or may constitute as attorney work product.
> If you are not the intended recipient, you are hereby notified
> that any use, dissemination, distribution, or copying of this
> communication is strictly prohibited. If you have received this
> communication in error, notify us immediately by telephone and
> (i) destroy this message if a facsimile or (ii) delete this message
> immediately if this is an electronic communication.
>
> Thank you.
>
>
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/beginners
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://www.haskell.org/pipermail/beginners/attachments/20130605/5cb6f01c/attachment-0001.htm>

------------------------------

Message: 5
Date: Thu, 6 Jun 2013 00:17:55 +1000
From: Lyndon Maydwell <[email protected]>
Subject: Re: [Haskell-beginners] Haskell make/ant replacement?
To: The Haskell-Beginners Mailing List - Discussion of primarily
        beginner-level topics related to Haskell <[email protected]>
Message-ID:
        <cam5qztyqvmbo1jsjhmuqq3jzvwwyy2dzu3f4prk3m3qsdh2...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Shake? http://hackage.haskell.org/package/shake


Regards,

 - Lyndon


On Thu, Jun 6, 2013 at 12:08 AM, Kelleher, Kevin <[email protected]>wrote:

> Is there a tool like "make" or "ant" that's written in Haskell?
>
> I recall seeing something about a bit of software written in Haskell
> that does dependency-checking for builds.
>
> To be clear, I mean a tool that is generic in the sense that it
> would build anything, not just code written in Haskell.
>
> thanks,
>
> Kevin
> This message (including any attachments) is intended only for
> the use of the individual or entity to which it is addressed and
> may contain information that is non-public, proprietary,
> privileged, confidential, and exempt from disclosure under
> applicable law or may constitute as attorney work product.
> If you are not the intended recipient, you are hereby notified
> that any use, dissemination, distribution, or copying of this
> communication is strictly prohibited. If you have received this
> communication in error, notify us immediately by telephone and
> (i) destroy this message if a facsimile or (ii) delete this message
> immediately if this is an electronic communication.
>
> Thank you.
>
>
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/beginners
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://www.haskell.org/pipermail/beginners/attachments/20130606/1310c534/attachment-0001.htm>

------------------------------

Message: 6
Date: Wed, 5 Jun 2013 22:46:10 +0800
From: Adrian May <[email protected]>
Subject: Re: [Haskell-beginners] The Missing Arrow Function Strikes
        Back
To: The Haskell-Beginners Mailing List - Discussion of primarily
        beginner-level topics related to Haskell <[email protected]>
Message-ID:
        <CAD-UbzGRurUQashicxSTcN0-GhJ-yVkHqEKi=myB5Qaq=k9...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Well I just read this:

http://www.haskell.org/haskellwiki/Arrow_tutorial

Adrian.



On 5 June 2013 21:58, Brent Yorgey <[email protected]> wrote:

> What are the types of 'split' and 'unsplit'?  It is hard to guess what
> you want just from their names.
>
> -Brent
>
> On Wed, Jun 05, 2013 at 01:02:40PM +0800, Adrian May wrote:
> > Thanks Ertugrul. In the meantime I noticed that split and unsplit are
> also
> > missing. Is there a similar replacement for them?
> >
> > Adrian.
> >  On 5 Jun 2013 12:57, "Ertugrul S?ylemez" <[email protected]> wrote:
> >
> > > Adrian May <[email protected]> wrote:
> > >
> > > > I just banged up against this problem:
> > > >
> > > >
> > >
> http://haskell.1045720.n5.nabble.com/The-case-of-the-missing-Arrow-function-td3125388.html
> > > >
> > > > Was liftA2 (not the applicative one) a bad idea, or is there another
> > > > way to do it, or what?
> > >
> > > That liftA2 (let me call it liftA2') likely has this type signature:
> > >
> > >     liftA2' :: (Arrow cat)
> > >                => (b -> c -> d)
> > >                -> cat a b
> > >                -> cat a c
> > >                -> cat a d
> > >
> > > Does this sound familiar?  You can write this function in terms of the
> > > arrow combinators:
> > >
> > >     liftA2' f c d = arr (uncurry f) . (c &&& d)
> > >
> > > However, if your arrow is also a family of applicative functors
> > > (i.e. pretty much always),
> > >
> > >     instance Applicative (MyArrow a)
> > >
> > > then it's probably a bad idea, because you really want to use the
> > > cleaner liftA2 instead:
> > >
> > >     liftA2 :: (Applicative f)
> > >               => (a -> b -> c)
> > >               -> f a
> > >               -> f b
> > >               -> f c
> > >
> > >
> > > Greets,
> > > Ertugrul
> > >
> > > --
> > > Not to be or to be and (not to be or to be and (not to be or to be and
> > > (not to be or to be and ... that is the list monad.
> > >
> > > _______________________________________________
> > > Beginners mailing list
> > > [email protected]
> > > http://www.haskell.org/mailman/listinfo/beginners
> > >
> > >
>
> > _______________________________________________
> > Beginners mailing list
> > [email protected]
> > http://www.haskell.org/mailman/listinfo/beginners
>
>
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/beginners
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://www.haskell.org/pipermail/beginners/attachments/20130605/2afedfeb/attachment.htm>

------------------------------

_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners


End of Beginners Digest, Vol 60, Issue 7
****************************************

Reply via email to