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
{-# LANGUAGE DeriveGeneric #-} | |
{-# LANGUAGE DerivingVia #-} | |
{-# LANGUAGE FlexibleContexts #-} | |
{-# LANGUAGE FlexibleInstances #-} | |
{-# LANGUAGE MultiParamTypeClasses #-} | |
{-# LANGUAGE ScopedTypeVariables #-} | |
{-# LANGUAGE StandaloneDeriving #-} | |
{-# LANGUAGE TypeOperators #-} | |
{-# LANGUAGE UndecidableInstances #-} |
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 cabal | |
{- cabal: | |
build-depends: | |
base, | |
bytestring, | |
entropy, | |
tasty-bench, | |
time, | |
uuid, | |
ghc-options: |
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
module HW_Answer where | |
import qualified Data.Text as Text | |
import qualified Data.Vector as Vector | |
import qualified HW_Other as Other | |
data Answer | |
= Single (Vector.Vector Text.Text) | |
| Multi Other.Other (Vector.Vector Text.Text) | |
| Extension (Vector.Vector Text.Text) |
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
Show hidden characters
{ | |
"customizations": { | |
"vscode": { | |
"extensions": [ | |
"haskell.haskell" | |
] | |
} | |
}, | |
"dockerComposeFile": "compose.yaml", | |
"service": "devcontainer", |
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
module DisableWarnings where | |
import qualified Data.List as List | |
import qualified GHC.Data.Bag as Bag | |
import qualified GHC.Data.IOEnv as IOEnv | |
import qualified GHC.Plugins as Plugins | |
import qualified GHC.Tc.Types as Tc | |
import qualified GHC.Types.Error as Error | |
plugin :: Plugins.Plugin |
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 sh | |
set -o errexit | |
# https://github.com/haskell-servant/servant/issues/986 | |
############################################################################### | |
# Print out various system information. | |
date | |
lsb_release --all |
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
module HW_Answer where | |
import qualified Data.Text as Text | |
import qualified Data.Vector as Vector | |
import qualified HW_Other as Other | |
data Answer | |
= Single (Vector.Vector Text.Text) | |
| Multi Other.Other (Vector.Vector Text.Text) | |
| Extension (Vector.Vector Text.Text) |
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
{-# language DataKinds #-} | |
{-# language DerivingStrategies #-} | |
{-# language EmptyDataDecls #-} | |
{-# language FlexibleInstances #-} | |
{-# language GADTs #-} | |
{-# language GeneralizedNewtypeDeriving #-} | |
{-# language MultiParamTypeClasses #-} | |
{-# language OverloadedStrings #-} | |
{-# language QuasiQuotes #-} | |
{-# language StandaloneDeriving #-} |
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
import qualified Control.DeepSeq as DeepSeq | |
import qualified Control.Exception as Exception | |
import qualified Data.HashMap.Strict as HashMap | |
import qualified Data.HashMap.Strict.InsOrd as InsOrd | |
import qualified Data.Map.Lazy as Map.Lazy | |
import qualified Data.Map.Strict as Map.Strict | |
import qualified Data.Text as Text | |
import qualified Data.Vector as Vector | |
import qualified Gauge | |
import qualified Z.Data.Vector as ZVector |
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
-- https://downloads.haskell.org/~ghc/9.0.1/docs/html/users_guide/extending_ghc.html#compiler-plugins | |
-- https://downloads.haskell.org/~ghc/9.0.1/docs/html/libraries/ghc-9.0.1/GHC-Plugins.html | |
module DerivingViaPlugin where | |
import qualified Control.Monad as Monad | |
import qualified GHC.Data.Bag as G | |
import qualified GHC.Hs as G | |
import qualified GHC.Plugins as P | |
import qualified GHC.Types.Basic as G |
NewerOlder