Yoriyuki's dialy

Delirium of delusional mathematician

Unicode String in OCaml's standard distribution.

In this post, I want to argue, against the (apparent) conventional wisdom of OCaml community, that we need abstract Unicode String (we call it Text) module and related stuff in the standard distribution. First I discuss what are problems of the current practice, then propose the interface of the new modules, in particular what should be equality and comparison of Unicode Strings. Finally, I will discuss how to implement such interfaces.

Welcome to Yoriyuki's diary

I moved my personal blog to here. You can find the previous blog at here.