How to execute a single line of OCaml code in Emacs?

I use Emacs to edit an OCaml file, and I want to run a single line of code to make sure that it enters validation. What key command do I use for this? Cc Cb runs the entire file, but I just need one line.

+4
source share
1 answer

Cc Ce (as an Expression expression), see tatareg sheets:

http://www.ocamlpro.com/files/tuareg-mode.pdf

+7
source

Source: https://habr.com/ru/post/1393662/


All Articles