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. importing Data.Digits (Alexander Chen)
----------------------------------------------------------------------
Message: 1
Date: Mon, 18 Nov 2019 13:30:54 +0100 (CET)
From: Alexander Chen <[email protected]>
To: [email protected]
Subject: [Haskell-beginners] importing Data.Digits
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"
Hi All,
This is my first 'post' not quite sure if I am doing it right.
I have a question about the importing of modules that are available on the
Hackage.Haskell site:
http://hackage.haskell.org/package/digits
if I write this in my wordpad and then load it to GCI i get the following error:
chapter4.hs:1:1: error:
Could not find module ‘Data.Digits’
Perhaps you meant Data.Bits (from base-4.12.0.0)
Use -v to see a list of the files searched for.
|
1 | import Data.Digits | ^^^^^^^^^^^^^^^^^^
However if I load Data.Char than it loads fine.
What am I doing wrong?
best,
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.haskell.org/pipermail/beginners/attachments/20191118/0a2b2de4/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 137, Issue 5
*****************************************