Merge branch 'stackify'
[?]
Mar 4, 2016, 4:40 AM
M4KM76DGO77VC4O6N5FFA5MTZH5GI5AJ3OUJU7INLAOY2M3LRLLACDependencies
- [2]
KEP5WUFJConvert project to stack-based build. - [3]
EKY7U7SKFinish conversion to stack. - [4]
64C6AWH6Rename Ananke -> Quixotic, project reboot. - [5]
5W5M56VJMove library code to 'lib' - [6]
MWUPXTBFA few steps down a road to be abandoned. - [7]
OBFPJS2GProject successfully builds and tests under nix. - [8]
RPAJLHMTChange to use UUIDs instead of ints for primary keys. - [9]
4U7F3CPITHE GREAT RENAMING OF THINGS! - [10]
PBD7LZYQPostgres & auth are beginning to function. - [11]
ADMKQQGCInitial empty Snap project. - [12]
RSEB2NFGReplacing Snap with Scotty. - [13]
EPOYLP7OA little .gitignore cleanup. - [14]
RB2ETNIFAdd skeletal PureScript client project. - [15]
AXKKXBWNInitial attempt at writing down my ideas for a company based on trust. - [16]
EQXRXRZDChanged to use tasty instead of test-framework - [17]
IZEVQF62Work in progress replacing sqlite with postgres. - [18]
PGZJ736CUpdate aftok.cfg.example and revise INSTALL instructions - [19]
QMRKFEPGRefactor QDB to use a free monad algebra instead. - [20]
NTPC7KJETrivial changes, feature scratchpad. - [21]
2XQD6KKKAdd invitation logic and clean up DBProg error handling. - [22]
2Y2QZFVFSwitch to more modern cabal2nix-based workflow. - [23]
45AI46JNMove readme to inception.md - [24]
NVOCQVASInitial failing tests. - [25]
TLQ72DSJLenses, sqlite-simple - [26]
QO4NFWIYAdded sample config file. - [27]
373LXH2XAdd MAYBE.md, update task list. - [28]
4ZLEDBK7Initial attempts at dockerizing, cabal isn't cooperating. - [29]
7KZP4RHZSwitch from Data.Time to Data.Thyme - [30]
T44T2PDLRename trust.txt to README.md - [31]
EZQG2APBUpdate task list. - [32]
45QJYWN3Fixing up the README. Still struggling with the ending. - [33]
WO2MINIFAuctions now compile! - [34]
A6HKMINBAttempting to improve JSON handling. - [35]
E2KOBKIJAdd setup script detailing the setup of the docker host. - [36]
IRG4KNAETrivial deletion. - [37]
7HPY3QPFFix linting errors. (yay hlint!) - [38]
ZP62WC47Begin conversion to build with stack. - [39]
LAROLAYUWIP - [40]
GCVQD44VCreate amends endpoint, switch to UUID primary keys - [41]
TNR3TEHKSwitch to Postgres + snaplet arch compiles. - [42]
DLZRD7VBAdd a preliminary, probably somewhat broken set of setup instructions. - [43]
75N3UJ4JMore progression toward lenses.
Change contents
- file deletion: stack.yaml
flags: {}packages:- '.'extra-deps:- snaplet-postgresql-simple-0.6.0.4- resource-pool-catchio-0.2.1.0resolver: lts-5.3#allow-newer: true - file deletion: Types.hs
{-# LANGUAGE GeneralizedNewtypeDeriving #-}module Aftok.Types whereimport Data.Wordimport ClassyPreludederiving (Show, Eq, Ord, Num, Real, Bounded)newtype Satoshi = Satoshi { fromSatoshi :: Word64 } - edit in lib/Aftok/Database/PostgreSQL.hs at line 24
import Aftok.Types - edit in lib/Aftok/Database/PostgreSQL.hs at line 72
btcParser :: FieldParser SatoshibtcParser f v = (Satoshi . fromInteger) <$> fromField f v - resurrect zombie in lib/Aftok/Database/PostgreSQL.hs at line 72
btcParser :: FieldParser SatoshibtcParser f v = (Satoshi . fromInteger) <$> fromField f v - edit in lib/Aftok/Database/PostgreSQL.hs at line 87
<*> fieldWith uidParser<*> logEntryParser - edit in lib/Aftok/Database/PostgreSQL.hs at line 93
Auction <$> fieldWith btcParser - resolve order conflict in lib/Aftok/Database/PostgreSQL.hs at line 93
- edit in lib/Aftok/Database/PostgreSQL.hs at line 214
(pid ^. _ProjectId, auc ^. (raiseAmount.to fromSatoshi), auc ^. (auctionEnd.to fromThyme)) - edit in lib/Aftok/Database/PostgreSQL.hs at line 229
, bid ^. (bidAmount.to fromSatoshi) - resolve order conflict in lib/Aftok/Database/PostgreSQL.hs at line 229
- edit in lib/Aftok/Auction.hs at line 13
import Aftok.Types - resolve order conflict in lib/Aftok/Auction.hs at line 13
- edit in lib/Aftok/Auction.hs at line 18
{ _raiseAmount :: Satoshi - edit in lib/Aftok/Auction.hs at line 29
, _bidAmount :: Satoshi - edit in lib/Aftok/Auction.hs at line 45
let takeWinningBids :: Satoshi -> [Bid] -> [Bid] - edit in lib/Aftok/Auction.hs at line 55
winFraction = toRational remainder / toRational (x ^. bidAmount) - resolve order conflict in lib/Aftok/Auction.hs at line 55
- edit in aftok.cabal at line 37
, aeson == 0.9.*, attoparsec == 0.13.* - resolve order conflict in aftok.cabal at line 37
- edit in aftok.cabal at line 44
, errors == 2.1.* - edit in aftok.cabal at line 53
, lens >= 4.11--, network-bitcoin >= 1.8 && < 1.9 - resolve order conflict in aftok.cabal at line 53
- edit in aftok.cabal at line 54
, postgresql-simple == 0.5.* - edit in .gitignore at line 4
.stack-work