I would like to type source code comments of the form:
{-
- Hello World
-
- This program prints "Hello World".
-}
where I would like emacs to automatically insert the leading -
for each line. Is there any way to teach emacs to do this?