Last active
April 2, 2023 10:11
-
-
Save dacr/e3bf7dd4eb3ad26c5ccd6a4e48de4ee5 to your computer and use it in GitHub Desktop.
ocaml first example script / published by https://github.com/dacr/code-examples-manager #40d0ed8e-b601-4f19-a13a-aeb683895331/5dc97391f20e0ec2985f85bcefbab80e98faa5d0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env utop | |
(* | |
// summary : ocaml first example script | |
// keywords : ocaml, @testable | |
// publish : gist | |
// authors : David Crosson | |
// license : Apache NON-AI License Version 2.0 (https://raw.githubusercontent.com/non-ai-licenses/non-ai-licenses/main/NON-AI-APACHE2) | |
// id : 40d0ed8e-b601-4f19-a13a-aeb683895331 | |
// created-on : 2022-09-24T11:57:31+02:00 | |
// managed-by : https://github.com/dacr/code-examples-manager | |
// run-with : utop $file | |
*) | |
let x= 42;; | |
Printf.printf "the response is %d\n" x ;; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment