paint-brush
Spock II: Databases and Sessions!by@james_32022
270 reads

Spock II: Databases and Sessions!

by James Bowen7mAugust 18th, 2018
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

<a href="https://www.mmhaskell.com/blog/2018/9/17/simple-web-routing-with-spock" target="_blank">Last week</a> we learned the basics of the the <a href="https://www.spock.li/" target="_blank">Spock library</a>. We saw how to set up some simple routes. Like Servant, there’s a bit of dependent-type machinery with routing. But we didn’t need to learn any complex operators. We just needed to match up the number of arguments to our routes. We also saw how to use an application state to persist some data between requests.

Company Mentioned

Mention Thumbnail

Coin Mentioned

Mention Thumbnail
featured image - Spock II: Databases and Sessions!
James Bowen HackerNoon profile picture
James Bowen

James Bowen

@james_32022

L O A D I N G
. . . comments & more!

About Author

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Bitcoininsider