darklang / tablecloth

A standard library with the same API in F#, Rescript and OCaml

Home Page:https://www.tablecloth.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

String.ofList does not exist

danielo515 opened this issue · comments

This is on the usage page, first example:

open Tablecloth;
String.toList("Tablecloth")
->List.filterMap(~f=character => 
  Char.toCode(character)->Int.add(1)->Char.fromCode
)
->String.ofList

However, string ofList does not exist, the correct one is String.fromList (much more natural IMO)

Fixed in #227.

Thanks!