Y
Hacker News
new
|
ask
|
show
|
jobs
by
juloo
1831 days ago
Printf is type-safe in Haskell and OCaml. The format-string is not a regular string, it must be literal and is type-checked specifically.
1 comments
tome
1831 days ago
Which printf in Haskell are you thinking of? This one doesn't fit your description, for example:
https://www.stackage.org/haddock/lts-18.0/base-4.14.1.0/Text...
link
https://www.stackage.org/haddock/lts-18.0/base-4.14.1.0/Text...