Gabriel Radanne

Results 318 comments of Gabriel Radanne

If I understand correctly, this is similar to the `call` feature available for tyre ? IIRC, I tried to choose a fairly standard syntax, could you use the same one...

Is there an internal syntax for pcre that enable case-less matching (i.e., mapping to `Re.no_case` ?). In that case, it would be nice to have it as well (and it...

Yes, I agree the option for setting global flags is useful. I would prefer something that can accumulate more flags (and is standard). Maybe the (standard, iirc) `/i` syntax ?...

How does this work precisely ? In particular, how do you compute cases on which to "fall through" in case of guard failure ?

What if you write ``` match str with | {|regex1|} when x > 0 -> rhs1 | {|regex2|} -> rhs2 | _ -> ... ``` Such that `regex1` and `regex2` ...

The question is : what if `str` matches both `regex1` *and* `regex2`, but doesn't validate `x > 0`. It seems to me the proposed code would enter case 1, return...

Very nice ! That's a fun summer surprise :D I will try to give some reviews on the features (even if this part of the code is more @paurkedal 's)....

Regarding point 4, it sounds like a nice feature (and a fun compilation problem), what's the problem exactly ?