Skip to content

Conversation

@jamesmckinna
Copy link
Collaborator

@jamesmckinna jamesmckinna commented Jan 29, 2024

Fixes #2267 . See also the discussion on #2258 .

@jamesmckinna
Copy link
Collaborator Author

Hmmm, looks as though I've screwed up the CHANGELOG.

@JacquesCarette
Copy link
Collaborator

Yes, other than that, this looks really good!

@jamesmckinna
Copy link
Collaborator Author

Hopefully that's sorted out now.

@jamesmckinna
Copy link
Collaborator Author

So I think we've (now) agreed to find a better home for this (and #2258 ) under Data.List.Something. Suggestions welcome!

@jamesmckinna
Copy link
Collaborator Author

Aaargh: Data.List.Kleene.*!

Copy link
Member

@andreasabel andreasabel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the improvements!

In general, some list operations always return non-empty lists, so this should be expressed in types; and then one can choose to forget the extra information of non-emptiness using a conversion to plain lists.

@jamesmckinna
Copy link
Collaborator Author

Now see #2395

@jamesmckinna jamesmckinna deleted the scanl branch May 30, 2024 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A 'better' (less strict) Data.List.Base.tails?

3 participants