-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It's needed some tutorial #42
Comments
Web oficial's tutorial isn't complete. |
That is true. As an experiment, I have enabled the wiki on this repository in the hope that developers and users alike can to contribute to a basic tutorial. Since it's just a wiki, the idea is that people can quickly write up a short page without fretting too much over quality. On the mercury-users mailing list someone suggested Ralph's book moves too fast, so perhaps that is an indication that short pages covering a little bit at a time is the way to go. That should be easier to work on incrementally anyway. Feel free to suggest any topics, what needs to be covered first, etc. |
The unpublished material in the "tutorial/book" is extremely useful (i.e., files in the https://github.com/Mercury-Language/books/tree/master/tutorial folder that haven';t yet made it into the main book). Because they're incomplete, I guess the feeling is that they won't be useful to beginners. But to someone who already knows Prolog and/or a functional language, they're massively useful, providing lots of examples that don't seem to be covered elsewhere. |
That would be useful. Would you mind doing that? |
Oh, I am not a programmer and i am interested to learn Mercury as my first programming language. |
:( fuckkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk |
Are we talking a tutorial for the language, or a tutorial to get started with the mmc (bootstrapping)? If it's just a tutorial for the language, should one start with teaching prolog-like semantics or just jump straight to explaining the structure of a module (interface/implementation) ... pred declarations, modes, and for the implementation explain the prolog semantics cliff notes (this is a goal, see goal flounder)? :- module tutorial. :-interface. :- type foo. :- pred main(foo::in) is det. :- pred tutorial(foo::out) is det. :- implementation. main(Foo) :- tutorial(Foo). |
The tutorial was started here: https://github.com/Mercury-Language/mercury/wiki/Tutorial I haven't added anything to it for a while. It turns out to take quite a bit of effort to write each page, and I'm not sure if the pages are helpful for anyone. Much of the information is available from the reference manual anyway (perhaps in a less accessible form), so maybe the "example programs" pages like the RPN calculator and Zebra puzzle are more helpful. Feedback would be appreciated. |
Some people want learn mercury from scratch.
The text was updated successfully, but these errors were encountered: