sebfisch / haskell-regexp

Regular Expression Matching in Haskell
http://sebfisch.github.com/haskell-regexp/
Other
34 stars 5 forks source link

smarter smart constructors #4

Open sebfisch opened 14 years ago

sebfisch commented 14 years ago

Adjust the implementation of smart constructors to generate smaller expressions.

For example epsilon .*. a could be reduced to a and symbol a .+. symbol b could be reduced to a symbol group once #2 is implemented.