JS
Size: a a a
JS
P
JS
JS
М
W
W
RB
map (\f' -> f' text) [f, g, h]
YS
RB
f :: String -> Int
g :: String -> Int
h :: String -> Int
text :: String
RB
YS
map ($ text) [...]
YS
RB
JS
JS
map (\f' -> f' text) [f, g, h]
[k text | k <- [f, g, h]]
RB
[k text | k <- [f, g, h]]
JS
кY
p
analyzeGold :: Int -> String
analyzeGold standard =
if standard == 999
then "Wow, 999 standard!"
else if standard == 750
then "Great! 750 standard."
else if standard == 585
then "Not bad! 585 standard."
else "I don't know such a standard..."
analyzeGold :: Int -> String
analyzeGold standard =
if standard == 999
then "Wow, 999 standard!"
else if standard == 750
then "Great! 750 standard."
else if standard == 585
then "Not bad! 585 standard."
else "I don't know such a standard..."