Created
August 13, 2011 15:43
-
-
Save maoe/1143968 to your computer and use it in GitHub Desktop.
Hamletでリストの中身が空の時にメッセージを表示する
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<section> | |
<h1>All reports | |
$maybe _ <- listToMaybe reports | |
<ul> | |
$forall report <- reports | |
<li> | |
<a href=@{ReportsIdR (fst report)}>#{reportCommandLine (snd report)} | |
$nothing | |
<p>There are currently no reports available. First of all, upload your profiling reports please. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment