AtnNn / haskell-rethinkdb

RethinkDB client library for Haskell
Other
93 stars 11 forks source link

Easy way to use Text value as parameter to get? #46

Closed seanhess closed 9 years ago

seanhess commented 9 years ago

get's type is:

get :: Expr s => ReQL -> s -> ReQL

Is there a way to get it to work with a text value as the first parameter? Right now I have to:

run h $ table "test" # get (str # unpack id)

seanhess commented 9 years ago

expr id