Created
November 8, 2020 20:40
-
-
Save entzik/e55bb8f0185ac2c1069ae4e3cb31fb7d to your computer and use it in GitHub Desktop.
fromOptional.hs
This file contains hidden or 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
crtVotes = fromOptional (VotingSlot with count = 0, voted = []) (DA.TextMap.lookup option this.votes) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment