My learning patterns

In the last days I stumbled upon some articles about how to improve, be more productive, etc. Usually you can separate this kind of articles in two categories: the articles that talk about non work-related activities you must do if you want to increase your productivity. Eat the right food, sleep the right amount of time, do exercise, etc. the articles that talk about work-related activities. Go to meetups, read, do pet projects, etc.

Sending forms with Suave, Suave.DotLiquid and Suave.Forms

In the previous article we saw how to send forms using Suave.Experimental as view engine. In this article we’re going to use Suave.DotLiquid as view engine. We’ll see how we’re going to be able to reuse most of the work done previously. Suave.DotLiquid DotLiquid is a port of the Ruby template engine Liquid. Suave is able to use this library thanks to the pakage Suave.DotLiquid. So, the first thing we need to do is install these packages in our project.

Sending forms with Suave, Suave.Experimental and Suave.Forms

Sending data to a web server is a very common task when developing a website. From registering a new user to filling some personal details in a web commerce application, we usually have to deal with filling a form and send its data to the web server. In this series of articles, we are going to see how to send data using different view engines. Suave.Experimental Experimental is a component available via NuGet that allows us to write the views using F# code.

Sequences in F#

A sequence is a list of potential values (all of them of the same type) computed on demand. Sequence creation As with arrays there are several ways to create a sequence. Create from a range expression You can create a new sequence from a range expression. In this case, instead of using [| and |] you should use { and } 1 let numbers = {1..20} Create from a sequence expression