inline-rust icon indicating copy to clipboard operation
inline-rust copied to clipboard

Use snippets of Rust inline in your Haskell programs

Results 14 inline-rust issues
Sort by recently updated
recently updated
newest added

Fixes detection of output for compiled static library and allow to use the library in modules with several parts in name, for instance `Data.Submodule.Brah` Based on https://github.com/harpocrates/inline-rust/pull/22

Makes a horrible orphan instance for `First`, needed because of the `MonadFail` change. It's not perfect but at least people who come here to try it out will be able...

This is a theoretical question and perhaps not the best place to ask except I wanted to hear the author's perpsective: to what extent could one achieve memory safety (with...

One way to do this is by calling `cargo rustc -- --print=native-static-libs` from the directory containing the `Cargo.toml`. It would be nice to parse this and print out a more...

blocked

There is some trickiness around `FunPtr` and `"dynamic"` foreign imports. See the docs on [`FunPtr`](https://hackage.haskell.org/package/base-4.10.0.0/docs/Foreign-Ptr.html#g:2) for more information.

Consider ```haskell newtype Box t = Box { unBox :: ForeignPtr t } ``` It might be interesting to match `Box` types to `Box t`. The useful part would be...

Right now, it is expected that `rustc` be on PATH. That shouldn't be the case. Also, we ought to be able to pass in more `rustc` options.

In the course of writing a test suite, I ran into the following issue: there is no good way of linking in 2 different rust-produced artifacts in different modules without...

I think we will want: | Haskell | Rust argument | Status | | ------------- |-------------|----| | `StorableArray Int a` | `&mut [a']` | see https://github.com/harpocrates/inline-rust/issues/12 | | `Vector a`...