finite-wasm 0.5.1

Guarantee deterministic limits on execution time and space resources made available to the WebAssembly programs in a runtime-agnostic way.
1
2
3
4
5
6
7
type codepoint = int
type unicode = codepoint list

exception Utf8

val decode : string -> unicode (* raises Utf8 *)
val encode : unicode -> string (* raises Utf8 *)