Last active
September 1, 2017 12:45
-
-
Save deque-blog/efd6cf3003383a6c3120df3b1bbb3701 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
birthDay : Event | |
birthDay = MkEvent "Happy BirthDay" [IntVar, StrCst " years old, ", StrVar] | |
-- In the REPL: | |
> logEvent birthDay 32 "Quentin" | |
"Happy BirthDay: 32 years old, Quentin" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment