Skip to content

Commit

Permalink
Merge pull request #5 from turion/dev_text
Browse files Browse the repository at this point in the history
Use text everywhere instead of String
  • Loading branch information
turion authored Jan 9, 2024
2 parents b048084 + a1f9dd3 commit 2c058b6
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions koans/basic/1-hello-rhine/Koan.hs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ such that it outputs the message "Hello Rhine!" every second?
-}
module Koan where

-- base
import Prelude hiding (putStrLn)

-- text
import Data.Text.IO (putStrLn)

-- rhine
import FRP.Rhine

Expand Down
6 changes: 6 additions & 0 deletions koans/basic/2-fix-the-bug/Koan.hs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ Can you spot it and fix it?
-}
module Koan where

-- base
import Prelude hiding (putStrLn)

-- text
import Data.Text.IO (putStrLn)

-- rhine
import FRP.Rhine

Expand Down
6 changes: 6 additions & 0 deletions koans/basic/3-faster/Koan.hs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ Now, can you output the message "Hello Rhine!" _ten times_ per second?
-}
module Koan where

-- base
import Prelude hiding (putStrLn)

-- text
import Data.Text.IO (putStrLn)

-- rhine
import FRP.Rhine

Expand Down

0 comments on commit 2c058b6

Please sign in to comment.