Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

each with default html for empty #194

Open
charleso opened this issue Mar 17, 2017 · 2 comments
Open

each with default html for empty #194

charleso opened this issue Mar 17, 2017 · 2 comments
Labels

Comments

@charleso
Copy link
Contributor

eachOr : List a -> Html -> (a -> Html) -> Html

Naming open to suggestion

@thumphries
Copy link
Contributor

Requires one of

  • implementing first class lists (eh, not worth it just for this)
  • allowing pattern matching on lists (might require care to make this work with purs arrays)
  • adding a primitive equivalent to L.null plus if

@thumphries thumphries added the v2 label Mar 24, 2017
@thumphries
Copy link
Contributor

Can be implemented trivially as a library function once we have #221

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants