Question: The language is OCAML, I need help with this ocaml function. I finished most of it, I just want to get rid of the chars

The language is OCAML, I need help with this ocaml function. I finished most of it, I just want to get rid of the chars trailing it and

https://pastebin.com/qcQucSsf

My output : read_bracket "[abc]d" 1;; - : tok list = [Ch 'a'; Ch 'b'; Ch 'c'; Ch ']'; Ch 'd']

what I want

[BR "abc"; Ch 'd']

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!