agrafix / Spock

Another Haskell web framework for rapid development
https://www.spock.li
678 stars 56 forks source link

Couldn't match type ‘BaseBackend ()’ with ‘SqlBackend’ in Building a REST API Tutorial #127

Closed pulcheri closed 7 years ago

pulcheri commented 7 years ago

Tutorial https://www.spock.li/tutorials/rest-api does not compile due to the following error: • Couldn't match type ‘BaseBackend ()’ with ‘SqlBackend’ arising from a use of ‘createSqlitePool’

agrafix commented 7 years ago

@brynedwards could you take a look?

brynedwards commented 7 years ago

Complete code examples are here, all of which compile. If you include your code I could have a look at it, or you could compare your code with the examples.

pulcheri commented 7 years ago

My bad. Samples work perfectly. Many thanks!