Nullable
In this part of the assignment, we will implement a function to check whether a regular expression is nullable.
To do
The file
src/Regex.hscontains a data typeRegexfor representing (extended) regular expressions as symbolic trees. Read the definition to make sure you understand it.The file
src/Evaluation.hscontains a partial implementation of regular-expression derivatives. In this file, complete the implementation of thenullablefunction. Use the equations from the course materials or the Owens et al. paper.