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: tuple space (Imants Cekusins)
2. Re: tuple space (Mike Houghton)
----------------------------------------------------------------------
Message: 1
Date: Fri, 5 Feb 2016 23:13:21 +0100
From: Imants Cekusins <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] tuple space
Message-ID:
<cap1qinypdut8eftepijk1nqa4pokbpjeyugqptptb2d205h...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
> in Java, you'd use HList (never use Object).
this is new to me. How is it different from List?
------------------------------
Message: 2
Date: Sat, 6 Feb 2016 09:08:20 +0000
From: Mike Houghton <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] tuple space
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8
In Java
List<T> ensures all entries are of type T - so only one type allowed.
List<Object> allows anything but you lose type safety.
HList allows anything and retains the types. (but you do get a lot of <<<
>>>>>> in declarations :) and really its pushing Java into something it isn?t. )
> On 5 Feb 2016, at 22:13, Imants Cekusins <[email protected]> wrote:
>
>> in Java, you'd use HList (never use Object).
>
> this is new to me. How is it different from List?
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
------------------------------
Subject: Digest Footer
_______________________________________________
Beginners mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
------------------------------
End of Beginners Digest, Vol 92, Issue 8
****************************************