Created
August 8, 2019 14:54
-
-
Save puripuri2100/e72bec99f96c4c3cfef7b2da3c95bd28 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
@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