Skip to content
Adam Bliss edited this page Oct 25, 2013 · 1 revision

Implementation

++  teff                                                ::  length utf8
  |=  a=@t  ^-  @
  =+  b=(end 3 1 a)
  ?:  =(0 b)
    ?>(=(0 a) 0)
  ?>  |((gte b 32) =(10 b))
  ?:((lte b 127) 1 ?:((lte b 223) 2 ?:((lte b 239) 3 4)))

Comments



Parts of this document are generated automatically. Edits within the comments section will be preserved.

Clone this wiki locally