• Cyclohexane@lemmy.ml
    link
    fedilink
    arrow-up
    6
    arrow-down
    1
    ·
    11 hours ago

    Sad I had to scroll to the end to see this.

    Ocaml is brilliant and has the nicest type features. It’s almost like Haskell but more approachable imo.

    • paperplane@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      4 hours ago

      Coming from Haskell, OCaml always felt a bit strange to me. The double semicolons, the inconsistency in the standard library between curried and uncurried functions etc. Maybe I’m confusing it with Standard ML though, can’t remember.

    • xigoi@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 hours 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