
INITIALPATH:7:22: error:
    • INITIALPATH:7:41:
  |
7 | main = putStrLn [fmt|{truncate number:.3d}|]
  |                                         ^
Type incompatible with precision (.3), use any of {'e', 'E', 'f', 'F', 'g', 'G', 'n', 's', '%'} or remove the precision field.

    • In the quasi-quotation: [fmt|{truncate number:.3d}|]
  |
7 | main = putStrLn [fmt|{truncate number:.3d}|]
  |                      ^^^^^^^^^^^^^^^^^^^^^^^
