Created
August 7, 2020 16:04
-
-
Save jship/a9ae087440659c9d7aa3228a664608d7 to your computer and use it in GitHub Desktop.
This script helps ensure my writing is precise and free of today's popular shorthand
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env stack | |
-- stack --resolver lts-15.6 script --package text | |
{-# LANGUAGE NoImplicitPrelude #-} | |
{-# LANGUAGE OverloadedStrings #-} | |
import Data.Text (Text) | |
import Prelude | |
import qualified Data.Text as Text | |
import qualified Data.Text.IO as Text.IO | |
main :: IO () | |
main = do | |
transluberneted <- do | |
fmap (Text.intercalate "ubernete" . Text.splitOn "8") $ Text.IO.getContents | |
Text.IO.putStr transluberneted |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment