Open ELLIOTTCABLE opened 7 years ago
Ayeee, after half a day banging my head against this, I hit submit about five minutes too soon!
Well, foolish beginner mistake (that I knew it would be) aside, go ahead and consider this a request for improved very-beginner documentation! ^_^
Hi!
I'm an OCaml newbie, trying to combine your basic project (in the
examples/
directory) and Jane Street Core (from the documentation's ‘quick start guide’) examples:lib/jbuild
:lib/ocameel.ml
:bin/jbuild
:lib/ocameel.ml
:Unfortunately, I'm getting:
I hope my error isn't super-obvious; the documentation on “how to build your first OCaml package” has been a little scattered, and I've been through about a bajillion Google searches, two build systems (!!), and three paper books (!!!), trying to figure out how the heckage one does this!
Any response is appreciated; also, while I'm here, I'd like to suggest that this particular situation be blessed with its own
examples/
example-project? Perhaps even with a link from the README? Maybe the things I'm reading are out-of-date, but it seems like Core is the go-to in the modern OCaml / ReasonML world; and if you're new to OCaml, like me, coming from Real World OCaml / ReasonML's documentation or similar … the very first thing you're probably going to try to do is create a new project with Jbuilder that you can start typing examples from RWO into (at least, I'd assume I'm not alone in this particular need!) It'd be really great to have a shortcut for beginners like myself!