This package provides a type-safe implementation of the famous printf function.
The constant format. Takes a string which printf prints as is. printf (c "Something...") == "Something..."
The String format. Passing it to printf means you expect a String.
printf s "Hey" == "Hey"The Int format. Passing it to printf means you expect an Int
printf i 23 == "23"The Float format. Passing it to printf means you expect a Float. Takes an argument being the number of decimals to show.
printf (f 5) 1.0000123 == "1.00001"Combine two formats.
printf (c "Some" |> ap (c " string")) == "Some string"
printf (c "My name is " |> ap s) "Jon" == "My name is Jon"
The printf function, takes a format and returns the appropiate type.