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: Feature request: anonymous arguments (Karl Voelker)
2. Re: Feature request: anonymous arguments (Julius Gedvilas)
3. Re: Feature request: anonymous arguments (Julius Gedvilas)
4. Re: Feature request: anonymous arguments (Yuval Langer)
----------------------------------------------------------------------
Message: 1
Date: Sat, 30 Aug 2014 02:58:43 -0700
From: Karl Voelker <[email protected]>
To: [email protected]
Subject: Re: [Haskell-beginners] Feature request: anonymous arguments
Message-ID:
<[email protected]>
Content-Type: text/plain; charset="us-ascii"
On Sat, Aug 30, 2014, at 02:32 AM, Julius Gedvilas wrote:
3. Is it? GHCi does not recognize it.
Prelude> :t \0 -> 1
\0 -> 1 :: (Num a1, Num a, Eq a) => a -> a1
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20140830/d39a3fc7/attachment-0001.html>
------------------------------
Message: 2
Date: Sat, 30 Aug 2014 12:59:44 +0300
From: Julius Gedvilas <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] Feature request: anonymous arguments
Message-ID:
<CAOwifxJF4dXCqxuVwg5agh5ooo0DSaWnpxXH_N8M=yexchf...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
... my bad
On Sat, Aug 30, 2014 at 12:58 PM, Karl Voelker <[email protected]> wrote:
> On Sat, Aug 30, 2014, at 02:32 AM, Julius Gedvilas wrote:
>
> 3. Is it? *GHCi *does not recognize it.
>
>
> Prelude> :t \0 -> 1
> \0 -> 1 :: (Num a1, Num a, Eq a) => a -> a1
>
> _______________________________________________
> 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/20140830/c12489a5/attachment-0001.html>
------------------------------
Message: 3
Date: Sat, 30 Aug 2014 13:06:20 +0300
From: Julius Gedvilas <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] Feature request: anonymous arguments
Message-ID:
<caowifxk_4pn33l3cdug40uh99eujcea4ep846myctckjtnw...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
\0 -> 1 :: (Num a1, Num a, Eq a) => a -> a1
Actually this is fairly interesting. I need to dig into it.
On Sat, Aug 30, 2014 at 12:59 PM, Julius Gedvilas <[email protected]> wrote:
> ... my bad
>
>
> On Sat, Aug 30, 2014 at 12:58 PM, Karl Voelker <[email protected]> wrote:
>
>> On Sat, Aug 30, 2014, at 02:32 AM, Julius Gedvilas wrote:
>>
>> 3. Is it? *GHCi *does not recognize it.
>>
>>
>> Prelude> :t \0 -> 1
>> \0 -> 1 :: (Num a1, Num a, Eq a) => a -> a1
>>
>> _______________________________________________
>> 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/20140830/d277ae60/attachment-0001.html>
------------------------------
Message: 4
Date: Sat, 30 Aug 2014 13:33:51 +0300
From: Yuval Langer <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] Feature request: anonymous arguments
Message-ID:
<cak0ojg1srrswh+ym5+aafcgw1p6qwt+gu1urkpyvuyt7k9w...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
It is pattern recognition of the case for which the argument is zero. The
function will return 1 if provided with 0, but will throw a non-exhaustive
patterns in lambda exception for any other correctly typed input.
On Aug 30, 2014 1:06 PM, "Julius Gedvilas" <[email protected]> wrote:
> \0 -> 1 :: (Num a1, Num a, Eq a) => a -> a1
>
> Actually this is fairly interesting. I need to dig into it.
>
>
> On Sat, Aug 30, 2014 at 12:59 PM, Julius Gedvilas <[email protected]>
> wrote:
>
>> ... my bad
>>
>>
>> On Sat, Aug 30, 2014 at 12:58 PM, Karl Voelker <[email protected]> wrote:
>>
>>> On Sat, Aug 30, 2014, at 02:32 AM, Julius Gedvilas wrote:
>>>
>>> 3. Is it? *GHCi *does not recognize it.
>>>
>>>
>>> Prelude> :t \0 -> 1
>>> \0 -> 1 :: (Num a1, Num a, Eq a) => a -> a1
>>>
>>> _______________________________________________
>>> 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/20140830/2aee4fed/attachment-0001.html>
------------------------------
Subject: Digest Footer
_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners
------------------------------
End of Beginners Digest, Vol 74, Issue 31
*****************************************