Send Beginners mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://mail.haskell.org/cgi-bin/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:  Point free mystery (Marcin Mrotek)
   2. Re:  Left vs Right (Greg Graham)
   3. Re:  Left vs Right (emacstheviking)
   4. Re:  Left vs Right (emacstheviking)


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

Message: 1
Date: Thu, 16 Apr 2015 21:48:52 +0200
From: Marcin Mrotek <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
        beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] Point free mystery
Message-ID:
        <CAJcfPznhA=yhyhzvbwtafudt8gttberwuvswrdzosp7drb-...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

Hello,

Well, writing out all top-level types is generally considered good
style amongst Haskell community, as far as I know. But whenever you
get weird type errors on unannotated toplevel functions, try

{-# LANGUAGE NoMonomorphismRestriction #-}

at the beginning of the soruce file, just as Brandon Allbery (sort of)
said, and see https://wiki.haskell.org/Monomorphism_restriction for
the explanation.

Best regards,
Marcin Mrotek


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

Message: 2
Date: Thu, 16 Apr 2015 21:22:39 +0000
From: Greg Graham <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
        beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] Left vs Right
Message-ID:
        <CAJdD3rtcd5gpbrnWjV=kekb7758zbklvg3qfvfuklj0j1ax...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

On Thu, Apr 16, 2015 at 3:42 AM emacstheviking <[email protected]> wrote:

> "Semantically, "Either left right" can be seen as a container of one or
> zero "right" that contains out-of-band information of type "left" when it's
> empty. So when you fmap over it, you only touch the content, not the
> out-of-band information."
>
> Yup. Whatever he said. ;)  ...that's bordering on monadic comparison
> tutorials if you ask me... LOL. A lot of people may not even know what "in
> band" and "out-of-band" even means. I grew up with X25, RS232, HDLC etc so
> that's ok by me. You have to be very very careful about how you explain
> things to  people. One of my favourite videos on YouTube is some guy asking
> Richard Feynman how magnets work...well, he did ask!
> https://www.youtube.com/watch?v=wMFPe-DwULM
>

I am just learning Haskell, having just finished working through _Learn You
a Haskell_, so I am no expert. However, the learning curve I am experience
reminds me of when I went from Applesoft BASIC to Pascal, and when I went
from C to C++. There was a lot of new terminology to learn such as
single-entry/single exit, procedures, formal and actual parameters,
encapsulation, polymorphism, early and late binding, and overloading.There
were plenty of nay-sayers that claimed that these paradigms introduced
unnecessary difficulties, but today you have to search far and wide for
someone who advocates GOTOs, and although O-O is not universally loved, it
is easily the dominant paradigm.

So, although I am still finding Haskell to be awkward for me, I am able to
wrestle with it until it clicks into place, and then it's really beautiful.
I feel like the benefits of the language will outweigh the effort it is
taking me to learn it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.haskell.org/pipermail/beginners/attachments/20150416/12cee917/attachment-0001.html>

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

Message: 3
Date: Fri, 17 Apr 2015 08:10:39 +0100
From: emacstheviking <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
        beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] Left vs Right
Message-ID:
        <CAEiEuUJCYp8aNLZ=jvq9ku87fboe_ttn+rb0h20qzuvy+0d...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Yeah. Learning Lisp did it for me....Haskell is super-strength Kiil-Aid
baby! Drink it and be changed forever.


On 16 April 2015 at 22:22, Greg Graham <[email protected]> wrote:

