meson.util

Some convenience/utility functions used in the rest of Mesomatic.

bytes->int

(bytes->int bytes)

bytes->json

(bytes->json bytes)

bytes->str

(bytes->str bytes)

camel->under

(camel->under kwd)

From Emerick, Grande, Carper 2012 p.70.

case-enum

macro

(case-enum e & clauses)

Like case, but explicitly dispatch on Java enum ordinals.

convert-lower

(convert-lower type)

Documentation forthcoming

convert-upper

(convert-upper type)

Documentation forthcoming

fill

(fill array val)

newline?

(newline? byte)

str->bytes

(str->bytes str)

str->stream

(str->stream str)