Exemple #1
0
 def list(cls):
     rows = dblist(prices_table)
     yield rows
     yield Just ( rows >> (lambda pl:  [Price(r) for r in pl]) )
Exemple #2
0
 def list(cls):
     rows = dblist(offers_table)
     yield rows
     yield Just ( rows >> (lambda ol:  [Offer(r) for r in ol]) )