repo.or.cz
/
rootstock.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Check that multiUpdate affects linkValueSquared uniformly
[rootstock.git]
/
Fund.hs
blob
1ea446036ff078ac0c19a85beaf2a0557491463f
1
{-# LANGUAGE TemplateHaskell #-}
2
module
Fund
where
3
import
Data
.
Text
(
Text
)
4
import
Database
.
Persist
.
TH
(
derivePersistField
)
5
6
data
IOULine
=
IOULine
7
{
peerAccount
::
Text
8
,
lineCurrency
::
Text
9
}
10
deriving
(
Show
,
Eq
,
Read
)
11
12
data
Fund
13
=
XRP
14
| IOUFund IOULine
15
deriving
(
Eq
,
Read
,
Show
)
16
derivePersistField
"Fund"
17
18