Created
February 14, 2019 17:36
-
-
Save cemerick/a2389e792ee2349ae7b6fd772c5ea9b8 to your computer and use it in GitHub Desktop.
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
open Containers | |
let _ = let lst = [1;2;3] in | |
let open Sequence in | |
let open Format in | |
let s = of_list lst in | |
if not @@ is_empty s | |
then print_endline "not empty"; | |
Format.printf "%a" (List.pp pp_print_int) (to_list s) | |
(* | |
not empty | |
1, 2, 3 | |
*) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment