Results 35 comments of Ondrej Palkovsky

that won't work, you have to merge the images at lower zoom level

This is basically by design. You could emit some errors though - with a function `mapWithFailure`. So you could theoretically do something like (didn't test): ``` arrayOf (element mapWithFailure (const...

I guess something like this: ``` haskell let reportError = mapWithFailure (const (Left "error")) (pure ())) (arrayOf (element reportError)) reportError ```

It will be executed, but it will be executed if no item is found as well; which will happen with empty array. You can force generation of some items with...

Currently that wouldn't work. The `` operator works like 'use right side if left side didn't produce anything', not 'if it produced an error'. Actually, currently the `` is implemented...

There are other things that work differently in other packages. E.g. when you write: ``` arrayOf ("name" .: value) ``` What should the semantics be? Ok, let's say - -...

1c419173396fb66b245b61039e4a85aec69d3474 should change the behaviour. It should generally behave the way you want it - can you test it?

I'm not quite happy with the new behaviour. The problem is that the `` operator is used both for "if the left side failed" and for "if the left side...

I'm thinking about changing the behaviour, so that there would be 2 operators - execute right branch if the left produced no results - execute right branch if the left...

Could you describe what nonsense parser combination one could create? I don't quite understand the advantages of such approach - and I don't quite understand what would be the benefit...