This file contains 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
(* | |
Created by Martin Jambon and placed in the Public Domain on June 1, 2019. | |
Print a tree or a DAG as tree, similarly to the 'tree' command. | |
*) | |
open Printf | |
let rec iter f = function | |
| [] -> () |
This file contains 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
# written to be used with Python 3 | |
from pprint import pprint | |
import csv | |
import json | |
import pathlib | |
import random | |
import time | |
import requests |
This file contains 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
(* SEE: http://mirror.ocamlcore.org/wiki.cocan.org/tips_for_using_the_ocaml_toplevel.html *) | |
$ ocaml | |
# #use "topfind" ;; | |
Findlib has been successfully loaded. Additional directives: | |
#require "package";; to load a package | |
#list;; to list the available packages | |
#camlp4o;; to load camlp4 (standard syntax) | |
#camlp4r;; to load camlp4 (revised syntax) | |
#predicates "p,q,...";; to set these predicates |