<html><head></head><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1448290661191_82337"><span>Dear sirs:</span></div><div id="yui_3_16_0_1_1448290661191_82337" dir="ltr"><span id="yui_3_16_0_1_1448290661191_82642">I am defining a function halve, that breaks a list in two halfs. But I always get an error. Below is my code. What am I doing wrong?</span></div><div id="yui_3_16_0_1_1448290661191_82337" dir="ltr"><span id="yui_3_16_0_1_1448290661191_82552">Thanks!</span></div><div id="yui_3_16_0_1_1448290661191_82337" dir="ltr" class="">halve xs = [take (floor (longitud/2)), drop (floor (longitud/2))] </div><div id="yui_3_16_0_1_1448290661191_82337" dir="ltr"></div><div id="yui_3_16_0_1_1448290661191_82337" dir="ltr" class=""><span class="" style="white-space:pre-wrap;" id="yui_3_16_0_1_1448290661191_82546"> </span>where longitud = length xs</div><div dir="ltr" id="yui_3_16_0_1_1448290661191_82548" class=""><br id="yui_3_16_0_1_1448290661191_82550" class=""></div><div id="yui_3_16_0_1_1448290661191_82337" dir="ltr"><span><br></span></div><br> <div style="font-family: verdana, helvetica, sans-serif; font-size: 16px;" id="yui_3_16_0_1_1448290661191_82331"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_1_1448290661191_82330"> <div dir="ltr" id="yui_3_16_0_1_1448290661191_82329"> <hr size="1" id="yui_3_16_0_1_1448290661191_82349"> <font size="2" face="Arial" id="yui_3_16_0_1_1448290661191_82335"> <b id="yui_3_16_0_1_1448290661191_82357"><span style="font-weight:bold;" id="yui_3_16_0_1_1448290661191_82356">From:</span></b> "beginners-request@haskell.org" <beginners-request@haskell.org><br> <b><span style="font-weight: bold;">To:</span></b> beginners@haskell.org <br> <b id="yui_3_16_0_1_1448290661191_82360"><span style="font-weight: bold;" id="yui_3_16_0_1_1448290661191_82359">Sent:</span></b> Saturday, November 21, 2015 8:21 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Beginners Digest, Vol 89, Issue 38<br> </font> </div> <div class="y_msg_container" id="yui_3_16_0_1_1448290661191_82333"><br>Send Beginners mailing list submissions to<br> <a ymailto="mailto:beginners@haskell.org" href="mailto:beginners@haskell.org" id="yui_3_16_0_1_1448290661191_82362">beginners@haskell.org</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br> <a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners" target="_blank" id="yui_3_16_0_1_1448290661191_82364">http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners</a><br>or, via email, send a message with subject or body 'help' to<br> <a ymailto="mailto:beginners-request@haskell.org" href="mailto:beginners-request@haskell.org" id="yui_3_16_0_1_1448290661191_82366">beginners-request@haskell.org</a><br><br>You can reach the person managing the list at<br> <a ymailto="mailto:beginners-owner@haskell.org" href="mailto:beginners-owner@haskell.org">beginners-owner@haskell.org</a><br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of Beginners digest..."<br><br><br>Today's Topics:<br><br> 1. Re: Warning: Tab Character (Dan Stromberg)<br> 2. Re: Warning: Tab Character (Jeon-Young Kang)<br> 3. Re: Warning: Tab Character (Thomas Jakway)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Sat, 21 Nov 2015 16:44:21 -0800<br>From: Dan Stromberg <<a ymailto="mailto:strombrg@gmail.com" href="mailto:strombrg@gmail.com">strombrg@gmail.com</a>><br>To: The Haskell-Beginners Mailing List - Discussion of primarily<br> beginner-level topics related to Haskell <<a ymailto="mailto:beginners@haskell.org" href="mailto:beginners@haskell.org">beginners@haskell.org</a>><br>Subject: Re: [Haskell-beginners] Warning: Tab Character<br>Message-ID:<br> <CAOvKW55oxCcEhtqppC0bXQZjOEEv5vcYnBTWHaj9C5vhhm7g+<a ymailto="mailto:w@mail.gmail.com" href="mailto:w@mail.gmail.com">w@mail.gmail.com</a>><br>Content-Type: text/plain; charset="utf-8"<br><br>I believe the first version of make required tabs, but some subsequent<br>versions have relaxed that requirement to make things easier.<br><br>Here's an example on a Linux Mint system (the 20's are of course spaces) :<br>$ od -cx < Makefile<br>cmd output started 2015 Sat Nov 21 04:39:47 PM PST<br>0000000 \n g o : \n . / t \n \n<br> 670a 3a6f 200a 2020 2e20 742f 0a0a<br>0000016<br>above cmd output done 2015 Sat Nov 21 04:39:47 PM PST<br><a ymailto="mailto:dstromberg@dell-inspiron" href="mailto:dstromberg@dell-inspiron">dstromberg@dell-inspiron</a>:/var/tmp/make-tabs i686-pc-linux-gnu 25234<br><br>$ make<br>cmd output started 2015 Sat Nov 21 04:39:48 PM PST<br>Makefile:3: *** missing separator. Stop.<br>above cmd output done 2015 Sat Nov 21 04:39:48 PM PST<br><a ymailto="mailto:dstromberg@dell-inspiron" href="mailto:dstromberg@dell-inspiron">dstromberg@dell-inspiron</a>:/var/tmp/make-tabs i686-pc-linux-gnu 25234<br><br>$ make --version<br>cmd output started 2015 Sat Nov 21 04:39:53 PM PST<br>GNU Make 3.81<br>Copyright (C) 2006 Free Software Foundation, Inc.<br>This is free software; see the source for copying conditions.<br>There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A<br>PARTICULAR PURPOSE.<br><br>This program built for i686-pc-linux-gnu<br>above cmd output done 2015 Sat Nov 21 04:39:53 PM PST<br><a ymailto="mailto:dstromberg@dell-inspiron" href="mailto:dstromberg@dell-inspiron">dstromberg@dell-inspiron</a>:/var/tmp/make-tabs i686-pc-linux-gnu 25234<br><br><br>I'll add that vim's Makefile syntax highlighting puts the space-indented<br>line in red, suggesting an error. Changing the spaces to a single tab<br>makes the red go away.<br><br>HTH<br><br>On Sat, Nov 21, 2015 at 3:34 PM, Thomas Jakway <<a ymailto="mailto:tjakway@nyu.edu" href="mailto:tjakway@nyu.edu">tjakway@nyu.edu</a>> wrote:<br><br>> Why would make require tabs...?<br>> Admittedly it's been a long time since I've written any makefiles by hand<br>> but I always use spaces instead of tabs and have never had any problems.<br>><br>> On Nov 21, 2015 6:01 PM, David Moberg <<a ymailto="mailto:kaddkaka@gmail.com" href="mailto:kaddkaka@gmail.com">kaddkaka@gmail.com</a>> wrote:<br>> ><br>> > Have you found "soft tabs"? That option will make TextMate use spaces<br>> instead of tab characters. Read 4.11 "Using Spaces Instead of Tabs" in Dan<br>> Strombergs link for instrucitons.<br>> ><br>> > 2015-11-21 21:36 GMT+01:00 Jeon-Young Kang <<a ymailto="mailto:jykang22@gmail.com" href="mailto:jykang22@gmail.com">jykang22@gmail.com</a>>:<br>> >><br>> >> I've tried to choose "instead of spaces". But there is no option of<br>> mine (Textmate 2 beta).<br>> >><br>> >> On Sat, Nov 21, 2015 at 3:14 PM, Dan Stromberg <<a ymailto="mailto:strombrg@gmail.com" href="mailto:strombrg@gmail.com">strombrg@gmail.com</a>><br>> wrote:<br>> >>><br>> >>><br>> >>> Perhaps enable soft tabs?<br>> >>> <a href="https://manual.macromates.com/en/working_with_text" target="_blank">https://manual.macromates.com/en/working_with_text</a><br>> >>><br>> >>> This is an issue in Python too (at least from PEP8's perspective) -<br>> but note that many "make" programs require tabs instead of spaces.<br>> >>><br>> >>> On Sat, Nov 21, 2015 at 11:13 AM, Jeon-Young Kang <<a ymailto="mailto:jykang22@gmail.com" href="mailto:jykang22@gmail.com">jykang22@gmail.com</a>><br>> wrote:<br>> >>>><br>> >>>> Hello everyone.<br>> >>>><br>> >>>><br>> >>>> I am a newbie of Haskell, using Textmate on mac.<br>> >>>><br>> >>>><br>> >>>> I got the following warning. How can I fix it?<br>> >>>><br>> >>>><br>> >>>> Warning:<br>> >>>><br>> >>>> Tab character<br>> >>>><br>> >>>> Ok, modules loaded: Main.<br>> >>>><br>> >>>><br>> >>>><br>> >>>> Sincerely,<br>> >>>> Young<br>> >>>><br>> >>>> _______________________________________________<br>> >>>> Beginners mailing list<br>> >>>> <a ymailto="mailto:Beginners@haskell.org" href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>> >>>> <a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners</a><br>> >>>><br>> >>><br>> >>><br>> >>><br>> >>> --<br>> >>> Dan Stromberg<br>> >>><br>> >>> _______________________________________________<br>> >>> Beginners mailing list<br>> >>> <a ymailto="mailto:Beginners@haskell.org" href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>> >>> <a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners</a><br>> >>><br>> >><br>> >><br>> >><br>> >> --<br>> >> Department of Geography<br>> >> State University of New York at Buffalo<br>> >><br>> >> <a ymailto="mailto:jykang22@gmail.com" href="mailto:jykang22@gmail.com">jykang22@gmail.com</a><br>> >><br>> >> Jeon-Young Kang<br>> >><br>> >> _______________________________________________<br>> >> Beginners mailing list<br>> >> <a ymailto="mailto:Beginners@haskell.org" href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>> >> <a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners</a><br>> >><br>> ><br>> _______________________________________________<br>> Beginners mailing list<br>> <a ymailto="mailto:Beginners@haskell.org" href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>> <a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners</a><br>><br><br><br><br>-- <br>Dan Stromberg<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <<a href="http://mail.haskell.org/pipermail/beginners/attachments/20151121/bef7b6d7/attachment-0001.html" target="_blank">http://mail.haskell.org/pipermail/beginners/attachments/20151121/bef7b6d7/attachment-0001.html</a>><br><br>------------------------------<br><br>Message: 2<br>Date: Sat, 21 Nov 2015 20:03:08 -0500<br>From: Jeon-Young Kang <<a ymailto="mailto:jykang22@gmail.com" href="mailto:jykang22@gmail.com">jykang22@gmail.com</a>><br>To: The Haskell-Beginners Mailing List - Discussion of primarily<br> beginner-level topics related to Haskell <<a ymailto="mailto:beginners@haskell.org" href="mailto:beginners@haskell.org">beginners@haskell.org</a>><br>Subject: Re: [Haskell-beginners] Warning: Tab Character<br>Message-ID:<br> <CALWtiK8DqDr292Bb=J7rEa8unXBrRTt6++<a ymailto="mailto:HSSm82DuZjY6miTQ@mail.gmail.com" href="mailto:HSSm82DuZjY6miTQ@mail.gmail.com">HSSm82DuZjY6miTQ@mail.gmail.com</a>><br>Content-Type: text/plain; charset="utf-8"<br><br>Thanks! I figured out.<br><br>On Sat, Nov 21, 2015 at 7:44 PM, Dan Stromberg <<a ymailto="mailto:strombrg@gmail.com" href="mailto:strombrg@gmail.com">strombrg@gmail.com</a>> wrote:<br><br>><br>> I believe the first version of make required tabs, but some subsequent<br>> versions have relaxed that requirement to make things easier.<br>><br>> Here's an example on a Linux Mint system (the 20's are of course spaces) :<br>> $ od -cx < Makefile<br>> cmd output started 2015 Sat Nov 21 04:39:47 PM PST<br>> 0000000 \n g o : \n . / t \n \n<br>> 670a 3a6f 200a 2020 2e20 742f 0a0a<br>> 0000016<br>> above cmd output done 2015 Sat Nov 21 04:39:47 PM PST<br>> <a ymailto="mailto:dstromberg@dell-inspiron" href="mailto:dstromberg@dell-inspiron">dstromberg@dell-inspiron</a>:/var/tmp/make-tabs i686-pc-linux-gnu 25234<br>><br>> $ make<br>> cmd output started 2015 Sat Nov 21 04:39:48 PM PST<br>> Makefile:3: *** missing separator. Stop.<br>> above cmd output done 2015 Sat Nov 21 04:39:48 PM PST<br>> <a ymailto="mailto:dstromberg@dell-inspiron" href="mailto:dstromberg@dell-inspiron">dstromberg@dell-inspiron</a>:/var/tmp/make-tabs i686-pc-linux-gnu 25234<br>><br>> $ make --version<br>> cmd output started 2015 Sat Nov 21 04:39:53 PM PST<br>> GNU Make 3.81<br>> Copyright (C) 2006 Free Software Foundation, Inc.<br>> This is free software; see the source for copying conditions.<br>> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A<br>> PARTICULAR PURPOSE.<br>><br>> This program built for i686-pc-linux-gnu<br>> above cmd output done 2015 Sat Nov 21 04:39:53 PM PST<br>> <a ymailto="mailto:dstromberg@dell-inspiron" href="mailto:dstromberg@dell-inspiron">dstromberg@dell-inspiron</a>:/var/tmp/make-tabs i686-pc-linux-gnu 25234<br>><br>><br>> I'll add that vim's Makefile syntax highlighting puts the space-indented<br>> line in red, suggesting an error. Changing the spaces to a single tab<br>> makes the red go away.<br>><br>> HTH<br>><br>> On Sat, Nov 21, 2015 at 3:34 PM, Thomas Jakway <<a ymailto="mailto:tjakway@nyu.edu" href="mailto:tjakway@nyu.edu">tjakway@nyu.edu</a>> wrote:<br>><br>>> Why would make require tabs...?<br>>> Admittedly it's been a long time since I've written any makefiles by hand<br>>> but I always use spaces instead of tabs and have never had any problems.<br>>><br>>> On Nov 21, 2015 6:01 PM, David Moberg <<a ymailto="mailto:kaddkaka@gmail.com" href="mailto:kaddkaka@gmail.com">kaddkaka@gmail.com</a>> wrote:<br>>> ><br>>> > Have you found "soft tabs"? That option will make TextMate use spaces<br>>> instead of tab characters. Read 4.11 "Using Spaces Instead of Tabs" in Dan<br>>> Strombergs link for instrucitons.<br>>> ><br>>> > 2015-11-21 21:36 GMT+01:00 Jeon-Young Kang <<a ymailto="mailto:jykang22@gmail.com" href="mailto:jykang22@gmail.com">jykang22@gmail.com</a>>:<br>>> >><br>>> >> I've tried to choose "instead of spaces". But there is no option of<br>>> mine (Textmate 2 beta).<br>>> >><br>>> >> On Sat, Nov 21, 2015 at 3:14 PM, Dan Stromberg <<a ymailto="mailto:strombrg@gmail.com" href="mailto:strombrg@gmail.com">strombrg@gmail.com</a>><br>>> wrote:<br>>> >>><br>>> >>><br>>> >>> Perhaps enable soft tabs?<br>>> >>> <a href="https://manual.macromates.com/en/working_with_text" target="_blank">https://manual.macromates.com/en/working_with_text</a><br>>> >>><br>>> >>> This is an issue in Python too (at least from PEP8's perspective) -<br>>> but note that many "make" programs require tabs instead of spaces.<br>>> >>><br>>> >>> On Sat, Nov 21, 2015 at 11:13 AM, Jeon-Young Kang <<a ymailto="mailto:jykang22@gmail.com" href="mailto:jykang22@gmail.com">jykang22@gmail.com</a>><br>>> wrote:<br>>> >>>><br>>> >>>> Hello everyone.<br>>> >>>><br>>> >>>><br>>> >>>> I am a newbie of Haskell, using Textmate on mac.<br>>> >>>><br>>> >>>><br>>> >>>> I got the following warning. How can I fix it?<br>>> >>>><br>>> >>>><br>>> >>>> Warning:<br>>> >>>><br>>> >>>> Tab character<br>>> >>>><br>>> >>>> Ok, modules loaded: Main.<br>>> >>>><br>>> >>>><br>>> >>>><br>>> >>>> Sincerely,<br>>> >>>> Young<br>>> >>>><br>>> >>>> _______________________________________________<br>>> >>>> Beginners mailing list<br>>> >>>> <a ymailto="mailto:Beginners@haskell.org" href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>>> >>>> <a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners</a><br>>> >>>><br>>> >>><br>>> >>><br>>> >>><br>>> >>> --<br>>> >>> Dan Stromberg<br>>> >>><br>>> >>> _______________________________________________<br>>> >>> Beginners mailing list<br>>> >>> <a ymailto="mailto:Beginners@haskell.org" href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>>> >>> <a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners</a><br>>> >>><br>>> >><br>>> >><br>>> >><br>>> >> --<br>>> >> Department of Geography<br>>> >> State University of New York at Buffalo<br>>> >><br>>> >> <a ymailto="mailto:jykang22@gmail.com" href="mailto:jykang22@gmail.com">jykang22@gmail.com</a><br>>> >><br>>> >> Jeon-Young Kang<br>>> >><br>>> >> _______________________________________________<br>>> >> Beginners mailing list<br>>> >> <a ymailto="mailto:Beginners@haskell.org" href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>>> >> <a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners</a><br>>> >><br>>> ><br>>> _______________________________________________<br>>> Beginners mailing list<br>>> <a ymailto="mailto:Beginners@haskell.org" href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>>> <a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners</a><br>>><br>><br>><br>><br>> --<br>> Dan Stromberg<br>><br>> _______________________________________________<br>> Beginners mailing list<br>> <a ymailto="mailto:Beginners@haskell.org" href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>> <a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners</a><br>><br>><br><br><br>-- <br>Department of Geography<br>State University of New York at Buffalo<br><br><a ymailto="mailto:jykang22@gmail.com" href="mailto:jykang22@gmail.com">jykang22@gmail.com</a><br><br>Jeon-Young Kang<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <<a href="http://mail.haskell.org/pipermail/beginners/attachments/20151121/efe59567/attachment-0001.html" target="_blank">http://mail.haskell.org/pipermail/beginners/attachments/20151121/efe59567/attachment-0001.html</a>><br><br>------------------------------<br><br>Message: 3<br>Date: Sat, 21 Nov 2015 20:22:04 -0500<br>From: Thomas Jakway <<a ymailto="mailto:tjakway@nyu.edu" href="mailto:tjakway@nyu.edu">tjakway@nyu.edu</a>><br>To: The Haskell-Beginners Mailing List - Discussion of primarily<br> beginner-level topics related to Haskell <<a ymailto="mailto:beginners@haskell.org" href="mailto:beginners@haskell.org">beginners@haskell.org</a>><br>Subject: Re: [Haskell-beginners] Warning: Tab Character<br>Message-ID: <<a ymailto="mailto:66118521-5ef8-4d50-b8dc-d65a38dd9620@email.android.com" href="mailto:66118521-5ef8-4d50-b8dc-d65a38dd9620@email.android.com">66118521-5ef8-4d50-b8dc-d65a38dd9620@email.android.com</a>><br>Content-Type: text/plain; charset=utf-8<br><br>Huh, cool. I had no idea. Thanks!<br><br>On Nov 21, 2015 7:44 PM, Dan Stromberg <<a ymailto="mailto:strombrg@gmail.com" href="mailto:strombrg@gmail.com">strombrg@gmail.com</a>> wrote:<br>><br>><br>> I believe the first version of make required tabs, but some subsequent versions have relaxed that requirement to make things easier.<br>><br>> Here's an example on a Linux Mint system (the 20's are of course spaces) :<br>> $ od -cx < Makefile<br>> cmd output started 2015 Sat Nov 21 04:39:47 PM PST<br>> 0000000? \n?? g?? o?? :? \n?????????????????? .?? /?? t? \n? \n<br>> ?????????? 670a??? 3a6f??? 200a??? 2020??? 2e20??? 742f??? 0a0a<br>> 0000016<br>> above cmd output done??? 2015 Sat Nov 21 04:39:47 PM PST<br>> <a ymailto="mailto:dstromberg@dell-inspiron" href="mailto:dstromberg@dell-inspiron">dstromberg@dell-inspiron</a>:/var/tmp/make-tabs i686-pc-linux-gnu 25234<br>><br>> $ make<br>> cmd output started 2015 Sat Nov 21 04:39:48 PM PST<br>> Makefile:3: *** missing separator.? Stop.<br>> above cmd output done??? 2015 Sat Nov 21 04:39:48 PM PST<br>> <a ymailto="mailto:dstromberg@dell-inspiron" href="mailto:dstromberg@dell-inspiron">dstromberg@dell-inspiron</a>:/var/tmp/make-tabs i686-pc-linux-gnu 25234<br>><br>> $ make --version<br>> cmd output started 2015 Sat Nov 21 04:39:53 PM PST<br>> GNU Make 3.81<br>> Copyright (C) 2006? Free Software Foundation, Inc.<br>> This is free software; see the source for copying conditions.<br>> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A<br>> PARTICULAR PURPOSE.<br>><br>> This program built for i686-pc-linux-gnu<br>> above cmd output done??? 2015 Sat Nov 21 04:39:53 PM PST<br>> <a ymailto="mailto:dstromberg@dell-inspiron" href="mailto:dstromberg@dell-inspiron">dstromberg@dell-inspiron</a>:/var/tmp/make-tabs i686-pc-linux-gnu 25234<br>><br>><br>> I'll add that vim's Makefile syntax highlighting puts the space-indented line in red, suggesting an error.? Changing the spaces to a single tab makes the red go away.<br>><br>> HTH<br>><br>> On Sat, Nov 21, 2015 at 3:34 PM, Thomas Jakway <<a ymailto="mailto:tjakway@nyu.edu" href="mailto:tjakway@nyu.edu">tjakway@nyu.edu</a>> wrote:<br>>><br>>> Why would make require tabs...?<br>>> Admittedly it's been a long time since I've written any makefiles by hand but I always use spaces instead of tabs and have never had any problems.<br>>><br>>> On Nov 21, 2015 6:01 PM, David Moberg <<a ymailto="mailto:kaddkaka@gmail.com" href="mailto:kaddkaka@gmail.com">kaddkaka@gmail.com</a>> wrote:<br>>> ><br>>> > Have you found "soft tabs"? That option will make?TextMate use spaces instead of tab characters. Read?4.11 "Using Spaces Instead of Tabs" in Dan Strombergs link for instrucitons.<br>>> ><br>>> > 2015-11-21 21:36 GMT+01:00 Jeon-Young Kang <<a ymailto="mailto:jykang22@gmail.com" href="mailto:jykang22@gmail.com">jykang22@gmail.com</a>>:<br>>> >><br>>> >> I've tried to choose "instead of spaces". But there is no option of mine (Textmate 2 beta).<br>>> >><br>>> >> On Sat, Nov 21, 2015 at 3:14 PM, Dan Stromberg <<a ymailto="mailto:strombrg@gmail.com" href="mailto:strombrg@gmail.com">strombrg@gmail.com</a>> wrote:<br>>> >>><br>>> >>><br>>> >>> Perhaps enable soft tabs?<br>>> >>> <a href="https://manual.macromates.com/en/working_with_text" target="_blank">https://manual.macromates.com/en/working_with_text</a><br>>> >>><br>>> >>> This is an issue in Python too (at least from PEP8's perspective) - but note that many "make" programs require tabs instead of spaces.<br>>> >>><br>>> >>> On Sat, Nov 21, 2015 at 11:13 AM, Jeon-Young Kang <<a ymailto="mailto:jykang22@gmail.com" href="mailto:jykang22@gmail.com">jykang22@gmail.com</a>> wrote:<br>>> >>>><br>>> >>>> Hello everyone.<br>>> >>>><br>>> >>>><br>>> >>>> I am a newbie of Haskell, using Textmate on mac.<br>>> >>>><br>>> >>>><br>>> >>>> I got the following warning. How can I fix it?<br>>> >>>><br>>> >>>><br>>> >>>> Warning:<br>>> >>>><br>>> >>>> ? ? Tab character<br>>> >>>><br>>> >>>> Ok, modules loaded: Main.<br>>> >>>><br>>> >>>><br>>> >>>><br>>> >>>> Sincerely,<br>>> >>>> Young<br>>> >>>><br>>> >>>> _______________________________________________<br>>> >>>> Beginners mailing list<br>>> >>>> <a ymailto="mailto:Beginners@haskell.org" href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>>> >>>> <a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners</a><br>>> >>>><br>>> >>><br>>> >>><br>>> >>><br>>> >>> --<br>>> >>> Dan Stromberg<br>>> >>><br>>> >>> _______________________________________________<br>>> >>> Beginners mailing list<br>>> >>> <a ymailto="mailto:Beginners@haskell.org" href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>>> >>> <a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners</a><br>>> >>><br>>> >><br>>> >><br>>> >><br>>> >> --<br>>> >> Department of Geography<br>>> >> State University of New York at Buffalo<br>>> >><br>>> >> <a ymailto="mailto:jykang22@gmail.com" href="mailto:jykang22@gmail.com">jykang22@gmail.com</a><br>>> >> ?<br>>> >> Jeon-Young Kang<br>>> >><br>>> >> _______________________________________________<br>>> >> Beginners mailing list<br>>> >> <a ymailto="mailto:Beginners@haskell.org" href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>>> >> <a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners</a><br>>> >><br>>> ><br>>> _______________________________________________<br>>> Beginners mailing list<br>>> <a ymailto="mailto:Beginners@haskell.org" href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>>> <a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners</a><br>><br>><br>><br>><br>> -- <br>> Dan Stromberg<br><br>------------------------------<br><br>Subject: Digest Footer<br><br>_______________________________________________<br>Beginners mailing list<br><a ymailto="mailto:Beginners@haskell.org" href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br><a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners</a><br><br><br>------------------------------<br><br>End of Beginners Digest, Vol 89, Issue 38<br>*****************************************<br><br><br></div> </div> </div> </div></body></html>