on dev help sign in
Update RELEASE NOTES.md

code block

commite98a73f2b93947a1c6b333653ee657c256b9a233 authorEitan Chatav <eitan.chatav@gmail.com> dateMon 25 Jun 2018, 10:44 (8 years ago) parent0d779f5
1 file changed+2
RELEASE NOTES.md+2
RELEASE NOTES.md+2
@@ -115,6 +115,7 @@ CREATE TYPE "schwarma" AS ENUM ('Beef', 'Lamb', 'Chicken');
115115You can express values of an enum type using `label`, which is an overloaded method
116116of the `IsPGlabel` typeclass.
117117
118+```Haskell
118119>>> :{
119120let
120121 expression :: Expression sch rels grp params ('NotNull (EnumFrom Schwarma))
@@ -122,6 +123,7 @@ let
122123in printSQL expression
123124:}
124125'Chicken'
126+```
125127
126128**Composite Types**
127129