A simple Haskell code prettifier. The goal is not to format all of the code in a file since I find that kind of tools often "get in the way". However, manually cleaning up import statements, etc. gets tedious very quickly. This tool tries to help where necessary without getting in the way. Aligns and sorts import statements. Groups and wraps {-# LANGUAGE #-} pragmas, can remove (some) redundant pragmas. Removes trailing whitespace. Aligns branches in case and fields in records. Converts line endings (customizable) Replaces tabs by four spaces (turned off by default) Replaces some ASCII sequences by their Unicode equivalents (turned off by default) Format data constructors and fields in records.
Features
- Groups and wraps {-# LANGUAGE #-} pragmas, can remove (some) redundant pragmas
- Removes trailing whitespace
- Aligns branches in case and fields in records
- Converts line endings (customizable)
- Replaces tabs by four spaces (turned off by default)
- Replaces some ASCII sequences by their Unicode equivalents (turned off by default)
Categories
Source Code ManagementLicense
MIT LicenseFollow stylish-haskell
Other Useful Business Software
    
                    
                    MongoDB Atlas runs apps anywhere
                    
                    
                
            
                            MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
                        
                    Rate This Project
Login To Rate This Project
    User Reviews
            Be the first to post a review of stylish-haskell!