• xigoi@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    3
    ·
    3 months ago

    I’ve recently been trying to learn OCaml and find it really nice. The major pain points are

    • C-style separate compilation with manually created headers
    • Small standard library
    • No generic print function
    • Hard to use external libraries
      • xigoi@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 months ago

        When you want to print something, you can’t just Printf.printf x, you have to explicitly give it instructions on how to print a value of that specific type.