floskell icon indicating copy to clipboard operation
floskell copied to clipboard

Floskell is a flexible Haskell source code pretty printer.

Results 22 floskell issues
Sort by recently updated
recently updated
newest added

Trying to format this `Main.hs`: ```haskell #! /usr/bin/env nix-shell #! nix-shell -p ghcid #! nix-shell -p "haskellPackages.ghcWithPackages (p: with p; [ shower ])" #! nix-shell -i "ghcid -c 'ghci -Wall'...

Floskell takes 6s on my machine to reformat the following code fragment: ```haskell foo x | Just x1

When setting `"formatting"."layout"."type"` to "vertical" or "try-oneline" (with a long declaration) and `"formatting"."indent"."typesig": "indent-by 2"` I would expect the following formatting: ```haskell function :: Bool -> Int -> Double ->...

When using Record Dot Syntax, Floskell is willing to break the code: By default, this breaks when formatted with the base and cramer styles, and any others which do not...

I'm not sure if this is intentional, but it seems unnecessary to me, and I didn't see an option to prevent this. f :: () -- f = () becomes...

bug

Original file: ```hs {-# LANGUAGE PackageImports #-} module Optics.External (module External) where -- Using PackageImports until https://github.com/commercialhaskell/stack/issues/5077 is solved import "optics" Optics as External ``` Floskell output: ```hs {-# LANGUAGE...

bug

``` floskell --config floskell.json $(find . -iname '*.hs') floskell.exe: floskell.json: endOfInput, at line 21, column 0 CallStack (from HasCallStack): error, called at src/Floskell\ConfigFile.hs:193:13 in floskell-0.10.5-7q3J7U12hgkCoOTj4Rcz7p:Floskell.ConfigFile ``` ```json { "language": "Haskell2010",...

In the `styles` folder, there's a `fundamental` style demonstrated, but it isn't listed as one of the "Supported styles:" in `floskell -h` nor is accepted as a style. Which style...

enhancement

https://mail.haskell.org/pipermail/haskell-cafe/2019-May/131166.html

haskell-src-exts

What I am aiming for ``` {-# LANGUAGE ExplicitForAll #-} module Main where fn :: forall m s . ( Constraint m , Constraint s ) => (Type -> s)...

enhancement