
9 Dec
2014
9 Dec
'14
6:18 p.m.
Hello, Interesting, thank you! Can your library handle optional parameters? I guess, not right now but can be done, right? At first glance I thought the :> operator had something to do with subtyping.How about defining the operators somehow like this: type UserAPI = "users" > "search" > QueryParam "q" Text <,> QueryParam "n" Word64 ::: Get [User] In addition to more visual resemblance to http, you could probably enforce more type safety this way, too. -- Kind regards, Wojtek Narczynski