Skip to content

mads-hartmann/ocaml-utop-emacs-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ocaml-utop-emacs-example

This is a tiny example OCaml project I wrote to go along with a blog-post describing how to configure utop so it knows about your opam packages and binaries for a given OCaml project.

Read the blog post for more information.

To get started run

make compile

If everything worked you should have a runnable executable _build/euler01. This is of course not the interesting part; got read the blog post for more information.

To play around with the code in the terminal (not Emacs) run utop and try the following:

#load_rec "impl.cmo";;
Impl.compute ();;

About

A small example to accompany a blog post on using utop in Emacs with your own OCaml projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published