Solved with Purescript
bingo :: Set Int -> Boolean bingo input = subset (fromFoldable [ 2, 9, 14, 7, 15 ]) (fromFoldable input)
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.
re: Daily Challenge #76 - Bingo! (or not...) VIEW POST
FULL DISCUSSIONSolved with Purescript
bingo :: Set Int -> Boolean
bingo input =
subset (fromFoldable [ 2, 9, 14, 7, 15 ]) (fromFoldable input)