Matt Walker
Matt Walker
I hope to come back to this in the coming weeks; have had to deal with some "real-life" issues.
I'd like to see this feature implemented. I have lots of functional programming experience, though I'm new-ish to ocaml (I come from a mostly Haskell and F# background). I'd like...
One of the first things I think needs to be decided is: can we treat ES6 static module imports as OCaml modules? Harder still: should we? Ultimately, I currently think...
ping @hhugo ; if this isn't a good time just let me know and I'll direct my efforts elsewhere ^_^
Will open new issues, thanks for the clarification.
Related to: #571
Following the discussion on: https://discuss.ocaml.org/t/blog-ocaml-ffi-sharp-edges-and-how-to-avoid-them/14935 : @edwintorok made the suggestion of using a construct like `ignore (Sys.opaque_identity x)` as a method of keeping `x` alive at least until the execution...
See https://github.com/ocaml/ocaml/pull/13288 for updates, but it should work according to the above linked information and ocaml/ocaml#9412 for when the change occured.
> I don't think you need a ppx for this: > > ```ocaml > (* library code *) > let alive x f = > let result = f x...
I see, I was aware of `let+` and `let*`, and chose `let@` only because `@` suggests "alive". I would note, that this is just a slightly modified identity monad from...