Skip to content

Commit

Permalink
warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
glguy committed Jan 4, 2024
1 parent d97b597 commit ae2c9ae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions solutions/src/2017/16.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# Language QuasiQuotes, DataKinds, NumDecimals, ScopedTypeVariables, OverloadedStrings #-}
{-# Language QuasiQuotes, DataKinds, NumDecimals #-}
{-|
Module : Main
Description : Day 16 solution
Expand All @@ -25,9 +25,9 @@ composition.
-}
module Main where

import Advent.Format ( format )
import Advent.Format (format)
import Advent.Permutation (Permutation, rotateRight, runPermutation, swap)
import Data.Semigroup (Semigroup, (<>), Dual(..), sconcat, stimes)
import Data.Semigroup (Dual(..), stimes)
import Data.Char (chr, ord)
import GHC.TypeLits (KnownNat)

Expand All @@ -46,7 +46,7 @@ main =
let dance = foldMap toDance input :: Dance 16

putStrLn (runDance dance)
putStrLn (runDance (stimes 1e9 dance))
putStrLn (runDance (stimes (1e9 :: Int) dance))

-- | Map the numbers starting at @0@ to the letters starting at @a@.
--
Expand Down

0 comments on commit ae2c9ae

Please sign in to comment.