Мхм, fn_hello - это функция string -> string. Такой код Say.fn_hello "Fable" |> JS.console.log выдает ошибку
This expression was expected to have type
'string'
but here has type
'unit'
на JS.console.log.
1) Почему компилятор ожидает в финале string?
2) Верно ли я делаю, или здесь нужен какой-нибудь let?