bos icon indicating copy to clipboard operation
bos copied to clipboard

Bos.Cmd.of_string: open the negative result ((_, [> R.msg ]) result)

Open hannesm opened this issue 4 years ago • 1 comments

same as Pat.of_string etc. This makes programming and composition easier (avoids calls to Rresult.R.open_error_msg).

hannesm avatar Feb 11 '21 11:02 hannesm

It also makes compiler error messages less clear. I haven't used bos in a while. What's the general strategy ?

dbuenzli avatar Feb 11 '21 12:02 dbuenzli

Since we can always open the error message (e.g. with Rresult.open_err_msg`), there's no need for this PR.

hannesm avatar Sep 26 '22 11:09 hannesm