mirror of
https://github.com/Fechin/reference.git
synced 2026-11-21 13:34:06 +03:00
Create ocaml.md
This commit is contained in:
1 parent
4406d19a9a
commit
b49a98fd63
1 file changed
+30
@@ -0,0 +1,30 @@
|
||||
---
|
||||
title: Ocaml
|
||||
date: 2024-08-06 00:00:00
|
||||
background: bg-[#eeeee4]
|
||||
tags:
|
||||
- scientific
|
||||
- functional
|
||||
categories:
|
||||
- Programming
|
||||
intro: |
|
||||
The [Ocaml](https://www.ocaml.org/) cheat sheet is a one-page reference sheet for the Ocaml programming language.
|
||||
plugins:
|
||||
- copyCode
|
||||
---
|
||||
|
||||
## Getting Started
|
||||
|
||||
### hello.ml
|
||||
```ml
|
||||
let () =
|
||||
let message = "Hello, World!" in
|
||||
Printf.printf "%s\n" message
|
||||
```
|
||||
|
||||
### Varaibles
|
||||
```ml
|
||||
|
||||
|
||||
|
||||
```
|
||||
Reference in new issue
Block a user