This file contains hidden or 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
| {-# LANGUAGE OverloadedStrings #-} | |
| module Squiglies (squiglies) where | |
| import Data.Map.Strict (Map, fromList) | |
| import Data.Text (Text) | |
| squiglies :: Map Char Text | |
| squiglies = fromList | |
| [ |
This file contains hidden or 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
| {-# LANGUAGE OverloadedStrings #-} | |
| {-# LANGUAGE BangPatterns #-} | |
| module Main where | |
| import qualified System.Console.Terminal.Size as Term (size,width,height) | |
| import Data.Maybe (fromMaybe) | |
| import Data.Vector (Vector,(!)) | |
| import qualified Data.Vector as V | |
| import Data.Text (Text) |
This file contains hidden or 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
| {-# LANGUAGE OverloadedLists #-} | |
| {-# LANGUAGE BangPatterns #-} | |
| module Main where | |
| import System.Environment (getArgs) | |
| import Text.Read (readMaybe) | |
| import Control.Monad (when,unless) | |
| import Data.Maybe (isNothing,fromJust,fromMaybe) | |
| import Data.Complex |
OlderNewer