> On Thu, Apr 16, 2015 at 3:42 AM emacstheviking <[email protected]> wrote:
>
>> "Semantically, "Either left right" can be seen as a container of one or
>> zero "right" that contains out-of-band information of type "left" when it's
>> empty. So when you fmap over it, you only touch the content, not the
>> out-of-band information."
>>
>> Yup. Whatever he said. ;)  ...that's bordering on monadic comparison
>> tutorials if you ask me... LOL. A lot of people may not even know what "in
>> band" and "out-of-band" even means. I grew up with X25, RS232, HDLC etc so
>> that's ok by me. You have to be very very careful about how you explain
>> things to  people. One of my favourite videos on YouTube is some guy asking
>> Richard Feynman how magnets work...well, he did ask!
>> https://www.youtube.com/watch?v=wMFPe-DwULM
>>
>
> I am just learning Haskell, having just finished working through _Learn
> You a Haskell_, so I am no expert. However, the learning curve I am
> experience reminds me of when I went from Applesoft BASIC to Pascal, and
> when I went from C to C++. There was a lot of new terminology to learn such
> as single-entry/single exit, procedures, formal and actual parameters,
> encapsulation, polymorphism, early and late binding, and overloading.There
> were plenty of nay-sayers that claimed that these paradigms introduced
> unnecessary difficulties, but today you have to search far and wide for
> someone who advocates GOTOs, and although O-O is not universally loved, it
> is easily the dominant paradigm.
>
> So, although I am still finding Haskell to be awkward for me, I am able to
> wrestle with it until it clicks into place, and then it's really beautiful.
> I feel like the benefits of the language will outweigh the effort it is
> taking me to learn it.
>
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.haskell.org/pipermail/beginners/attachments/20150417/eb143a77/attachment-0001.html>

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

Message: 4
Date: Fri, 17 Apr 2015 08:10:55 +0100
From: emacstheviking <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
        beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] Left vs Right
Message-ID:
        <CAEiEuUJUpM+voGR7xTbTY=v47wokjjemslchj+-7vmlfyn-...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Kool-Aid! It affects ones spelling too! LMAO

On 17 April 2015 at 08:10, emacstheviking <[email protected]> wrote:

> Yeah. Learning Lisp did it for me....Haskell is super-strength Kiil-Aid
> baby! Drink it and be changed forever.
>
>
> On 16 April 2015 at 22:22, Greg Graham <[email protected]> wrote:
>
>> On Thu, Apr 16, 2015 at 3:42 AM emacstheviking <[email protected]> wrote:
>>
>>> "Semantically, "Either left right" can be seen as a container of one or
>>> zero "right" that contains out-of-band information of type "left" when it's
>>> empty. So when you fmap over it, you only touch the content, not the
>>> out-of-band information."
>>>
>>> Yup. Whatever he said. ;)  ...that's bordering on monadic comparison
>>> tutorials if you ask me... LOL. A lot of people may not even know what "in
>>> band" and "out-of-band" even means. I grew up with X25, RS232, HDLC etc so
>>> that's ok by me. You have to be very very careful about how you explain
>>> things to  people. One of my favourite videos on YouTube is some guy asking
>>> Richard Feynman how magnets work...well, he did ask!
>>> https://www.youtube.com/watch?v=wMFPe-DwULM
>>>
>>
>> I am just learning Haskell, having just finished working through _Learn
>> You a Haskell_, so I am no expert. However, the learning curve I am
>> experience reminds me of when I went from Applesoft BASIC to Pascal, and
>> when I went from C to C++. There was a lot of new terminology to learn such
>> as single-entry/single exit, procedures, formal and actual parameters,
>> encapsulation, polymorphism, early and late binding, and overloading.There
>> were plenty of nay-sayers that claimed that these paradigms introduced
>> unnecessary difficulties, but today you have to search far and wide for
>> someone who advocates GOTOs, and although O-O is not universally loved, it
>> is easily the dominant paradigm.
>>
>> So, although I am still finding Haskell to be awkward for me, I am able
>> to wrestle with it until it clicks into place, and then it's really
>> beautiful. I feel like the benefits of the language will outweigh the
>> effort it is taking me to learn it.
>>
>> _______________________________________________
>> Beginners mailing list
>> [email protected]
>> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.haskell.org/pipermail/beginners/attachments/20150417/9fb4b470/attachment-0001.html>

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

Subject: Digest Footer

_______________________________________________
Beginners mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners


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

End of Beginners Digest, Vol 82, Issue 19
*****************************************

Reply via email to