Minor code cleaning
This commit is contained in:
parent
4234824f20
commit
ffb69e7358
@ -197,6 +197,8 @@ stepTextCounter text
|
|||||||
number = takeWhileEnd isDigit $ dropWhileEnd (not . isDigit) text
|
number = takeWhileEnd isDigit $ dropWhileEnd (not . isDigit) text
|
||||||
prefix = dropWhileEnd isDigit $ dropWhileEnd (not . isDigit) text
|
prefix = dropWhileEnd isDigit $ dropWhileEnd (not . isDigit) text
|
||||||
|
|
||||||
|
-- Data.Text.groupBy ((==) `on` isDigit) $ Data.Text.pack "12.ProMo Ue3bung00322 34 (H)"
|
||||||
|
-- ["12",".ProMo Ue","3","bung","00322"," ","34"," (H)"]
|
||||||
|
|
||||||
|
|
||||||
------------
|
------------
|
||||||
|
|||||||
@ -16,8 +16,7 @@
|
|||||||
|
|
||||||
<h1>
|
<h1>
|
||||||
<!-- $maybe back <- lastMaybe parents
|
<!-- $maybe back <- lastMaybe parents
|
||||||
<a .breadcrumbs__link href="@{fst back}">#{snd back}
|
<a .breadcrumbs__link href="@{fst back}">#{snd back} -->
|
||||||
-->
|
|
||||||
$maybe headline <- contentHeadline
|
$maybe headline <- contentHeadline
|
||||||
^{headline}
|
^{headline}
|
||||||
$nothing
|
$nothing
|
||||||
|
|||||||
Reference in New Issue
Block a user