Strange Confluence: An Immutable Queue in F#

Jomo Fisher–Reading one of my favorite blogs this morning–Eric Lippert’s Fabulous Adventures in Coding–I came across his article on implementing an immutable queue in C#. The funny thing is that just yesterday I wrote exactly the same structure in F#. Here it is for your reading pleasure:     type Fifo<‘a> =         new()={xs=[];rxs=[]}         new(xs,rxs)={xs=xs;rxs=rxs}…

3