Comments (5)
I'm not 100% sure about the implementation, but it was added here: https://github.com/zshipko/ocaml-rs/pull/3/files#diff-5f9774c7d39ddf05e96907903e65733fR122 to support the deep clone functionality.
In the current case (for arrays) it does seem to be incorrect... I've added some tests and fixed up this as_slice
function. The original implementation is still used by the deep clone functions.
from ocaml-rs.
Just made a new release with these changes too
from ocaml-rs.
from ocaml-rs.
from ocaml-rs.
Thanks - I missed that one, should be updated now!
from ocaml-rs.
Related Issues (20)
- OCaml callbacks as arguments HOT 2
- the trait `IntoValue` is not implemented for `Result<(), String>` HOT 3
- errors using the latest beta HOT 4
- FromValue not implemented for arrays
- Better backtrace when Rust panics HOT 5
- Command got signal SEGV. HOT 6
- Please support type parameters in `ocaml::import!`
- Command got signal ILL. HOT 2
- Error in M1. Builds for x86_64 but attempts to link for arm64
- How to think about custom types
- helper to define functions and custom types
- Fails to compile with OCaml 5 HOT 3
- Call overhead compared to C bindings HOT 8
- v1.0.0 release? HOT 2
- Support [@@noalloc] in ocaml::sig
- Validation in ocaml::sig?
- u32/u64 <--> int32/int64: dangerous to allow? HOT 1
- Remote derive like in serde
- Hardcoded "src" path to library source dir in ocaml-build
- Comments on thread safety and Sync and Send? HOT 26
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ocaml-rs.