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
The reason this fails is that with the current implementation it's possible to build invalid instances of DLists, e.g. Join(Nil,Nil,5), and FsCheck does exactly that. The solution is to redesign DList to avoid this.
When adding a monoid instance for DList:
It violates the monoid laws:
The text was updated successfully, but these errors were encountered: