Text Edit won't save with correct file extension

I am trying to edit Haskell files with Text Edit. However when I save the file it automatically adds .txt or .rtf and won't let me use .txt. Even when I go into finder and change the file extension it immediately changes it back to .rtf or .txt. It works when I save perl files. How do I get Text Edit to save Haskell files? I am using Lion.

MacBook Pro (15-inch Mid 2010)

Posted on Apr 17, 2012 8:43 AM

Reply
6 replies

Apr 17, 2012 9:55 AM in response to nerowolfe

I meant to say that it won't let me save files with a .hs extension. It will let me save files with a .gs extension, however the compiler my professor has us using does not recognize the .gs extension and won't compile the program. I am using the Glasgow Haskell Compiler and it will only take .hs files. Thanks!

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Text Edit won't save with correct file extension

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.