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
- aeson | |
- aeson-casing | |
- aeson-iproute | |
- aeson-pretty | |
- aeson-typescript | |
- amazonka | |
- amazonka-core | |
- amazonka-s3 | |
- amazonka-sqs | |
- async |
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 * as P from 'parsimmon' | |
import Day from '~/utils/Day' | |
import Month from '~/utils/Month' | |
const shortMonths = { | |
jan: 1, | |
feb: 2, | |
mar: 3, | |
apr: 4, | |
may: 5, |
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
❄️ ✔︎ ~/D/M/h/mercury-web-backend> cabal build 15:31:54 | |
Warning: The package list for 'hackage.haskell.org' does not exist. Run 'cabal | |
update' to download it. | |
Resolving dependencies... | |
Configuring mercury-web-backend-0.0.0... | |
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument] | |
Preprocessing library for mercury-web-backend-0.0.0.. | |
Building library for mercury-web-backend-0.0.0.. | |
[ 1 of 141] Compiling AWS.Types ( src/AWS/Types.hs, dist/build/AWS/Types.o ) | |
stgEqType: unequal |
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
[ | |
"qwertyuiop", | |
"1234567890", | |
"q1w2e3r4t5", | |
"1q2w3e4r5t", | |
"4815162342", | |
"0987654321", | |
"12345qwert", | |
"123456789a", | |
"1234554321", |
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
derivePostgresEnum :: String -> String -> Q [Dec] | |
derivePostgresEnum s postgresType = do | |
ss <- [|SqlOther (pack postgresType)|] | |
tpv <- [|PersistText . pack . show|] | |
fpv <- [|\dt v -> | |
case fromPersistValue v of | |
Left e -> Left e | |
Right s' -> | |
case reads $ unpack s' of | |
(x, _):_ -> Right x |
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
maximiliantagher@Maximilians-MBP ~/D/M/mercury-web> git diff yarn.lock | |
diff --git a/yarn.lock b/yarn.lock | |
index 441ccf1..b1df352 100644 | |
--- a/yarn.lock | |
+++ b/yarn.lock | |
@@ -188,13 +188,14 @@ | |
version "6.0.90" | |
resolved "https://registry.yarnpkg.com/@types/node/-/node-6.0.90.tgz#0ed74833fa1b73dcdb9409dcb1c97ec0a8b13b02" | |
-"@types/qrcode-generator@^0.0.16": |
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
cabal: Entering directory '/var/folders/v7/5k06hq7d3wbb4cvk8smv6kl00000gn/T/cabal-tmp-26452/HsOpenSSL-0.11.4.11' | |
[1 of 1] Compiling Main ( /var/folders/v7/5k06hq7d3wbb4cvk8smv6kl00000gn/T/cabal-tmp-26452/HsOpenSSL-0.11.4.11/dist/setup/setup.hs, /var/folders/v7/5k06hq7d3wbb4cvk8smv6kl00000gn/T/cabal-tmp-26452/HsOpenSSL-0.11.4.11/dist/setup/Main.o ) | |
Linking /var/folders/v7/5k06hq7d3wbb4cvk8smv6kl00000gn/T/cabal-tmp-26452/HsOpenSSL-0.11.4.11/dist/setup/setup ... | |
Configuring HsOpenSSL-0.11.4.11... | |
Flags chosen: macports-openssl=False, homebrew-openssl=False, fast-bignum=True | |
Dependency base ==4.10.0.0: using base-4.10.0.0 | |
Dependency bytestring ==0.10.8.2: using bytestring-0.10.8.2 | |
Dependency integer-gmp ==1.0.1.0: using integer-gmp-1.0.1.0 | |
Dependency network ==2.6.3.2: using network-2.6.3.2 | |
Dependency time ==1.8.0.2: using time-1.8.0.2 |
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
maximiliantagher@Maximilians-MacBook-Pro ~> cabal install HsOpenSSL --verbose | |
/usr/local/bin/alex --version | |
/usr/bin/gcc -dumpversion | |
looking for tool haddock near compiler in /usr/local/bin | |
found haddock in /usr/local/bin/haddock | |
/usr/local/bin/haddock --version | |
/usr/local/bin/happy --version | |
looking for tool hpc near compiler in /usr/local/bin | |
found hpc in /usr/local/bin/hpc | |
/usr/local/bin/hpc version |
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
maximiliantagher@Maximilians-MacBook-Pro ~/D/M/h/mercury-web-backend> stack build --cabal-verbose | |
HsOpenSSL-0.11.4.11: configure | |
Progress: 1/2 | |
-- While building custom Setup.hs for package HsOpenSSL-0.11.4.11 using: | |
/private/var/folders/v7/5k06hq7d3wbb4cvk8smv6kl00000gn/T/stack23703/HsOpenSSL-0.11.4.11/.stack-work/dist/x86_64-osx/Cabal-1.24.2.0/setup/setup --verbose --builddir=.stack-work/dist/x86_64-osx/Cabal-1.24.2.0 configure --with-ghc=/Users/maximiliantagher/.stack/programs/x86_64-osx/ghc-8.0.2/bin/ghc --with-ghc-pkg=/Users/maximiliantagher/.stack/programs/x86_64-osx/ghc-8.0.2/bin/ghc-pkg --user --package-db=clear --package-db=global --package-db=/Users/maximiliantagher/.stack/snapshots/x86_64-osx/lts-9.14/8.0.2/pkgdb --libdir=/Users/maximiliantagher/.stack/snapshots/x86_64-osx/lts-9.14/8.0.2/lib --bindir=/Users/maximiliantagher/.stack/snapshots/x86_64-osx/lts-9.14/8.0.2/bin --datadir=/Users/maximiliantagher/.stack/snapshots/x86_64-osx/lts-9.14/8.0.2/share --libexecdir=/Users/maximiliantagher/.sta |
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
maximiliantagher@Maximilians-MacBook-Pro ~/D/M/h/mercury-web-backend> stack build --verbose --cabal-verbose | |
Version 1.6.0.20171202, Git revision 50090e67c16980bba31349f386d5b018cbcaec31 (5421 commits) x86_64 hpack-0.20.0 | |
2018-01-24 08:02:16.092437: [debug] Checking for project config at: /Users/maximiliantagher/Documents/Mercury/hs/mercury-web-backend/stack.yaml | |
@(Stack/Config.hs:842:9) | |
2018-01-24 08:02:16.096729: [debug] Loading project config file stack.yaml | |
@(Stack/Config.hs:868:13) | |
2018-01-24 08:02:16.098805: [debug] Decoding build plan from: /Users/maximiliantagher/.stack/build-plan/lts-9.14.yaml | |
@(Stack/Snapshot.hs:150:5) | |
2018-01-24 08:02:16.098903: [debug] Trying to decode /Users/maximiliantagher/.stack/build-plan-cache/lts-9.14.cache | |
@(Data/Store/VersionTagged.hs:66:5) |