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