bodil / bodil/purescript-smolder
Support name generation
Open
- Dominant language
- PureScript
- Stars
- 92
- Forks
- 37
- PR merge metrics
- No merged PRs in 30d
Description
Now that `MarkupM` is a free monad, we can support things like
``` purescript
view = do
top <- freshName
a ! name top $ mempty
...
a ! anchor top $ text "Back to top"
where
anchor name = href $ "#" <> runName name
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.