diff options
author | cyfraeviolae <cyfraeviolae> | 2020-12-31 21:50:41 -0500 |
---|---|---|
committer | cyfraeviolae <cyfraeviolae> | 2020-12-31 21:50:41 -0500 |
commit | e8f536fdea54484d294ff80b53272e989be737bd (patch) | |
tree | 0ea45e675a3a6a4baf8dfeef31f5c19e9f879750 | |
parent | 0e90e4f442b2eb2ae9f57db49b829ab7b967890c (diff) |
edits
-rw-r--r-- | src/Lib.hs | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -108,7 +108,7 @@ data Order = Less | Greater deriving (Eq, Show) newtype Decisions = Decisions [Order] deriving (Eq, Show) newtype Version = Version B.Word8 deriving (Eq, Show, FromHttpApiData, Generic, Num) newtype Seed = Seed B.Word16 deriving (Eq, Show, FromHttpApiData, Generic, Num, R.Random) --- TODO fml use bitvec pkg +-- TODO use bitvec pkg instance B.Binary Decisions where get = do c <- fromIntegral <$> B.getWord8 @@ -300,7 +300,6 @@ playURI mediumTags periods level gameState = "/" <> toUrlPiece (safeLink api (Pr gameCrumbs :: Monad m => [MediumTag] -> [T.Text] -> [Period] -> Level -> [HtmlT m ()] gameCrumbs _ labels periods level = [ span_ $ toHtmlRaw $ T.intercalate " · " labels - -- TODO , span_ $ toHtmlRaw $ T.intercalate " · " (renderPeriod <$> periods) , span_ $ toHtml . tshow $ level ] |