You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example,
val it : unit = ()
> source
<@
match "hello world" with
| InterpretedMatch @"llo" _ -> true
| _ -> false
@>;;
val it : string =
"let matchValue = "hello world" in let activePatternResult = RegexUtils.|InterpretedMatch|_| "llo" matchValue in (match activePatternResult with | Some(_) -> true | _ -> false) && true"
However, as we learned with UnionCaseTest, the best output we can produced for
even "simple" discriminant union or here active pattern pattern matching
expressions is too complex to be helpful, therefore we urge Unquote users to
avoid pattern matching in assertions and give this issue Low priority.
Original issue reported on code.google.com by stephen....@gmail.com on 21 Feb 2011 at 3:18
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
stephen....@gmail.com
on 21 Feb 2011 at 3:18The text was updated successfully, but these errors were encountered: