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: A question on types (Arlen Cuss)
2. Re: A question on types (Thomas Davie)
3. Re: A question on types (Thomas Davie)
----------------------------------------------------------------------
Message: 1
Date: Mon, 01 Aug 2011 18:53:53 +1000
From: Arlen Cuss <[email protected]>
Subject: Re: [Haskell-beginners] A question on types
To: C K Kashyap <[email protected]>
Cc: beginners <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1
01.08.2011 17:52, C K Kashyap kirjutas:
> Hi,
> To clarify my understanding, I created this table
>
> | | weak | strong |
> |---------+------+---------|
> | dynamic | perl | Ruby |
> | static | C | Haskell |
> |---------+------+---------|
Yes, though I'm not sure you could call Ruby's types "strong" either; it
doesn't really have types in a such a defined sense (objects have
classes, but that's not a "type" as such).
I'm not qualified to comment on perl either.
------------------------------
Message: 2
Date: Mon, 1 Aug 2011 10:03:11 +0100
From: Thomas Davie <[email protected]>
Subject: Re: [Haskell-beginners] A question on types
To: Arlen Cuss <[email protected]>
Cc: beginners <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii
On 1 Aug 2011, at 09:53, Arlen Cuss wrote:
> 01.08.2011 17:52, C K Kashyap kirjutas:
>> Hi,
>> To clarify my understanding, I created this table
>>
>> | | weak | strong |
>> |---------+------+---------|
>> | dynamic | perl | Ruby |
>> | static | C | Haskell |
>> |---------+------+---------|
>
> Yes, though I'm not sure you could call Ruby's types "strong" either; it
> doesn't really have types in a such a defined sense (objects have
> classes, but that's not a "type" as such).
>
> I'm not qualified to comment on perl either.
Which really highlights that strong/weak is not a binary thing. There's not
even a sliding scale, but instead, simply different properties. For example,
Javascript will happily let you compare "0" with 0. C won't let you do that,
but it will let you treat an integer as a pointer and vice versa.
Bob
------------------------------
Message: 3
Date: Mon, 1 Aug 2011 10:01:47 +0100
From: Thomas Davie <[email protected]>
Subject: Re: [Haskell-beginners] A question on types
To: Arlen Cuss <[email protected]>
Cc: beginners <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii
On 1 Aug 2011, at 09:53, Arlen Cuss wrote:
> 01.08.2011 17:52, C K Kashyap kirjutas:
>> Hi,
>> To clarify my understanding, I created this table
>>
>> | | weak | strong |
>> |---------+------+---------|
>> | dynamic | perl | Ruby |
>> | static | C | Haskell |
>> |---------+------+---------|
>
> Yes, though I'm not sure you could call Ruby's types "strong" either; it
> doesn't really have types in a such a defined sense (objects have
> classes, but that's not a "type" as such).
>
> I'm not qualified to comment on perl either.
Which really highlights that strong/weak is not a binary thing. There's not
even a sliding scale, but instead, simply different properties. For example,
Javascript will happily let you compare "0" with 0. C won't let you do that,
but it will let you treat an integer as a pointer and vice versa.
Bob
------------------------------
_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners
End of Beginners Digest, Vol 38, Issue 2
****************************************