Use ghci to explore what happens if you pass a malformed pattern, such as [, to globToRegex.
Fantastic news! We've Found the answer you've been seeking!
Question:
Use ghci to explore what happens if you pass a malformed pattern, such as [, to globToRegex. Write a small function that calls globToRegex, and pass it a malformed pattern. What happens?
Posted Date: