Even terser syntax
Signed-off-by: jmug <u.g.a.mariano@gmail.com>
This commit is contained in:
parent
bf76aced95
commit
ef00bbf168
1 changed files with 1 additions and 2 deletions
|
|
@ -169,8 +169,7 @@ let ( >=. ) a b = Int64.compare a b >= 0
|
|||
|
||||
(* Interpret a condition code with respect to the given flags. *)
|
||||
(* !!! Check the Specification for Help *)
|
||||
let interp_cnd { fo; fs; fz } : cnd -> bool = fun c ->
|
||||
match c with
|
||||
let interp_cnd { fo; fs; fz } : cnd -> bool = function
|
||||
| Eq -> fz
|
||||
| Neq -> not fz
|
||||
| Gt -> fo = fs && not fz
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue