You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It took me a minute to realize coffeeTeaAutomaton only works when OverloadedLists is on. Requiring the extension runs the risk of breaking other code in a module (just happened to me), which is not ideal.
Feature request : Can we have smart constructors for Symbol ? e.g.
symbol::a->Labela
symbol =Symbol
and
symbols::Foldablet=>ta->Labela
symbols =foldr ((<>).Symbol) Zero
The text was updated successfully, but these errors were encountered:
Thanks for the PR! I'm hesitant to change the example in coffeeTeaAutomaton though since it would make it more cluttered. How about extending the corresponding comment, pointing out that the inner lists are overloaded?
It took me a minute to realize
coffeeTeaAutomaton
only works when OverloadedLists is on. Requiring the extension runs the risk of breaking other code in a module (just happened to me), which is not ideal.Feature request : Can we have smart constructors for Symbol ? e.g.
and
The text was updated successfully, but these errors were encountered: