Skip to content

Instantly share code, notes, and snippets.

@puripuri2100
Created August 8, 2019 14:54
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 puripuri2100/e72bec99f96c4c3cfef7b2da3c95bd28 to your computer and use it in GitHub Desktop.
Save puripuri2100/e72bec99f96c4c3cfef7b2da3c95bd28 to your computer and use it in GitHub Desktop.
@require: list
module SnowmanLog : sig
val log : unit
end = struct
let (^^>) s1 s2 = s1 ^ string-unexplode [10] ^ s2
let concat = List.fold-left (^^>) ` `
let text =
concat
[
#``` ____```#;
#``` \Y/ ___HHHH```#;
#``` V / . . \```#;
#``` | \ --- /```#;
#``` Y :#######: Y```#;
#``` |\/ \/```#;
#``` |{ }```#;
#``` | \_________/```#;
]
let log = display-message text
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment