summaryrefslogtreecommitdiff
path: root/Alpha.hs
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2021-01-26 18:04:14 -0500
committerBen Sima <ben@bsima.me>2021-01-26 18:09:35 -0500
commit0ec6b06acee62b57a50ed9718b8da31fced18c4d (patch)
tree3112d481c0b0cb58eabb9f826305c867a4d4acfd /Alpha.hs
parent699d17db81d3508548934d39b92edb01700b3c9a (diff)
Add user subscription field
Also improved the test situation, did some refactors, and now listing the user's past analyses on their account page.
Diffstat (limited to 'Alpha.hs')
-rw-r--r--Alpha.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Alpha.hs b/Alpha.hs
index c14f03f..788a125 100644
--- a/Alpha.hs
+++ b/Alpha.hs
@@ -45,6 +45,7 @@ module Alpha
don't,
-- * Text
+ tshow,
chomp,
lchomp,
joinWith,
@@ -189,3 +190,6 @@ wrap lim = Text.words .> wrap_ 0 .> Text.unwords
| otherwise = w : wrap_ (pos + lw + 1) ws
where
lw = Text.length w
+
+tshow :: Show a => a -> Text
+tshow = show