Live data from Hacker News

Viewing profile — nukifw

nukifw

HN member
Joined
Tue, Jun 16, 2015, 12:22 PM UTC
HN karma
322
Public activity
39 items

About nukifw

I'm developper. See my english blog here : https://xvw.lol/en See my french blog here : https://xvw.lol

Recent public activity

  1. story
  2. story
  3. story
  4. comment
    Comment #45850289

    If you are interested, I think I adress this here https://xvw.lol/en/articles/why-ocaml.html#ocaml-and-f

  5. story
  6. comment
    Comment #44971405

    In the `show_content` example, using first class modules: `module H : ...`. The type need to be specified and since module composition is hard, it leads to very verbose solution

  7. comment
    Comment #44962866

    We try to invest equal time between the OCaml platform (on VSCode) and OCaml-eglot (for Emacs). In fact, I find the VSCode extension to be rich (and generally iso-features with Ema…

  8. comment
    Comment #44962781

    For the first point, you are right. We start by a common (but very useful) feature. Since OCaml allows an infinite level of nesting (and different kind of structure item) it was st…

  9. comment
    Comment #44962243

    PRs are mentioned at the end of articles. It is possible to `pin` repositories locally on their different branches to experiment with them locally!

  10. comment
    Comment #44962229

    Nop, for the moment, we try to not "infer user usages"! But if you extract an expression with variable, there will be, obviously, not be repeated: let tau = let pi = 3.14 in pi + p…

  11. story
  12. story
  13. comment
    Comment #44895002

    - Extremely dated: we have almost one new release every six month and in recent releases, the language runtime has been changed and user-defined effects have been introduced. - No …

  14. comment
    Comment #44894617

    Ok! (BTW, thanks for the interaction!)

  15. comment
    Comment #44894452

    Yes and my point was, when you want what you present in the first comment, quoting my post, you have tools for that, available in OCaml. But there is cases, when you do not want to…

  16. comment
    Comment #44893974

    - You can use GADTs ( https://ocaml.org/manual/5.2/gadts-tutorial.html ) and indexes to give a concrete type to every constructors: ```ocaml type _ treated_as = | Int : int -> int …

  17. comment
    Comment #44893908

    Sorry, I never used ReasonML so I don't see any advantage of using ReasonML except it had the time to die twice in 4 years :)

  18. comment
    Comment #44893545

    Usually we speaking only about sum and product (because article usually refers to ADT, so Algebraic Data type). A function is not really Data, so it is not included. But you can us…

  19. comment
    Comment #44892915

    Package description, but it use its own engine.

  20. comment
    Comment #44892855

    And the next milestone of Dune is to become an alternative package manager via Dune package Management, using a store in a "nixish" way.

  21. comment
    Comment #44892579

    There is a lot of work on Dune Package Management that will fix some legacy issues related to OPAM, https://dune.readthedocs.io/en/stable/tutorials/dune-package... !! Stay tuned!

  22. comment
    Comment #44892346

    Yes, the trick is expanded here: https://libres.uncg.edu/ir/asu/f/Johann_Patricia_2008_Founda... (if you have `Eq a b = Refl : a a eq` you should be able to encode every useful GAD…

  23. comment
    Comment #44892214

    In the specific case of OCaml, this is also possible using indexing and GADTs or polymorphic variants. But generally, referencing as its own type serves different purposes. From my…

  24. comment
    Comment #44892134

    To be completely honest, I currently only use LLMs to assist me in writing documentation (and translating articles), but I know that other people are looking into it: https://anil.…

  25. comment
    Comment #44892077

    Indeed, efforts should be made in terms of DAP ( https://microsoft.github.io/debug-adapter-protocol// ), extending the following experimentation: https://lambdafoo.com/posts/2024-0…