So You Want to be a Functional Programmer (Part 5)
Charles Scalfani
1.7K26

In the function buildMessage I don’t see where the function quotedValue is used. I’m thinking the code should read like this:

buildMessage message value =
let
upperMessage =
String.toUpper message
        quotedValue =
"'" ++ value "'"
in
upperMessage ++ ": " ++ quotedValue
One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.