prowdsponsor / esqueleto

Bare bones, type-safe EDSL for SQL queries on persistent backends.
http://hackage.haskell.org/package/esqueleto
BSD 3-Clause "New" or "Revised" License
178 stars 51 forks source link

Improve operator names #2

Closed meteficha closed 9 years ago

meteficha commented 12 years ago

http://blog.felipe.lessa.nom.br/?p=68#comment-125

It's going to be hard to avoid clashing with ==, but we could at least choose something different for ^. and ?.. Perhaps ! and ?!?

singpolyma commented 12 years ago

prefix/suffix with . is fairly standard EDSL practise in Haskell, no?

meteficha commented 12 years ago

Yep, it is. We could use the Awesome Prelude but I prefer to avoid a dependency on a different Prelude =).

However, the ^. is needlessly hard to type, so I'm thinking about changing just this operator (and ?.) to something easier to type.

meteficha commented 9 years ago

Short of using a quasiquoter, I don't think that using different operators would improve the readability much. Closing this issue.