Skip to content

Instantly share code, notes, and snippets.

@dacr
Last active April 2, 2023 10:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dacr/e3bf7dd4eb3ad26c5ccd6a4e48de4ee5 to your computer and use it in GitHub Desktop.
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
#!/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