Lev Dvorkin

Results 31 issues of Lev Dvorkin

I'm working on windows and using unicode syntax in the source code, processed by stylish lead to the following error: ``` *** Exception: tmp/Main.hs: withFile: invalid argument (invalid character) ```...

(with `stylish-haskell 0.14.3.0`): It happens with enums, constructor with fields and records: ```hs data Foo = Foo -- ^ foo | Bar -- ^ bar | Baz -- ^ baz...

Maybe, I'm doing something wrong, but this combination is very frequent in my programms. Imagine we have some nested map ```hs m :: Map Foo (Map Bar Baz) ``` and...

Currently `encloseSep` is defined like ```hs encloseSep l r s ds = case ds of [] -> l r [d] -> l d r _ -> cat (zipWith () (l...

Why don't we have `LiftingState` newtype wrapper like `LiftingAccum` and `LiftingSelect`? It seems that state methods are very easy to lift: ``` get = lift get put = lift ....

I was going through instructions from [here](https://github.com/fjvallarino/monomer/blob/main/docs/tutorials/00-setup.md#windows), but faced the following error ``` error: mingw-w64-x86_64-pkg-config: signature from "David Macek " is unknown trust ``` The solution I found was simply...

I want to show square grid with about 100x100 colored cells. The state of the grid (i. e. the colors of the cells) shouldn't change frequently. However, the simplest solution,...

question

Maybe I misunderstood something, but the categories for allow buildings options seems to be from vanilla game (grand temples are monuments, colosseum is not etc.) Also the categories seems to...

question

As I can see, there is no way to enter logical constants (I've tried `top`/`bottom`/`0`/`1`). Of couse, one can use `p -> p` for top, but it isn't convenient. Although...

When I leave a hole in my code this means that I'm working on it and in most cases don't want to refactor it at the same time. So hints...