Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extract conv.ml #2

Closed
samoht opened this issue Apr 24, 2014 · 6 comments
Closed

extract conv.ml #2

samoht opened this issue Apr 24, 2014 · 6 comments

Comments

@samoht
Copy link

samoht commented Apr 24, 2014

I'm interested in using conv.ml in one of my project, but I don't want to depend on Unix. By any chance, do you plan to make a stand-alone library for conv ?

@c-cube
Copy link
Owner

c-cube commented Apr 24, 2014

By itself it shouldn't depend on unix. If you think that this code can help you (it's pretty experimental), then I can put it in its own repository (I have some other code that interfaces it with sexplib, yojson and bencode -- that might go in sub-modules thanks to oasis). If you have suggestions about the combinators, I'd be quite interested too.

Out of curiosity, what would you use it for?

@samoht
Copy link
Author

samoht commented Apr 24, 2014

I'd like to find a nice way to map OCaml values to prefix-tree like structures. Currently, it's a very manual process (see https://github.com/samoht/irminsule/blob/master/examples/views.ml#L26-L47) but I'd love to have a more combinatorial approach such as yours.

@c-cube
Copy link
Owner

c-cube commented Apr 24, 2014

Ok, sounds pretty reasonable indeed. I'll make a repository this afternoon (I'm more or less thinking about writing a ppx extension for source/sink generation when 4.02 is released, by the way).

@c-cube
Copy link
Owner

c-cube commented Apr 24, 2014

@samoht new repository created here, I'm going to make an opam package (at first, on my own repo, later on the official one).

@c-cube
Copy link
Owner

c-cube commented Apr 24, 2014

New package available on my opam repository : https://github.com/c-cube/yolopam-repository.git .

@samoht
Copy link
Author

samoht commented Apr 24, 2014

Thanks! I'll see what I can do with it :p

@c-cube c-cube closed this as completed Jun 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants