Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save awalterschulze/5d1e049e99fff677ceee75ae19c1c723 to your computer and use it in GitHub Desktop.
Save awalterschulze/5d1e049e99fff677ceee75ae19c1c723 to your computer and use it in GitHub Desktop.
medium-derivative-of-a-regex-nullable-answer-2.hs
nullable "a*(b*|∅)"
= nullable "a*" `and` nullable "b*|∅"
= true `and` (nullable "b*" `or` nullable "∅")
= true `and` (true `or` false)
= true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment