I have seen some source code having
let rec parse_document = parser
| [< len = parse_int32; st; >] ->
parse_list [] (ES.take_int32 len st)
| [< >] -> malformed "parse_document"
Can I know what is [< >]
inside? it is too hard to google about this kind of signs.
>>
insidelet encode_to_string = encode_to_buffer >> Buffer.contents
– Markswoman