vault backup: 2025-02-24 20:28:04
This commit is contained in:
parent
76ffc483fc
commit
5a979d9bff
@ -10,3 +10,7 @@ doubleSmallNumber' x = (if x > 100 then x else x*2) + 1
|
|||||||
|
|
||||||
-- boom bangs, ya heard???
|
-- boom bangs, ya heard???
|
||||||
boomBangs xs = [ if x< 10 then "BOOM!" else "BANG!" | x <- xs, odd x]
|
boomBangs xs = [ if x< 10 then "BOOM!" else "BANG!" | x <- xs, odd x]
|
||||||
|
-- remember, [function | set, predicate] 'fucking stupid predicate'
|
||||||
|
|
||||||
|
schtankyList x = [ x*y | x <- [2,5,10], y <- [8,10,11]]
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user