Michal Rus
Michal Rus
HLint does it like: ```yaml - arguments: [-XQuasiQuotes, -XTypeApplications] ``` stylish-haskell: ```yaml language_extensions: - QuasiQuotes - TypeApplications ```
E.g. this fragment was autoformatted: ```haskell instance GM 'Practice where data MatchConfig 'Practice = MatchConfig'Practice{teamSize :: Int, ladder :: Ladder} deriving (Generic, Show, Eq) ``` I would rather expect something...
## Problem Type-level lists are not broken on comma. - [x] I checked the issue tracker for existing issues about this problem. - [x] I'm using the latest version of...
It’s awesome, but pretty hidden! https://github.com/commercialhaskell/hindent/blob/34b4147a4414f8c60f85f1d82eb389ff49b150a5/src/HIndent/Types.hs#L66 A bit similar to #298. Related: #477, #392, 645f927b795459cbaba6ea084cfb21fa87c5c8ad.
This example: ```haskell type family Unprotect (api :: k) :: k where Unprotect (Verb a b c (Cookied d)) = Verb a b c d Unprotect (CookieProtect api) = Unprotect...
The idea here is taken from http://taylor.fausak.me/2014/03/04/haskeleton-a-haskell-project-skeleton/ — `stack test` doing formatting. This is a working config: * https://github.com/michalrus/kornel/blob/a7b83ae66de79d83ff08eba6428b723d002b3edb/test/HIndent_.hs#L18-L49 * https://github.com/michalrus/kornel/blob/a7b83ae66de79d83ff08eba6428b723d002b3edb/kornel.cabal#L87-L98 … which is quite a lot of code, when...
Just tried `0.7.1-SNAPSHOT` and everything seems to work except the preloading feature. After running `sbt preload-device`, the contents of `/system/etc/permissions/scala-library-2.10.1.xml` were as follows: ``` ``` After manually changing this file...
For each function call, you’re opening and re-parsing the data file. In slightly more serious deployments, this obviously causes kernel to object: ``` Dec 17 10:43:59 backend-stage backend-seeder-start[15760]: Network.Socket.accept: resource...
Will be _a lot_ faster.
* Haskell will be easier to edit and less resource-hungry, * with more features (what exactly did I want? Can’t remember right now…), * hopefully, without the need to modify...