Packages / Fedora 44 / Source / ghc-fmt

Source Package: ghc-fmt (0.6.3.0-15.fc44)

A new formatting library

A new formatting library that tries to be simple to understand while still being powerful and providing more convenience features than other libraries (like functions for pretty-printing maps and lists, or a function for printing arbitrary datatypes using generics). A comparison with other libraries: * 'printf' (from 'Text.Printf') takes a formatting string and uses some type tricks to accept the rest of the arguments polyvariadically. It's very concise, but there are some drawbacks – it can't produce 'Text' (you'd have to 'T.pack' it every time) and it doesn't warn you at compile-time if you pass wrong arguments or not enough of them. * <https://hackage.haskell.org/package/text-format text-format> takes a formatting string with curly braces denoting places where arguments would be substituted (the arguments themselves are provided via a tuple). If you want to apply formatting to some of the arguments, you have to use one of the provided formatters. Like 'printf', it can fail at runtime, but at least the formatters are first-class (and you can add new ones). * <https://hackage.haskell.org/package/formatting formatting> takes a formatting template consisting of pieces of strings interleaved with formatters; this ensures that arguments always match their placeholders. 'formatting' provides lots of formatters and generally seems to be the most popular formatting library here. Unfortunately, at least in my experience writing new formatters can be awkward and people sometimes have troubles understanding how 'formatting' works. * <https://hackage.haskell.org/package/fmt fmt> (i.e. this library) provides formatters that are ordinary functions, and a bunch of operators for concatenating formatted strings; those operators also do automatic conversion. There are some convenience formatters which aren't present in 'formatting' (like ones for formatting maps, lists, converting to base64, etc). Some find the operator syntax annoying, while others like it.

Package information

Homepage
[https://hackage.haskell.org/package/fmt]
License
BSD-3-Clause
Maintainer del pacchetto downstream
petersenObserved Nov 20, 2026 [source]

The following binary packages are built from this source package:

Vulnerabilità note

Nessun avviso corrispondente nelle fonti monitorate.

Ultima sincronizzazione:

[Catalogo CVE]

Fonti

  • Authoritative source; repository metadata signature verified

    Prova della firma

    44-everything-aarch64:ad124f8125666e9059d7a8180427bdaea80f6286f71140457e5c7edd95883eee

    Repository-signature verification record
    Signed-object SHA-256
    236514c32119ab3c85b81fbb9e5e9d92b07aeba0d19d64c9b4fc9117a1863769
    Keyring revision
    RPM-GPG-KEY-fedora-44-primary
    SHA-256 93642aec521a1e5e96dd715f7ae0ec0850ebc9de09a94ce03cae5263f26cc18a
    Tool and policy
    1
    openfactory-software-catalog-signature-v1
    Verification time
    Sep 1, 2026
    Repository metadata hash linkage
    Result
    Recorded as verified; digest details unavailable
  • Authoritative source; repository metadata signature verified

    Prova della firma

    44-everything-x86_64:da3845427d188097f6fd71b417a039bdfb8efefc4f38ca44b5cbb94f95a18991

    Repository-signature verification record
    Signed-object SHA-256
    1300b99ac5d04b5561ad901320c8bd59ed1553f4971c3ce2ca48c40242c66676
    Keyring revision
    RPM-GPG-KEY-fedora-44-primary
    SHA-256 93642aec521a1e5e96dd715f7ae0ec0850ebc9de09a94ce03cae5263f26cc18a
    Tool and policy
    1
    openfactory-software-catalog-signature-v1
    Verification time
    Sep 1, 2026
    Repository metadata hash linkage
    Result
    Recorded as verified; digest details unavailable
  • Curated source

    Source observation

    58c9d374bd00b7d29599f0194ec3b0df45a3cdc0fb8d7352b2a2bf869a32237e

    No repository signature was supplied for this metadata.