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. DataKinds and GADTs question? (Velichko Lefterov)
----------------------------------------------------------------------
Message: 1
Date: Thu, 10 Jun 2021 14:15:51 +0300
From: Velichko Lefterov <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: [Haskell-beginners] DataKinds and GADTs question?
Message-ID:
<cajuu68vyzy0imduevtpv4ajhkltlwavsduqiowcbn3hany3...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
I tried to understand DataKinds and GADTs...
Is there a difference between:
data MyType :: Type -> Type where
MyTypeConstructor :: Int -> MyType Int
data MyType2 a where
MyTypeConstructor2 :: Int -> MyType2 Int
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.haskell.org/pipermail/beginners/attachments/20210610/df79a5f2/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 155, Issue 6
*****************************************