Zusammenfassung Tutorium für Ocaml Sources PDF

Title Zusammenfassung Tutorium für Ocaml Sources
Course Funktionale Programmierung
Institution Technische Universität München
Pages 2
File Size 62.4 KB
File Type PDF
Total Downloads 52
Total Views 143

Summary

README 12/1/1 / 2OCaml resourcesThe goal of this repository is to help you establish a workflow and provide you with resources for your OCaml programming journey.Programming guideChange into the template directory and follow along!SourcesBelow is a collection of links that you can refer to if you're...


Description

README.md

12/1/2021

OCaml resources The goal of this repository is to help you establish a workflow and provide you with resources for your OCaml programming journey.

Programming guide Change into the template directory and follow along!

Sources Below is a collection of links that you can refer to if you're stuck. Please keep in mind that the lecture allows only a subset of OCaml, see this annoucement.

Basic Tutorial If you do not know how to even begin writing your program, start here https://ocaml.org/learn/tutorials/a_first_hour_with_ocaml.html

Working with lists You are allowed and encouraged to use the List module! You can find its documentation here. If you have trouble getting started with it, see: https://ocaml.org/learn/tutorials/lists.html

Debugging tools While the use of Printf is not allowed for your submissions (the build will fail on Artemis) you can use it inside your programs locally. See here for some examples as well as a link to the module documentation. Additionally, you can look into the builtin debugging tools: https://ocaml.org/learn/tutorials/debug.html

Find functions by type Know what you want but unsure where to look? You can search for functions using the

:

https://ocaml.org/api/ Searching for 'a list -> int for example gives List.length as the first result

Further reading If you wish to deepen your OCaml knowledge beyond the scope of the lecture, we recommend Real World OCaml: 1/2

README.md

12/1/2021

https://dev.realworldocaml.org/

Misc OCaml manual: https://ocaml.org/manual/index.html OCaml tutorials: https://ocaml.org/learn/tutorials/ Coming from Haskell? http://blog.ezyang.com/2010/10/ocaml-for-haskellers/ Builtin operators: https://www.craigfe.io/operator-lookup/

2/2...


Similar Free PDFs