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.

  1. Name three ways in which F# is different than Java or Python (your choice).
  2. Write a function number_in_month that takes a list of dates (where a date is a tuple int*int*int) and an int called month and returns a count of the number of dates that are in the given month. There are lots of ways to solve this. See what you can come up with. Put your code in your LaTeX file using the verbatim environment (or listings if you’re feeling adventurous).
  3. 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.
  • CSCI 334: Principles of Programming Languages, Fall 2018