<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body><div><br></div>
<div>On Mon, Sep 12, 2016, at 05:53 AM, Clive Lee wrote:<br></div>
<blockquote type="cite"><div><p style="margin: 0cm 0cm 0.0001pt;"><span class="font" style="font-family:Calibri, sans-serif"><span class="size" style="font-size:11pt">I am a beginner in a mess over file type</span></span><br></p><p style="line-height: 200%; margin: 0cm 0cm 0.0001pt;"><span class="font" style="font-family:Calibri, sans-serif"><span class="size" style="font-size:11pt">I wrote a little Haskell source code 6 months ago and returning I find the source files have type Haskell Source File”</span></span><br></p><p style="line-height: 200%; margin: 0cm 0cm 0.0001pt;"><span class="font" style="font-family:Calibri, sans-serif"><span class="size" style="font-size:11pt">When I try to store new source code it fails to load either “not found” or “does not contain module or source code”<br> The files all have type Text Document even when I try extension “.hs”</span></span></p></div>
</blockquote><div><br></div>
<div>"Text document" has a couple different meanings: (1) a file with a '.txt' extension and (2) a file containing human-readable characters (filed with non-human readable data are called 'binary'). For Haskell source you want the second kind, and not the first.</div>
<div><br></div>
<blockquote type="cite"><div><p style="margin: 0cm 0cm 0.0001pt;"><span class="font" style="font-family:Calibri, sans-serif"><span class="size" style="font-size:11pt">The “Save as” in Word or NotePad does not give me the option of Haskell Source File.</span></span><br></p><p style="margin: 0cm 0cm 0.0001pt;"><span class="font" style="font-family:Calibri, sans-serif"><span class="size" style="font-size:11pt">I’ve even tried to start with my original files (OK load)  but they save as Text Documents and then won’t load</span></span></p></div>
</blockquote><div><br></div>
<div>By default Windows hides file extensions and programs often add an extension. Your '.hs' file may actually be a '.hs.txt'. A search for "windows show file extensions" should help you out.<br></div>
<div><br></div>
<div>Word and NotePad will be fussy about file extensions. You need an editor designed for programming. A good one to start with is NotePad++: <a href="https://notepad-plus-plus.org" class="">https://notepad-plus-plus.org</a></div>
<div><br></div>
<blockquote type="cite"><div><p style="margin: 0cm 0cm 0.0001pt;"><span class="font" style="font-family:Calibri, sans-serif"><span class="size" style="font-size:11pt">I’m embarrassed I can’t get over first step – I find the user guide a little complicated for a raw  beginner and I must miss something in tutorials.</span></span><br></p></div>
</blockquote><div><br></div>
<div>We were all beginners once, so no need to be embarrassed. I hope this helps.</div>
<div><span style="font-size: 11pt; font-family: Calibri, sans-serif; line-height: 1.32; letter-spacing: 0.1px;"> </span><br></div>
<blockquote type="cite"><div><p style="margin: 0cm 0cm 0.0001pt;"><span class="font" style="font-family:Calibri, sans-serif"><span class="size" style="font-size:11pt">Any help appreciated</span></span><br></p><p style="margin: 0cm 0cm 0.0001pt;"><span class="font" style="font-family:Calibri, sans-serif"><span class="size" style="font-size:11pt"><span class="colour" style="color:rgb(0, 64, 128)">Best regards</span></span></span><br></p><p style="margin: 0cm 0cm 0.0001pt;"><span class="font" style="font-family:Calibri, sans-serif"><span class="size" style="font-size:11pt"><span class="colour" style="color:rgb(0, 64, 128)"> </span></span></span><br></p><p style="margin: 0cm 0cm 12pt;"><span class="font" style="font-family:Calibri, sans-serif"><span class="size" style="font-size:11pt"><span class="colour" style="color:rgb(0, 64, 128)">Clive</span></span></span><br></p></div>
<div><u>_______________________________________________</u><br></div>
<div>Glasgow-haskell-users mailing list<br></div>
<div><a href="mailto:Glasgow-haskell-users@haskell.org" style="text-decoration: underline; color: blue;">Glasgow-haskell-users@haskell.org</a><br></div>
<div><a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users" style="text-decoration: underline; color: blue;">http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users</a><br></div>
</blockquote><div><br></div>
</body>
</html>