Skip to content

Instantly share code, notes, and snippets.

View nsporillo's full-sized avatar
🎯
Focusing

Nick Porillo nsporillo

🎯
Focusing
View GitHub Profile
alice = id
bob = not
test = all success tosses
where success (a, b) = alice a == b || bob b == a
tosses = zip toss toss
toss = enumFrom minBound
main = print test
alice = id
bob = not
test = all success tosses
where success (a, b) = alice a == b || bob b == a
tosses = zip toss toss
toss = enumFrom minBound
main = print test