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
| module Main where | |
| import Data.Time | |
| import Data.Time.Clock | |
| import Data.Time.Format | |
| import Data.Time.Calendar | |
| import Data.Maybe | |
| import System.Environment | |
| import Text.ParserCombinators.ReadP | |
| import Data.Char |
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 RankNTypes #-} | |
| {-# LANGUAGE RebindableSyntax #-} | |
| {-# LANGUAGE OverloadedStrings #-} | |
| {-# OPTIONS_GHC -Wall #-} | |
| module Scott where | |
| import qualified Prelude as Builtin | |
| import qualified Data.Char as Builtin | |
| import GHC.Num (Num(fromInteger, (-), (+))) |
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
| module Main | |
| ( main | |
| ) where | |
| import Control.Arrow ((&&&)) | |
| import Control.Monad.Trans.State (StateT(StateT), evalStateT) | |
| import Data.List (uncons, unfoldr) | |
| import Data.Maybe (fromMaybe, listToMaybe) | |
| import System.Environment (getArgs) |
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 DeriveFoldable #-} | |
| module Main where | |
| import Data.Map (Map) | |
| import qualified Data.Map as Map | |
| import Data.Foldable | |
| data Object a | |
| = Value a |
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 InstanceSigs #-} | |
| {-# LANGUAGE NoImplicitPrelude #-} | |
| {-# LANGUAGE RankNTypes #-} | |
| module Main where | |
| import Control.Applicative (Applicative(..)) | |
| import Data.Bool (Bool(False, True), not) | |
| import Data.Char (toUpper) | |
| import Data.Function (($), (&), (.), const, flip) |
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
| dist |
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
| module Main where | |
| import Data.Functor (void) | |
| import Control.Applicative ((<|>), empty, many, some, optional) | |
| import Control.Monad (msum, replicateM) | |
| import Control.Monad.State (StateT(runStateT)) | |
| import Control.Monad.State.Class (get, put) | |
| import Data.Char (isHexDigit, chr, isDigit, isSpace) | |
| import Data.Map (Map) | |
| import Data.Maybe (listToMaybe, fromMaybe) |
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
| module Main where | |
| import Data.Bool (bool) | |
| import Control.Monad ((<=<)) | |
| import Control.Monad.State (State, evalState, get, put) | |
| import Data.Char (isSpace) | |
| import Data.Foldable (traverse_) | |
| import Data.Functor.Compose (Compose(Compose, getCompose)) | |
| import Data.Functor.Const (Const(Const, getConst)) | |
| import Data.Functor.Product (Product(Pair)) |
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 DataKinds #-} | |
| {-# LANGUAGE GADTs #-} | |
| {-# LANGUAGE KindSignatures #-} | |
| {-# LANGUAGE RankNTypes #-} | |
| {-# LANGUAGE ScopedTypeVariables #-} | |
| {-# LANGUAGE ExplicitNamespaces #-} | |
| {-# LANGUAGE TypeOperators #-} | |
| module Data.Text.Sized | |
| ( 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 KindSignatures #-} | |
| {-# LANGUAGE NoImplicitPrelude #-} | |
| {-# LANGUAGE ScopedTypeVariables #-} | |
| module Data.Constrained | |
| ( Constrained(unconstrained) | |
| , constrain | |
| ) where | |
| import Data.Bool ((&&), otherwise) |