Prompts for “A Slightly Longer Introduction to F#”
Due on Monday, October 22 by 10pm
Read “A Slightly Longer Introduction to F#”
Commit your response as a PDF to your short responses repository. You are encouraged (but not required) to use LaTeX to typeset your response.
- Name three ways in which F# is different than Java or Python (your choice).
- Write a function
number_in_month
that takes a list of dates (where a date is a tupleint*int*int
) and anint
calledmonth
and returns a count of the number of dates that are in the givenmonth
. There are lots of ways to solve this. See what you can come up with. Put your code in your LaTeX file using theverbatim
environment (orlistings
if you’re feeling adventurous). - What do you think of F# so far? I want your opinion. Why do you think what you think? All opinions are valid, but I do want you to tell me why you feel a particular way.