Alex Cruise

Results 35 comments of Alex Cruise

I'd love to have this too... At the moment I'm writing Scala code to parse the output of the dependency graph. :neutral_face:

Presumably the same applies to any old AnyVal... Using a Long as a key will be extremely common too. :)

@maciejjaskowski, the bug is that Spray will find a format at compile time that cannot possibly succeed at runtime. :)

I would really, really like this functionality too. I have a lot of custom JsonFormat definitions that are 95% boilerplate, but with a small amount of special handling for a...

I guess this one missed the 1.3.2 boat. :(

Could this be broken out into a tiny separate library, or does it need to live in the spray.json namespace? :)

Maybe something like this? ```kotlin operator fun Parser.not(): NotParser { return NotParser(this) } class NotParser( private val child: Parser ) : Parser { override fun tryParse(tokens: TokenMatchesSequence, fromPosition: Int): ParseResult...

I guess this won't work, I'd need some kind of "empty success" value on the positive branch 🤔

> I'd say you can use a `Parser` and wrap it into a `SkipParser` so that it's easier to use in and-chains. Great, thanks! I'll give this a try and...