Announcing purescript-fmt - Format strings, safely

A small library that formats strings in a type safe way:

In a nutshell it works like this:

greeting :: String
greeting = fmt 
  @"My name is {name}. I am {age} years old."
  { name: "John", age: 42 }

Bonus: It can produce code with zero runtime overhead.

thought2/purescript-fmt

15 Likes