All Projects → o1-labs → ocamlbyexample

o1-labs / ocamlbyexample

Licence: other
Learn Ocaml by reading code examples

Programming Languages

ocaml
1615 projects
HTML
75241 projects
CSS
56736 projects
javascript
184084 projects - #8 most used programming language
rust
11053 projects
Makefile
30231 projects

Projects that are alternatives of or similar to ocamlbyexample

mkocaml
🔨 Tool to generate OCaml projects
Stars: ✭ 59 (+227.78%)
Mutual labels:  opam, dune
k6-example-github-actions
No description or website provided.
Stars: ✭ 18 (+0%)
Mutual labels:  examples
examples
Network Service Mesh examples repo
Stars: ✭ 14 (-22.22%)
Mutual labels:  examples
playground
📚 Examples, projects, webprojects, skeletons for Nette Framework (@nette) from community members. Included @contributte @apitte @nettrine projects.
Stars: ✭ 23 (+27.78%)
Mutual labels:  examples
webgl-shader-examples
Some simple examples of WebGL shaders
Stars: ✭ 83 (+361.11%)
Mutual labels:  examples
idiomatic-gradle
How do I idiomatically structure a large build with Gradle 7.2+?
Stars: ✭ 129 (+616.67%)
Mutual labels:  examples
firework8s
Firework8s is a collection of kubernetes objects (yaml files) for deploying workloads in a home lab.
Stars: ✭ 35 (+94.44%)
Mutual labels:  examples
cmake examples
Practical, Easy-to-copy CMake examples
Stars: ✭ 69 (+283.33%)
Mutual labels:  examples
vonage-node-code-snippets
NodeJS code examples for using Nexmo
Stars: ✭ 46 (+155.56%)
Mutual labels:  examples
Java
All Examples for learning Java programming and algorithms
Stars: ✭ 14 (-22.22%)
Mutual labels:  examples
sdk-examples
Example source code and projects for the Looker SDKs
Stars: ✭ 34 (+88.89%)
Mutual labels:  examples
db2-samples
Db2 application code, configuration samples, and other examples
Stars: ✭ 56 (+211.11%)
Mutual labels:  examples
bigquery-geo-viz
Visualize Google BigQuery geospatial data using Google Maps Platform APIs
Stars: ✭ 68 (+277.78%)
Mutual labels:  examples
flytesnacks
Flyte User-Guides and Tutorials - https://flytecookbook.readthedocs.io
Stars: ✭ 39 (+116.67%)
Mutual labels:  examples
examples
Fuse examples
Stars: ✭ 13 (-27.78%)
Mutual labels:  examples
examples
Enjoy our curated collection of examples and solutions. Use these patterns to build your own robust and scalable applications.
Stars: ✭ 960 (+5233.33%)
Mutual labels:  examples
spring-cloud-gcp-guestbook
No description or website provided.
Stars: ✭ 55 (+205.56%)
Mutual labels:  examples
vuepress-plugin-live
Make your markdown code examples come alive
Stars: ✭ 37 (+105.56%)
Mutual labels:  examples
openjfx-docs
Getting started guide for JavaFX 11
Stars: ✭ 70 (+288.89%)
Mutual labels:  examples
tutorials
All of our code examples and tutorials
Stars: ✭ 62 (+244.44%)
Mutual labels:  examples

Ocaml By Example

Screen Shot 2021-06-02 at 9 48 58 PM

Learn the OCaml language, following a series of examples!

You can visit the rendered course here: https://o1-labs.github.io/ocamlbyexample/.

This page is inspired by https://gobyexample.com.

Adding your own examples (chapters)

Create a folder in book/chapters/ (using another example), then add your chapter in book/chapters.json.

Some guidelines:

  1. short examples are best
  2. one chapter teaches one concept well
  3. one block of explanation teaches one subconcept well
  4. a concept is always introduced and explained the first time it is being used in an example

How to render the webpage locally

You need the OCaml language setup. Once you've set up OCaml you can install the dependencies needed by the project with:

make deps

Then simply run:

make

or to automatically update the website as you change files:

make watch

Can I use this for another programming language?

Yes, while the code is written in OCaml you can use it to build similar webpages for any programming language (although syntax highlighting will only work for languages supported by highlight.js).

So feel free to fork this page and use to teach your own stuff!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].