2 ms·
I don't mind that it has or not a sleek documentation or just plain html. I just want one or two snippets of code in the main page. I tried reading the docs (i
by gus_massa 8y ago
I don't mind that it has or not a sleek documentation or just plain html. I just want one or two snippets of code in the main page.
I tried reading the docs (in the html version), and the first example is in the fourth or fifth page.
- YeGoblynQueenne 8y agoThere is a tutorial in pdf format, that pretty much starts with hello world: https://www.mercurylang.org/documentation/papers/book.pdf https://www.mercurylang.org/documentation/papers/book.pdf :- module hello. :- interface. :- import_module io. :- pred main(io::di, io::uo) is det. :- implementation. main(IOState_in, IOState_out) :- io.write_string("Hello, World!\n", IOState_in, IOState_out). Is the problem that this is pdf, rather than html?
- gus_massa 8y agoI usually try the html version first if available (and I asume that the pdf version is equal).